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 AsyncStateMachine with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/AsyncStateMachine.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/AsyncStateMachine
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e7cb906 Merge pull request #20 from sideeffect-io/fix/rename-async-buffered-channel
Cloned https://github.com/sideeffect-io/AsyncStateMachine.git
Revision (git rev-parse @):
e7cb9063ca158aac1e7f55c56341ad4d23ba0715
SUCCESS checkout https://github.com/sideeffect-io/AsyncStateMachine.git at main
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git (0.47s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 0.4.0 (0.03s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay.git resolved at 0.4.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "asyncstatemachine",
      "name": "AsyncStateMachine",
      "url": "https://github.com/sideeffect-io/AsyncStateMachine.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncStateMachine",
      "dependencies": [
        {
          "identity": "xctest-dynamic-overlay",
          "name": "xctest-dynamic-overlay",
          "url": "https://github.com/pointfreeco/xctest-dynamic-overlay.git",
          "version": "0.9.0",
          "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sideeffect-io/AsyncStateMachine.git
[1/708] Fetching asyncstatemachine
Fetched https://github.com/sideeffect-io/AsyncStateMachine.git (0.29s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git (0.19s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 0.9.0 (0.02s)
Creating working copy for https://github.com/sideeffect-io/AsyncStateMachine.git
Working copy of https://github.com/sideeffect-io/AsyncStateMachine.git resolved at main
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay.git resolved at 0.9.0
warning: '.resolve-product-dependencies': dependency 'asyncstatemachine' is not used by any target
Found 1 product dependencies
  - xctest-dynamic-overlay
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[2/6] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[3/6] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[4/6] Compiling XCTestDynamicOverlay XCTUnimplemented.swift
[5/6] Emitting module XCTestDynamicOverlay
[6/6] Compiling XCTestDynamicOverlay XCTFail.swift
[7/34] Emitting module AsyncStateMachine
[8/37] Compiling AsyncStateMachine When.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return await withTaskCancellationHandler { [state] in
                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return await withTaskCancellationHandler { [state] in
                 ^
[9/37] Compiling AsyncStateMachine AnyAsyncSequence.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return await withTaskCancellationHandler { [state] in
                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return await withTaskCancellationHandler { [state] in
                 ^
[10/37] Compiling AsyncStateMachine AsyncBufferedChannel.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return await withTaskCancellationHandler { [state] in
                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return await withTaskCancellationHandler { [state] in
                 ^
[11/37] Compiling AsyncStateMachine AsyncCompactScanSequence.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return await withTaskCancellationHandler { [state] in
                 ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return await withTaskCancellationHandler { [state] in
                 ^
[12/37] Compiling AsyncStateMachine OrderedStorage.swift
[13/37] Compiling AsyncStateMachine ThrowingInject.swift
[14/37] Compiling AsyncStateMachine XCTStateMachine.swift
[15/37] Compiling AsyncStateMachine ExecutionStrategy.swift
[16/37] Compiling AsyncStateMachine Middleware.swift
[17/37] Compiling AsyncStateMachine Runtime.swift
[18/37] Compiling AsyncStateMachine SideEffect.swift
[19/37] Compiling AsyncStateMachine On.swift
[20/37] Compiling AsyncStateMachine OneOf.swift
[21/37] Compiling AsyncStateMachine StateMachine.swift
[22/37] Compiling AsyncStateMachine Transition.swift
[23/37] Compiling AsyncStateMachine AsyncJustSequence.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
          self.wrappedValue = currentValue
          ^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
                                                            ^
[24/37] Compiling AsyncStateMachine AsyncOnEachSequence.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
          self.wrappedValue = currentValue
          ^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
                                                            ^
[25/37] Compiling AsyncStateMachine AsyncSerialSequence.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
          self.wrappedValue = currentValue
          ^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
                                                            ^
[26/37] Compiling AsyncStateMachine Binding+Debounce.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
    return try await withTaskCancellationHandler { [weak self] in
                     ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
          self.wrappedValue = currentValue
          ^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
                                                            ^
[27/37] Compiling AsyncStateMachine Binding+Distinct.swift
[28/37] Compiling AsyncStateMachine Inject.swift
[29/37] Compiling AsyncStateMachine ManagedCriticalState.swift
[30/37] Compiling AsyncStateMachine DSLCompatible.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                  ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                       ^
[31/37] Compiling AsyncStateMachine Execute.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                  ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                       ^
[32/37] Compiling AsyncStateMachine Guard.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                  ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                       ^
[33/37] Compiling AsyncStateMachine Never+DSLCompatible.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                  ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
    return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
                       ^
[34/37] Compiling AsyncStateMachine AsyncStateMachine.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a non-isolated context; this is an error in Swift 6
    self.cancelTasksInProgress()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:90:8: note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
  func cancelTasksInProgress() {
       ^
[35/37] Compiling AsyncStateMachine Engine.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a non-isolated context; this is an error in Swift 6
    self.cancelTasksInProgress()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:90:8: note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
  func cancelTasksInProgress() {
       ^
[36/37] Compiling AsyncStateMachine ViewStateMachine.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a non-isolated context; this is an error in Swift 6
    self.cancelTasksInProgress()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:90:8: note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
  func cancelTasksInProgress() {
       ^
[37/37] Compiling AsyncStateMachine Channel.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a non-isolated context; this is an error in Swift 6
    self.cancelTasksInProgress()
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:90:8: note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
  func cancelTasksInProgress() {
       ^
Build complete! (11.63s)
Build complete.
Done.