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 0.5.3 (3442d3), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:45:21 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: 0.5.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/AsyncExtensions
 * tag               0.5.3      -> FETCH_HEAD
HEAD is now at 3442d3d Fix AsyncSubject's Failure type conflincting with Apple addition to AsyncSequence starting from Xcode 16 (iOS 18, MacOS 15, Vision OS 2, etc.)
Cloned https://github.com/sideeffect-io/AsyncExtensions.git
Revision (git rev-parse @):
3442d3d046800f1974bda096faaf0ac510b21154
SUCCESS checkout https://github.com/sideeffect-io/AsyncExtensions.git at 0.5.3
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.3 (1.39s)
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.83s)
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.21s)
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 0.5.3 (3442d3d)
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 OrderedDictionary+CustomReflectable.swift
[7/70] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[8/70] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[9/70] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[10/70] Compiling OrderedCollections OrderedDictionary+Elements.swift
[11/75] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[12/75] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[13/75] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[15/75] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[16/75] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[19/75] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[20/75] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[21/75] Compiling OrderedCollections _HashTable+Constants.swift
[22/75] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[23/76] Compiling OrderedCollections OrderedSet+Invariants.swift
[24/76] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[25/76] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[26/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[27/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[28/76] Compiling OrderedCollections _HashTable+Bucket.swift
[29/76] Compiling OrderedCollections _HashTable+BucketIterator.swift
[32/76] Compiling OrderedCollections _HashTable+Testing.swift
[33/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[36/76] Compiling OrderedCollections OrderedSet+SubSequence.swift
[37/76] Compiling OrderedCollections OrderedSet+Testing.swift
[44/76] Emitting module DequeModule
[45/76] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[46/76] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[47/76] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[48/76] Compiling OrderedCollections OrderedDictionary+Values.swift
[49/76] Compiling OrderedCollections OrderedDictionary.swift
[50/76] Compiling OrderedCollections OrderedSet+Codable.swift
[51/76] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[52/76] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[53/76] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[54/76] Compiling OrderedCollections OrderedSet+Diffing.swift
[55/76] Compiling OrderedCollections OrderedSet+Equatable.swift
[56/76] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[57/76] Compiling OrderedCollections OrderedSet+Hashable.swift
[58/76] Compiling OrderedCollections OrderedSet+Initializers.swift
[59/76] Compiling OrderedCollections OrderedSet+Insertions.swift
[60/76] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[61/76] Compiling OrderedCollections _HashTable.swift
[62/76] Compiling OrderedCollections _Hashtable+Header.swift
[63/76] Compiling OrderedCollections OrderedDictionary+Codable.swift
[64/76] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[70/76] Emitting module OrderedCollections
[71/76] Compiling DequeModule _UnsafeWrappedBuffer.swift
[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] Compiling AsyncExtensions AsyncMulticastSequence.swift
[80/122] Compiling AsyncExtensions AsyncPrependSequence.swift
[81/122] Compiling AsyncExtensions AsyncScanSequence.swift
[82/122] Compiling AsyncExtensions AsyncSequence+Assign.swift
[83/126] Compiling AsyncExtensions AsyncSequence+Collect.swift
[84/126] Compiling AsyncExtensions AsyncSequence+EraseToAnyAsyncSequence.swift
[85/126] Compiling AsyncExtensions AsyncSequence+FlatMapLatest.swift
[86/126] Compiling AsyncExtensions AsyncSequence+Share.swift
[87/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 |   }
[88/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 |   }
[89/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 |   }
[90/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 |   }
[91/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 |   }
[92/126] 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 |
[93/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()
[94/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()
[95/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()
[96/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()
[97/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()
[98/126] Compiling AsyncExtensions Termination.swift
[99/126] Compiling AsyncExtensions AsyncEmptySequence.swift
[100/126] Compiling AsyncExtensions AsyncFailSequence.swift
[101/126] Compiling AsyncExtensions AsyncJustSequence.swift
[102/126] Compiling AsyncExtensions AsyncLazySequence.swift
[103/126] Compiling AsyncExtensions AsyncSubject.swift
[104/126] Compiling AsyncExtensions AsyncThrowingCurrentValueSubject.swift
[105/126] Compiling AsyncExtensions AsyncThrowingPassthroughSubject.swift
[106/126] Compiling AsyncExtensions AsyncThrowingReplaySubject.swift
[107/126] Compiling AsyncExtensions Streamed.swift
[108/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: {
[109/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: {
[110/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: {
[111/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: {
[112/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()
[113/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()
[114/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()
[115/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()
[116/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()
[117/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
[118/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
[119/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
[120/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
[121/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
[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! (7.36s)
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.