The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncStateMachine, reference main (e7cb90), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 09:45:54 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/AsyncStateMachine.git
Reference: main
Initialized empty Git repository in /Users/admin/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
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (1.36s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 0.4.0 (2.09s)
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/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "asyncstatemachine",
      "name": "AsyncStateMachine",
      "url": "https://github.com/sideeffect-io/AsyncStateMachine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncStateMachine",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "xctest-dynamic-overlay",
          "name": "xctest-dynamic-overlay",
          "url": "https://github.com/pointfreeco/xctest-dynamic-overlay.git",
          "version": "0.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sideeffect-io/AsyncStateMachine.git
[1/708] Fetching asyncstatemachine
Fetched https://github.com/sideeffect-io/AsyncStateMachine.git from cache (0.95s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (0.42s)
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.49s)
Creating working copy for https://github.com/sideeffect-io/AsyncStateMachine.git
Working copy of https://github.com/sideeffect-io/AsyncStateMachine.git resolved at main (e7cb906)
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:             6.3
Building package at path:  $PWD
https://github.com/sideeffect-io/AsyncStateMachine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/9] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[5/9] Compiling XCTestDynamicOverlay XCTUnimplemented.swift
[6/9] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[7/9] Emitting module XCTestDynamicOverlay
[8/9] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[9/9] Compiling XCTestDynamicOverlay XCTFail.swift
[10/37] Compiling AsyncStateMachine On.swift
[11/37] Compiling AsyncStateMachine OneOf.swift
[12/37] Compiling AsyncStateMachine StateMachine.swift
[13/40] Emitting module AsyncStateMachine
[14/40] Compiling AsyncStateMachine Channel.swift
[15/40] Compiling AsyncStateMachine ExecutionStrategy.swift
[16/40] Compiling AsyncStateMachine Middleware.swift
[17/40] Compiling AsyncStateMachine Execute.swift
[18/40] Compiling AsyncStateMachine Guard.swift
[19/40] Compiling AsyncStateMachine Never+DSLCompatible.swift
[20/40] Compiling AsyncStateMachine OrderedStorage.swift
[21/40] Compiling AsyncStateMachine ThrowingInject.swift
[22/40] Compiling AsyncStateMachine XCTStateMachine.swift
[23/40] Compiling AsyncStateMachine Runtime.swift
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[24/40] Compiling AsyncStateMachine SideEffect.swift
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[25/40] Compiling AsyncStateMachine DSLCompatible.swift
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/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.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[26/40] Compiling AsyncStateMachine AsyncBufferedChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/40] Compiling AsyncStateMachine AsyncCompactScanSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[28/40] Compiling AsyncStateMachine AsyncJustSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/40] Compiling AsyncStateMachine AsyncOnEachSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[30/40] Compiling AsyncStateMachine AsyncSerialSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[31/40] Compiling AsyncStateMachine Binding+Debounce.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[32/40] Compiling AsyncStateMachine Binding+Distinct.swift
[33/40] Compiling AsyncStateMachine Inject.swift
[34/40] Compiling AsyncStateMachine ManagedCriticalState.swift
[35/40] Compiling AsyncStateMachine Transition.swift
[36/40] Compiling AsyncStateMachine When.swift
[37/40] Compiling AsyncStateMachine AnyAsyncSequence.swift
[38/40] Compiling AsyncStateMachine AsyncStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
[39/40] Compiling AsyncStateMachine Engine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
[40/40] Compiling AsyncStateMachine ViewStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
Build complete! (9.55s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay.git"
    }
  ],
  "manifest_display_name" : "AsyncStateMachine",
  "name" : "AsyncStateMachine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncStateMachine",
      "targets" : [
        "AsyncStateMachine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncStateMachineTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStateMachineTests",
      "path" : "Tests",
      "sources" : [
        "AsyncStateMachine/AsyncStateMachineTests.swift",
        "AsyncStateMachine/EngineTests.swift",
        "AsyncStateMachine/ViewStateMachineTests.swift",
        "Runtime/ChannelTests.swift",
        "Runtime/ExecutionStrategyTests.swift",
        "Runtime/RuntimeTests.swift",
        "StateMachine/DSLCompatibleTests.swift",
        "StateMachine/ExecuteTests.swift",
        "StateMachine/GuardTests.swift",
        "StateMachine/OnTests.swift",
        "StateMachine/OneOfTests.swift",
        "StateMachine/StateMachineTests.swift",
        "StateMachine/TransitionTests.swift",
        "StateMachine/WhenTests.swift",
        "Supporting/AsyncBufferedChannelTests.swift",
        "Supporting/AsyncCompactScanSequenceTests.swift",
        "Supporting/AsyncJustSequenceTests.swift",
        "Supporting/AsyncOnEachSequenceTests.swift",
        "Supporting/AsyncSerialSequenceTests.swift",
        "Supporting/Binding+DebounceTests.swift",
        "Supporting/Binding+DistinctTests.swift",
        "Supporting/InjectTests.swift",
        "Supporting/OrderedStorageTests.swift",
        "Supporting/ThrowingInjectTests.swift",
        "Tools/AsyncLazySequence.swift",
        "Tools/AsyncSequence+Collect.swift",
        "Tools/AsyncSuspendableChannel.swift",
        "Tools/AsyncThrowingSequence.swift",
        "Tools/Task+ForEver.swift",
        "XCTest/XCTStateMachineTests.swift"
      ],
      "target_dependencies" : [
        "AsyncStateMachine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncStateMachine",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStateMachine",
      "path" : "Sources",
      "product_dependencies" : [
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "AsyncStateMachine"
      ],
      "sources" : [
        "AsyncStateMachine/AsyncStateMachine.swift",
        "AsyncStateMachine/Engine.swift",
        "AsyncStateMachine/ViewStateMachine.swift",
        "Runtime/Channel.swift",
        "Runtime/ExecutionStrategy.swift",
        "Runtime/Middleware.swift",
        "Runtime/Runtime.swift",
        "Runtime/SideEffect.swift",
        "StateMachine/DSLCompatible.swift",
        "StateMachine/Execute.swift",
        "StateMachine/Guard.swift",
        "StateMachine/Never+DSLCompatible.swift",
        "StateMachine/On.swift",
        "StateMachine/OneOf.swift",
        "StateMachine/StateMachine.swift",
        "StateMachine/Transition.swift",
        "StateMachine/When.swift",
        "Supporting/AnyAsyncSequence.swift",
        "Supporting/AsyncBufferedChannel.swift",
        "Supporting/AsyncCompactScanSequence.swift",
        "Supporting/AsyncJustSequence.swift",
        "Supporting/AsyncOnEachSequence.swift",
        "Supporting/AsyncSerialSequence.swift",
        "Supporting/Binding+Debounce.swift",
        "Supporting/Binding+Distinct.swift",
        "Supporting/Inject.swift",
        "Supporting/ManagedCriticalState.swift",
        "Supporting/OrderedStorage.swift",
        "Supporting/ThrowingInject.swift",
        "XCTest/XCTStateMachine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.