The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Emitter, reference v1.0.0 (5480d5), with Swift 6.1 for Linux on 27 Apr 2025 15:35:31 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GoodHatsLLC/Emitter.git
Reference: v1.0.0
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
 * 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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GoodHatsLLC/Emitter.git
https://github.com/GoodHatsLLC/Emitter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/GoodHatsLLC/Disposable.git
[1/274] Fetching disposable
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.86s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (1.42s)
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 DisposableBuilder.swift
[5/14] Compiling Disposable Task.swift
[6/14] Emitting module Disposable
[7/14] Compiling Disposable TaskExtensions.swift
[8/14] Compiling Disposable ConvenienceStages.swift
[9/14] Compiling Disposable AutoDisposable.swift
[10/14] Compiling Disposable CombineExtensions.swift
[11/14] Compiling Disposable DisposableStage.swift
[12/14] Compiling Disposable Disposable.swift
[13/14] Compiling Disposable ErasedDisposable.swift
[14/14] Compiling Disposable Locked.swift
[16/58] Compiling Emitter AsyncToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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/58] Compiling Emitter CombineToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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/58] Compiling Emitter EmitterToAsyncBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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/58] Compiling Emitter EmitterToCombineBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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/58] Compiling Emitter SequenceToEmitterBridge.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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: {
[21/58] Compiling Emitter AnyEmitter.swift
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/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 |
/host/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: {
[22/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 |   }
[23/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 |   }
[24/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 |   }
[25/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 |   }
[26/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 |   }
[27/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 |   }
[28/64] Emitting module Emitter
/host/spi-builder-workspace/Sources/Emitter/Bridging/AsyncToEmitterBridge.swift:4:34: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 2 | extension Emitters {
 3 |   public static func bridge<Seq: AsyncSequence>(_ sequence: Seq)
 4 |     -> some Emitter<Seq.Element, Error>
   |                                  `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 5 |   {
 6 |     AsyncToEmitterBridge(sequence)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
55 |
56 |     // MARK: Private
[29/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[30/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[31/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[32/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[33/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[34/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 result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; this is an error in the Swift 6 language mode
52 |     // MARK: Internal
53 |
54 |     let asyncValue = AsyncValue<Upstream.Output?>()
   |                                                 `- warning: non-sendable result type 'AsyncValue<Upstream.Output?>' cannot be sent from actor-isolated context in call to initializer 'init()'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?>' cannot be sent into actor-isolated context in call to property 'value'; 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?' of property 'value' cannot exit actor-isolated context; 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?' of property 'value' cannot exit actor-isolated context; 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: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)
/host/spi-builder-workspace/Sources/Emitter/Subscribers/FirstValue.swift:43:30: warning: sending value of non-Sendable type 'Upstream.Output' 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 value of non-Sendable type 'Upstream.Output' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type 'Upstream.Output' to actor-isolated instance method 'resolve(to:)' risks causing races in between task-isolated and actor-isolated uses
44 |           default:
45 |             await asyncValue.resolve(to: nil)
/host/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)
/host/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 |         }
[35/64] Compiling Emitter First.swift
[36/64] Compiling Emitter FlatMapLatest.swift
[37/64] Compiling Emitter Map.swift
[38/64] Compiling Emitter MapFailure.swift
[39/64] Compiling Emitter MergeThree.swift
[40/64] Compiling Emitter MergeTwo.swift
[41/64] Compiling Emitter Subscribe.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[42/64] Compiling Emitter SubscribeMain.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[43/64] Compiling Emitter Subscription.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[44/64] Compiling Emitter TransformProxy.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[45/64] Compiling Emitter AsyncValue.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[46/64] Compiling Emitter Locked.swift
/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:39:14: warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
37 |   fileprivate func receive(emission: Emission<Output, Failure>) {
38 |     Task { @MainActor in
39 |       switch emission {
   |              |- warning: sending 'emission' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: task-isolated 'emission' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 |       case .value(let value):
41 |         valueFunc(value)
[47/64] Compiling Emitter UnionTwo.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[48/64] Compiling Emitter WithFailureType.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[49/64] Compiling Emitter WithPrefix.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[50/64] Compiling Emitter WithSuffix.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[51/64] Compiling Emitter Create.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[52/64] Compiling Emitter FailureEmitter.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionTwo.swift:12:55: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 10 |   public func union<UpstreamB: Emitter>(
 11 |     _ otherB: UpstreamB
 12 |   ) -> some Emitter<Union2<Output, UpstreamB.Output>, Error> {
    |                                                       `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 13 |     Emitters
 14 |       .UnionTwo(upstreamA: self, upstreamB: otherB)
[53/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[54/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[55/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[56/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[57/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[58/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
/host/spi-builder-workspace/Sources/Emitter/Operators/TryMap.swift:6:40: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 4 |   public func map<TransformedOutput>(
 5 |     _ transformer: @escaping @Sendable (Output) throws -> TransformedOutput
 6 |   ) -> some Emitter<TransformedOutput, Error> {
   |                                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 7 |     Emitters.TryMap(upstream: self, transformer: transformer)
 8 |   }
/host/spi-builder-workspace/Sources/Emitter/Operators/UnionThree.swift:18:73: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 16 |     _ otherB: UpstreamB,
 17 |     _ otherC: UpstreamC
 18 |   ) -> some Emitter<Union3<Output, UpstreamB.Output, UpstreamC.Output>, Error> {
    |                                                                         `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 19 |     Emitters
 20 |       .UnionThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
[59/64] Compiling Emitter Union.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
[60/64] Compiling Emitter CombineLatestThree.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
[61/64] Compiling Emitter CombineLatestTwo.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
[62/64] Compiling Emitter CompactMap.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
[63/64] Compiling Emitter Dedupe.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
[64/64] Compiling Emitter Filter.swift
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestThree.swift:25:67: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 23 |     _ otherB: UpstreamB,
 24 |     _ otherC: UpstreamC
 25 |   ) -> some Emitter<(Output, UpstreamB.Output, UpstreamC.Output), Error> {
    |                                                                   `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 26 |     Emitters
 27 |       .CombineLatestThree(upstreamA: self, upstreamB: otherB, upstreamC: otherC)
/host/spi-builder-workspace/Sources/Emitter/Operators/CombineLatestTwo.swift:20:49: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 18 |   public func combineLatest<UpstreamB: Emitter>(
 19 |     _ otherB: UpstreamB
 20 |   ) -> some Emitter<(Output, UpstreamB.Output), Error> {
    |                                                 `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
 21 |     Emitters
 22 |       .CombineLatestTwo(upstreamA: self, upstreamB: otherB)
/host/spi-builder-workspace/Sources/Emitter/Operators/CompactMap.swift:19:24: warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
17 |   public func compactMap<T>(
18 |     _ transformer: @escaping @Sendable (Output) throws -> T?
19 |   ) -> some Emitter<T, Error> {
   |                        `- warning: use of protocol 'Error' as a type must be written 'any Error'; this will be an error in a future Swift language mode
20 |     map(transformer)
21 |       .compact()
/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 | }
Build complete! (11.08s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.