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 AsyncExtensions, reference main (735748), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:44:44 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/AsyncExtensions.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/AsyncExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 735748a Conform AnyAsyncSequence to Sendable
Cloned https://github.com/sideeffect-io/AsyncExtensions.git
Revision (git rev-parse @):
735748a3ffb7ec880aa252e1c38ec0a65929cb87
SUCCESS checkout https://github.com/sideeffect-io/AsyncExtensions.git at main
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.3 (1.36s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "asyncextensions",
      "name": "AsyncExtensions",
      "url": "https://github.com/sideeffect-io/AsyncExtensions.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncExtensions",
      "dependencies": [
        {
          "identity": "swift-collections",
          "name": "swift-collections",
          "url": "https://github.com/apple/swift-collections.git",
          "version": "1.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sideeffect-io/AsyncExtensions.git
[1/776] Fetching asyncextensions
Fetched https://github.com/sideeffect-io/AsyncExtensions.git from cache (0.75s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.25s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/sideeffect-io/AsyncExtensions.git
Working copy of https://github.com/sideeffect-io/AsyncExtensions.git resolved at main (735748a)
warning: '.resolve-product-dependencies': dependency 'asyncextensions' is not used by any target
Found 1 product dependencies
  - swift-collections
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sideeffect-io/AsyncExtensions.git
https://github.com/sideeffect-io/AsyncExtensions.git
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "AsyncExtensions",
  "name" : "AsyncExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncExtensions",
      "targets" : [
        "AsyncExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExtensionsTests",
      "path" : "Tests",
      "sources" : [
        "AsyncChannels/AsyncBufferedChannelTests.swift",
        "AsyncChannels/AsyncBufferedThrowingChannelTests.swift",
        "AsyncSubjets/AsyncCurrentValueSubjectTests.swift",
        "AsyncSubjets/AsyncPassthroughSubjectTests.swift",
        "AsyncSubjets/AsyncReplaySubjectTests.swift",
        "AsyncSubjets/AsyncThrowingCurrentValueSubjectTests.swift",
        "AsyncSubjets/AsyncThrowingPassthroughSubjectTests.swift",
        "AsyncSubjets/AsyncThrowingReplaySubjectTests.swift",
        "AsyncSubjets/StreamedTests.swift",
        "Combiners/Merge/AsyncMergeSequenceTests.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFrom2SequenceTests.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFromSequenceTests.swift",
        "Combiners/Zip/AsyncZipSequenceTests.swift",
        "Creators/AsyncEmptySequenceTests.swift",
        "Creators/AsyncFailSequenceTests.swift",
        "Creators/AsyncJustSequenceTests.swift",
        "Creators/AsyncLazySequenceTests.swift",
        "Creators/AsyncStream+PipeTests.swift",
        "Creators/AsyncThrowingJustSequenceTests.swift",
        "Creators/AsyncTimerSequenceTests.swift",
        "Operators/AsyncHandleEventsSequenceTests.swift",
        "Operators/AsyncMapToResultSequenceTests.swift",
        "Operators/AsyncMulticastSequenceTests.swift",
        "Operators/AsyncPrependSequenceTests.swift",
        "Operators/AsyncScanSequenceTests.swift",
        "Operators/AsyncSequence+AssignTests.swift",
        "Operators/AsyncSequence+CollectTests.swift",
        "Operators/AsyncSequence+EraseToAnyAsyncSequenceTests.swift",
        "Operators/AsyncSequence+FlatMapLatestTests.swift",
        "Operators/AsyncSequence+ShareTests.swift",
        "Operators/AsyncSwitchToLatestSequenceTests.swift",
        "Supporting/Helpers.swift"
      ],
      "target_dependencies" : [
        "AsyncExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncExtensions",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExtensions",
      "path" : "Sources",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "AsyncExtensions"
      ],
      "sources" : [
        "AsyncChannels/AsyncBufferedChannel.swift",
        "AsyncChannels/AsyncThrowingBufferedChannel.swift",
        "AsyncSubjects/AsyncCurrentValueSubject.swift",
        "AsyncSubjects/AsyncPassthroughSubject.swift",
        "AsyncSubjects/AsyncReplaySubject.swift",
        "AsyncSubjects/AsyncSubject.swift",
        "AsyncSubjects/AsyncThrowingCurrentValueSubject.swift",
        "AsyncSubjects/AsyncThrowingPassthroughSubject.swift",
        "AsyncSubjects/AsyncThrowingReplaySubject.swift",
        "AsyncSubjects/Streamed.swift",
        "Combiners/Merge/AsyncMerge2Sequence.swift",
        "Combiners/Merge/AsyncMerge3Sequence.swift",
        "Combiners/Merge/AsyncMergeSequence.swift",
        "Combiners/Merge/MergeStateMachine.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift",
        "Combiners/Zip/AsyncZip2Sequence.swift",
        "Combiners/Zip/AsyncZip3Sequence.swift",
        "Combiners/Zip/AsyncZipSequence.swift",
        "Combiners/Zip/Zip2Runtime.swift",
        "Combiners/Zip/Zip2StateMachine.swift",
        "Combiners/Zip/Zip3Runtime.swift",
        "Combiners/Zip/Zip3StateMachine.swift",
        "Combiners/Zip/ZipRuntime.swift",
        "Combiners/Zip/ZipStateMachine.swift",
        "Common/Termination.swift",
        "Creators/AsyncEmptySequence.swift",
        "Creators/AsyncFailSequence.swift",
        "Creators/AsyncJustSequence.swift",
        "Creators/AsyncLazySequence.swift",
        "Creators/AsyncStream+Pipe.swift",
        "Creators/AsyncThrowingJustSequence.swift",
        "Creators/AsyncTimerSequence.swift",
        "Operators/AsyncHandleEventsSequence.swift",
        "Operators/AsyncMapToResultSequence.swift",
        "Operators/AsyncMulticastSequence.swift",
        "Operators/AsyncPrependSequence.swift",
        "Operators/AsyncScanSequence.swift",
        "Operators/AsyncSequence+Assign.swift",
        "Operators/AsyncSequence+Collect.swift",
        "Operators/AsyncSequence+EraseToAnyAsyncSequence.swift",
        "Operators/AsyncSequence+FlatMapLatest.swift",
        "Operators/AsyncSequence+Share.swift",
        "Operators/AsyncSwitchToLatestSequence.swift",
        "Supporting/ManagedCriticalState.swift",
        "Supporting/Regulator.swift",
        "Supporting/Result+ErrorMechanism.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/70] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[7/70] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[8/70] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[9/70] Compiling OrderedCollections OrderedSet+Codable.swift
[10/71] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[11/71] Compiling OrderedCollections _HashTable.swift
[12/71] Compiling OrderedCollections _Hashtable+Header.swift
[13/71] Compiling OrderedCollections OrderedDictionary+Codable.swift
[15/76] Compiling OrderedCollections OrderedDictionary+Values.swift
[16/76] Compiling OrderedCollections OrderedDictionary.swift
[17/76] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[18/76] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[19/76] Compiling OrderedCollections _HashTable+Constants.swift
[20/76] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[21/76] Compiling OrderedCollections OrderedSet+Equatable.swift
[22/76] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[23/76] Compiling OrderedCollections OrderedSet+Hashable.swift
[24/76] Compiling OrderedCollections OrderedSet+Initializers.swift
[25/76] Compiling OrderedCollections OrderedSet+Insertions.swift
[26/76] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[27/76] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[28/76] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[29/76] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[30/76] Compiling OrderedCollections OrderedDictionary+Elements.swift
[31/76] Compiling OrderedCollections _HashTable+Bucket.swift
[32/76] Compiling OrderedCollections _HashTable+BucketIterator.swift
[35/76] Compiling DequeModule _UnsafeWrappedBuffer.swift
[39/76] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[40/76] Compiling OrderedCollections OrderedSet+Diffing.swift
[41/76] Compiling OrderedCollections OrderedSet+Invariants.swift
[42/76] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[43/76] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[44/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[45/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[48/76] Emitting module DequeModule
[49/76] Compiling OrderedCollections _HashTable+Testing.swift
[50/76] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[51/76] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[52/76] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[53/76] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[54/76] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[55/76] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[56/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[57/76] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[58/76] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[59/76] Compiling OrderedCollections OrderedSet+SubSequence.swift
[60/76] Compiling OrderedCollections OrderedSet+Testing.swift
[71/76] Emitting module OrderedCollections
[72/76] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[73/76] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[74/76] Compiling OrderedCollections OrderedSet.swift
[75/76] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[76/76] Compiling OrderedCollections _UnsafeBitset.swift
[77/78] Emitting module Collections
[78/78] Compiling Collections Collections.swift
[79/122] Emitting module AsyncExtensions
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
[80/126] Compiling AsyncExtensions Termination.swift
[81/126] Compiling AsyncExtensions AsyncEmptySequence.swift
[82/126] Compiling AsyncExtensions AsyncFailSequence.swift
[83/126] Compiling AsyncExtensions AsyncJustSequence.swift
[84/126] Compiling AsyncExtensions AsyncLazySequence.swift
[85/126] Compiling AsyncExtensions AsyncSequence+Collect.swift
[86/126] Compiling AsyncExtensions AsyncSequence+EraseToAnyAsyncSequence.swift
[87/126] Compiling AsyncExtensions AsyncSequence+FlatMapLatest.swift
[88/126] Compiling AsyncExtensions AsyncSequence+Share.swift
[89/126] Compiling AsyncExtensions AsyncMulticastSequence.swift
[90/126] Compiling AsyncExtensions AsyncPrependSequence.swift
[91/126] Compiling AsyncExtensions AsyncScanSequence.swift
[92/126] Compiling AsyncExtensions AsyncSequence+Assign.swift
[93/126] Compiling AsyncExtensions AsyncBufferedChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:160:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
158 |     let cancellation = ManagedCriticalState<Bool>(false)
159 |
160 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
161 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
162 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncThrowingBufferedChannel.swift:181:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
179 |     let cancellation = ManagedCriticalState<Bool>(false)
180 |
181 |     return try await withTaskCancellationHandler { [state] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
182 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
183 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:144:32: warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
142 |         awaitings.forEach { $0.continuation?.resume(returning: nil) }
143 |       case let .resume(awaiting, element):
144 |         awaiting.continuation?.resume(returning: element)
    |                                |- warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: Passing task-isolated value of non-Sendable type 'Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
145 |     }
146 |   }
[94/126] Compiling AsyncExtensions AsyncThrowingBufferedChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:160:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
158 |     let cancellation = ManagedCriticalState<Bool>(false)
159 |
160 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
161 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
162 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncThrowingBufferedChannel.swift:181:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
179 |     let cancellation = ManagedCriticalState<Bool>(false)
180 |
181 |     return try await withTaskCancellationHandler { [state] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
182 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
183 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:144:32: warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
142 |         awaitings.forEach { $0.continuation?.resume(returning: nil) }
143 |       case let .resume(awaiting, element):
144 |         awaiting.continuation?.resume(returning: element)
    |                                |- warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: Passing task-isolated value of non-Sendable type 'Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
145 |     }
146 |   }
[95/126] Compiling AsyncExtensions AsyncCurrentValueSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:160:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
158 |     let cancellation = ManagedCriticalState<Bool>(false)
159 |
160 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
161 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
162 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncThrowingBufferedChannel.swift:181:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
179 |     let cancellation = ManagedCriticalState<Bool>(false)
180 |
181 |     return try await withTaskCancellationHandler { [state] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
182 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
183 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:144:32: warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
142 |         awaitings.forEach { $0.continuation?.resume(returning: nil) }
143 |       case let .resume(awaiting, element):
144 |         awaiting.continuation?.resume(returning: element)
    |                                |- warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: Passing task-isolated value of non-Sendable type 'Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
145 |     }
146 |   }
[96/126] Compiling AsyncExtensions AsyncPassthroughSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:160:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
158 |     let cancellation = ManagedCriticalState<Bool>(false)
159 |
160 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
161 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
162 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncThrowingBufferedChannel.swift:181:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
179 |     let cancellation = ManagedCriticalState<Bool>(false)
180 |
181 |     return try await withTaskCancellationHandler { [state] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
182 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
183 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:144:32: warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
142 |         awaitings.forEach { $0.continuation?.resume(returning: nil) }
143 |       case let .resume(awaiting, element):
144 |         awaiting.continuation?.resume(returning: element)
    |                                |- warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: Passing task-isolated value of non-Sendable type 'Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
145 |     }
146 |   }
[97/126] Compiling AsyncExtensions AsyncReplaySubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:160:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
158 |     let cancellation = ManagedCriticalState<Bool>(false)
159 |
160 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
161 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
162 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncThrowingBufferedChannel.swift:181:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
179 |     let cancellation = ManagedCriticalState<Bool>(false)
180 |
181 |     return try await withTaskCancellationHandler { [state] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
182 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
183 |         cancellation.withCriticalRegion { cancellation in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncChannels/AsyncBufferedChannel.swift:144:32: warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
142 |         awaitings.forEach { $0.continuation?.resume(returning: nil) }
143 |       case let .resume(awaiting, element):
144 |         awaiting.continuation?.resume(returning: element)
    |                                |- warning: sending value of non-Sendable type 'Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: Passing task-isolated value of non-Sendable type 'Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
145 |     }
146 |   }
[98/126] Compiling AsyncExtensions AsyncWithLatestFromSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
122 |       guard !self.isTerminated else { return nil }
123 |
124 |       return try await withTaskCancellationHandler { [otherTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 |         otherTask?.cancel()
126 |       } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
148 |
149 |   func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
152 |         stateMachine.rootTaskIsCancelled()
[99/126] Compiling AsyncExtensions AsyncZip2Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
122 |       guard !self.isTerminated else { return nil }
123 |
124 |       return try await withTaskCancellationHandler { [otherTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 |         otherTask?.cancel()
126 |       } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
148 |
149 |   func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
152 |         stateMachine.rootTaskIsCancelled()
[100/126] Compiling AsyncExtensions AsyncZip3Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
122 |       guard !self.isTerminated else { return nil }
123 |
124 |       return try await withTaskCancellationHandler { [otherTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 |         otherTask?.cancel()
126 |       } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
148 |
149 |   func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
152 |         stateMachine.rootTaskIsCancelled()
[101/126] Compiling AsyncExtensions AsyncZipSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
122 |       guard !self.isTerminated else { return nil }
123 |
124 |       return try await withTaskCancellationHandler { [otherTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 |         otherTask?.cancel()
126 |       } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
148 |
149 |   func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
152 |         stateMachine.rootTaskIsCancelled()
[102/126] Compiling AsyncExtensions Zip2Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
122 |       guard !self.isTerminated else { return nil }
123 |
124 |       return try await withTaskCancellationHandler { [otherTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 |         otherTask?.cancel()
126 |       } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
148 |
149 |   func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
152 |         stateMachine.rootTaskIsCancelled()
[103/126] Compiling AsyncExtensions AsyncMerge2Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 36 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 |
 41 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 64 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |
 70 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:101:121: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 99 |
100 |     for base in bases {
101 |       let regulator = Regulator<Base>(base, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                         `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 |       regulators.append(regulator)
103 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
196 |
197 |   func next() async -> RegulatedElement<Element> {
198 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 |       self.unsuspendAndClearOnCancel()
200 |     } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
173 |       guard !shouldReturnNil else { return nil }
174 |
175 |       return try await withTaskCancellationHandler { [isTerminated, othersTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 |         isTerminated.withCriticalRegion { isTerminated in
177 |           isTerminated = true
[104/126] Compiling AsyncExtensions AsyncMerge3Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 36 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 |
 41 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 64 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |
 70 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:101:121: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 99 |
100 |     for base in bases {
101 |       let regulator = Regulator<Base>(base, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                         `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 |       regulators.append(regulator)
103 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
196 |
197 |   func next() async -> RegulatedElement<Element> {
198 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 |       self.unsuspendAndClearOnCancel()
200 |     } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
173 |       guard !shouldReturnNil else { return nil }
174 |
175 |       return try await withTaskCancellationHandler { [isTerminated, othersTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 |         isTerminated.withCriticalRegion { isTerminated in
177 |           isTerminated = true
[105/126] Compiling AsyncExtensions AsyncMergeSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 36 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 |
 41 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 64 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |
 70 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:101:121: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 99 |
100 |     for base in bases {
101 |       let regulator = Regulator<Base>(base, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                         `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 |       regulators.append(regulator)
103 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
196 |
197 |   func next() async -> RegulatedElement<Element> {
198 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 |       self.unsuspendAndClearOnCancel()
200 |     } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
173 |       guard !shouldReturnNil else { return nil }
174 |
175 |       return try await withTaskCancellationHandler { [isTerminated, othersTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 |         isTerminated.withCriticalRegion { isTerminated in
177 |           isTerminated = true
[106/126] Compiling AsyncExtensions MergeStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 36 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 |
 41 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 64 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |
 70 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:101:121: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 99 |
100 |     for base in bases {
101 |       let regulator = Regulator<Base>(base, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                         `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 |       regulators.append(regulator)
103 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
196 |
197 |   func next() async -> RegulatedElement<Element> {
198 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 |       self.unsuspendAndClearOnCancel()
200 |     } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
173 |       guard !shouldReturnNil else { return nil }
174 |
175 |       return try await withTaskCancellationHandler { [isTerminated, othersTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 |         isTerminated.withCriticalRegion { isTerminated in
177 |           isTerminated = true
[107/126] Compiling AsyncExtensions AsyncWithLatestFrom2Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:29:7: warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 27 |
 28 |   let requestNextRegulatedElements: @Sendable () -> Void
 29 |   let state: ManagedCriticalState<State>
    |       `- warning: stored property 'state' of 'Sendable'-conforming generic struct 'MergeStateMachine' has non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>'; this is an error in the Swift 6 language mode
 30 |   let task: Task<Void, Never>
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 36 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 37 |
 38 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 39 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 |
 41 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 64 |     self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 65 |
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:115: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 66 |     let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 67 |     let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
 68 |     let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                   `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 69 |
 70 |     self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:101:121: warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 |   }
 17 |
 18 |   struct State {
    |          `- note: consider making struct 'State' conform to the 'Sendable' protocol
 19 |     var buffer: BufferState
 20 |     var basesToTerminate: Int
    :
 99 |
100 |     for base in bases {
101 |       let regulator = Regulator<Base>(base, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
    |                                                                                                                         `- warning: capture of 'state' with non-sendable type 'ManagedCriticalState<MergeStateMachine<Element>.State>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
102 |       regulators.append(regulator)
103 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
196 |
197 |   func next() async -> RegulatedElement<Element> {
198 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 |       self.unsuspendAndClearOnCancel()
200 |     } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
173 |       guard !shouldReturnNil else { return nil }
174 |
175 |       return try await withTaskCancellationHandler { [isTerminated, othersTask] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 |         isTerminated.withCriticalRegion { isTerminated in
177 |           isTerminated = true
[108/126] Compiling AsyncExtensions AsyncSubject.swift
[109/126] Compiling AsyncExtensions AsyncThrowingCurrentValueSubject.swift
[110/126] Compiling AsyncExtensions AsyncThrowingPassthroughSubject.swift
[111/126] Compiling AsyncExtensions AsyncThrowingReplaySubject.swift
[112/126] Compiling AsyncExtensions Streamed.swift
[113/126] Compiling AsyncExtensions AsyncSwitchToLatestSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
222 |       self.startBase()
223 |
224 |       return try await withTaskCancellationHandler { [baseTask, state] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 |         baseTask?.cancel()
226 |         state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 48 |
 49 |   func iterate() async {
 50 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 51 |       self.unsuspendAndExitOnCancel()
 52 |     } operation: {
[114/126] Compiling AsyncExtensions ManagedCriticalState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
222 |       self.startBase()
223 |
224 |       return try await withTaskCancellationHandler { [baseTask, state] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 |         baseTask?.cancel()
226 |         state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 48 |
 49 |   func iterate() async {
 50 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 51 |       self.unsuspendAndExitOnCancel()
 52 |     } operation: {
[115/126] Compiling AsyncExtensions Regulator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
222 |       self.startBase()
223 |
224 |       return try await withTaskCancellationHandler { [baseTask, state] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 |         baseTask?.cancel()
226 |         state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 48 |
 49 |   func iterate() async {
 50 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 51 |       self.unsuspendAndExitOnCancel()
 52 |     } operation: {
[116/126] Compiling AsyncExtensions Result+ErrorMechanism.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
222 |       self.startBase()
223 |
224 |       return try await withTaskCancellationHandler { [baseTask, state] in
    |                        |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                        `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 |         baseTask?.cancel()
226 |         state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
 48 |
 49 |   func iterate() async {
 50 |     await withTaskCancellationHandler {
    |           |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |           `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
 51 |       self.unsuspendAndExitOnCancel()
 52 |     } operation: {
[117/126] Compiling AsyncExtensions Zip2StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
186 |
187 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
190 |         stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
120 |
121 |   func next() async rethrows -> [Base.Element]? {
122 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
124 |         stateMachine.rootTaskIsCancelled()
[118/126] Compiling AsyncExtensions Zip3Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
186 |
187 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
190 |         stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
120 |
121 |   func next() async rethrows -> [Base.Element]? {
122 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
124 |         stateMachine.rootTaskIsCancelled()
[119/126] Compiling AsyncExtensions Zip3StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
186 |
187 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
190 |         stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
120 |
121 |   func next() async rethrows -> [Base.Element]? {
122 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
124 |         stateMachine.rootTaskIsCancelled()
[120/126] Compiling AsyncExtensions ZipRuntime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
186 |
187 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
190 |         stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
120 |
121 |   func next() async rethrows -> [Base.Element]? {
122 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
124 |         stateMachine.rootTaskIsCancelled()
[121/126] Compiling AsyncExtensions ZipStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
186 |
187 |   func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
190 |         stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
120 |
121 |   func next() async rethrows -> [Base.Element]? {
122 |     try await withTaskCancellationHandler {
    |               |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |               `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 |       let output = self.stateMachine.withCriticalRegion { stateMachine in
124 |         stateMachine.rootTaskIsCancelled()
[122/126] Compiling AsyncExtensions AsyncStream+Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
79 |
80 |     public mutating func next() async -> Element? {
81 |       await withTaskCancellationHandler { [task] in
   |             |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
   |             `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 |         task.cancel()
83 |       } operation: {
[123/126] Compiling AsyncExtensions AsyncThrowingJustSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
79 |
80 |     public mutating func next() async -> Element? {
81 |       await withTaskCancellationHandler { [task] in
   |             |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
   |             `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 |         task.cancel()
83 |       } operation: {
[124/126] Compiling AsyncExtensions AsyncTimerSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
79 |
80 |     public mutating func next() async -> Element? {
81 |       await withTaskCancellationHandler { [task] in
   |             |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
   |             `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 |         task.cancel()
83 |       } operation: {
[125/126] Compiling AsyncExtensions AsyncHandleEventsSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
79 |
80 |     public mutating func next() async -> Element? {
81 |       await withTaskCancellationHandler { [task] in
   |             |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
   |             `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 |         task.cancel()
83 |       } operation: {
[126/126] Compiling AsyncExtensions AsyncMapToResultSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
79 |
80 |     public mutating func next() async -> Element? {
81 |       await withTaskCancellationHandler { [task] in
   |             |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
   |             `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 |         task.cancel()
83 |       } operation: {
Build complete! (6.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "AsyncExtensions",
  "name" : "AsyncExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncExtensions",
      "targets" : [
        "AsyncExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExtensionsTests",
      "path" : "Tests",
      "sources" : [
        "AsyncChannels/AsyncBufferedChannelTests.swift",
        "AsyncChannels/AsyncBufferedThrowingChannelTests.swift",
        "AsyncSubjets/AsyncCurrentValueSubjectTests.swift",
        "AsyncSubjets/AsyncPassthroughSubjectTests.swift",
        "AsyncSubjets/AsyncReplaySubjectTests.swift",
        "AsyncSubjets/AsyncThrowingCurrentValueSubjectTests.swift",
        "AsyncSubjets/AsyncThrowingPassthroughSubjectTests.swift",
        "AsyncSubjets/AsyncThrowingReplaySubjectTests.swift",
        "AsyncSubjets/StreamedTests.swift",
        "Combiners/Merge/AsyncMergeSequenceTests.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFrom2SequenceTests.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFromSequenceTests.swift",
        "Combiners/Zip/AsyncZipSequenceTests.swift",
        "Creators/AsyncEmptySequenceTests.swift",
        "Creators/AsyncFailSequenceTests.swift",
        "Creators/AsyncJustSequenceTests.swift",
        "Creators/AsyncLazySequenceTests.swift",
        "Creators/AsyncStream+PipeTests.swift",
        "Creators/AsyncThrowingJustSequenceTests.swift",
        "Creators/AsyncTimerSequenceTests.swift",
        "Operators/AsyncHandleEventsSequenceTests.swift",
        "Operators/AsyncMapToResultSequenceTests.swift",
        "Operators/AsyncMulticastSequenceTests.swift",
        "Operators/AsyncPrependSequenceTests.swift",
        "Operators/AsyncScanSequenceTests.swift",
        "Operators/AsyncSequence+AssignTests.swift",
        "Operators/AsyncSequence+CollectTests.swift",
        "Operators/AsyncSequence+EraseToAnyAsyncSequenceTests.swift",
        "Operators/AsyncSequence+FlatMapLatestTests.swift",
        "Operators/AsyncSequence+ShareTests.swift",
        "Operators/AsyncSwitchToLatestSequenceTests.swift",
        "Supporting/Helpers.swift"
      ],
      "target_dependencies" : [
        "AsyncExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncExtensions",
      "module_type" : "SwiftTarget",
      "name" : "AsyncExtensions",
      "path" : "Sources",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "AsyncExtensions"
      ],
      "sources" : [
        "AsyncChannels/AsyncBufferedChannel.swift",
        "AsyncChannels/AsyncThrowingBufferedChannel.swift",
        "AsyncSubjects/AsyncCurrentValueSubject.swift",
        "AsyncSubjects/AsyncPassthroughSubject.swift",
        "AsyncSubjects/AsyncReplaySubject.swift",
        "AsyncSubjects/AsyncSubject.swift",
        "AsyncSubjects/AsyncThrowingCurrentValueSubject.swift",
        "AsyncSubjects/AsyncThrowingPassthroughSubject.swift",
        "AsyncSubjects/AsyncThrowingReplaySubject.swift",
        "AsyncSubjects/Streamed.swift",
        "Combiners/Merge/AsyncMerge2Sequence.swift",
        "Combiners/Merge/AsyncMerge3Sequence.swift",
        "Combiners/Merge/AsyncMergeSequence.swift",
        "Combiners/Merge/MergeStateMachine.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift",
        "Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift",
        "Combiners/Zip/AsyncZip2Sequence.swift",
        "Combiners/Zip/AsyncZip3Sequence.swift",
        "Combiners/Zip/AsyncZipSequence.swift",
        "Combiners/Zip/Zip2Runtime.swift",
        "Combiners/Zip/Zip2StateMachine.swift",
        "Combiners/Zip/Zip3Runtime.swift",
        "Combiners/Zip/Zip3StateMachine.swift",
        "Combiners/Zip/ZipRuntime.swift",
        "Combiners/Zip/ZipStateMachine.swift",
        "Common/Termination.swift",
        "Creators/AsyncEmptySequence.swift",
        "Creators/AsyncFailSequence.swift",
        "Creators/AsyncJustSequence.swift",
        "Creators/AsyncLazySequence.swift",
        "Creators/AsyncStream+Pipe.swift",
        "Creators/AsyncThrowingJustSequence.swift",
        "Creators/AsyncTimerSequence.swift",
        "Operators/AsyncHandleEventsSequence.swift",
        "Operators/AsyncMapToResultSequence.swift",
        "Operators/AsyncMulticastSequence.swift",
        "Operators/AsyncPrependSequence.swift",
        "Operators/AsyncScanSequence.swift",
        "Operators/AsyncSequence+Assign.swift",
        "Operators/AsyncSequence+Collect.swift",
        "Operators/AsyncSequence+EraseToAnyAsyncSequence.swift",
        "Operators/AsyncSequence+FlatMapLatest.swift",
        "Operators/AsyncSequence+Share.swift",
        "Operators/AsyncSwitchToLatestSequence.swift",
        "Supporting/ManagedCriticalState.swift",
        "Supporting/Regulator.swift",
        "Supporting/Result+ErrorMechanism.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.