Build Information
Successful build of AsyncStateMachine, reference 0.1.0 (54cfca), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 11:48:14 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/AsyncStateMachine.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/AsyncStateMachine
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 54cfca6 Merge pull request #19 from sideeffect-io/feature/debounce-in-readme
Cloned https://github.com/sideeffect-io/AsyncStateMachine.git
Revision (git rev-parse @):
54cfca6d65c78d32c4cb61fd2af910a7bf7010a4
SUCCESS checkout https://github.com/sideeffect-io/AsyncStateMachine.git at 0.1.0
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.59s)
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.31s)
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.78s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (0.41s)
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.47s)
Creating working copy for https://github.com/sideeffect-io/AsyncStateMachine.git
Working copy of https://github.com/sideeffect-io/AsyncStateMachine.git resolved at 0.1.0 (54cfca6)
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] Compiling XCTestDynamicOverlay XCTFail.swift
[8/9] Emitting module XCTestDynamicOverlay
[9/9] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[10/37] Compiling AsyncStateMachine Channel.swift
[11/37] Compiling AsyncStateMachine ExecutionStrategy.swift
[12/37] Compiling AsyncStateMachine Middleware.swift
[13/40] Compiling AsyncStateMachine Transition.swift
[14/40] Compiling AsyncStateMachine When.swift
[15/40] Compiling AsyncStateMachine AnyAsyncSequence.swift
[16/40] Emitting module AsyncStateMachine
[17/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>
[18/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>
[19/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>
[20/40] Compiling AsyncStateMachine Execute.swift
[21/40] Compiling AsyncStateMachine Guard.swift
[22/40] Compiling AsyncStateMachine Never+DSLCompatible.swift
[23/40] Compiling AsyncStateMachine On.swift
[24/40] Compiling AsyncStateMachine OneOf.swift
[25/40] Compiling AsyncStateMachine StateMachine.swift
[26/40] Compiling AsyncStateMachine OrderedStorage.swift
[27/40] Compiling AsyncStateMachine ThrowingInject.swift
[28/40] Compiling AsyncStateMachine XCTStateMachine.swift
[29/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 |
[30/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 |
[31/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 |
[32/40] Compiling AsyncStateMachine Binding+Distinct.swift
[33/40] Compiling AsyncStateMachine Inject.swift
[34/40] Compiling AsyncStateMachine ManagedCriticalState.swift
[35/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>
[36/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>
[37/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>
[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.41s)
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/AsyncCompactScanSequenceTests.swift",
"Supporting/AsyncJustSequenceTests.swift",
"Supporting/AsyncOnEachSequenceTests.swift",
"Supporting/AsyncSerialSequenceTests.swift",
"Supporting/AsyncSubjectTests.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.