Build Information
Successful build of AsyncStateMachine, reference 0.1.0 (54cfca), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 22:10:19 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/sideeffect-io/AsyncStateMachine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] XCTestDynamicOverlay
[36 / 88]
[41 / 88]
[45 / 88]
[46 / 88]
[50 / 88]
[52 / 88]
[55 / 88]
[59 / 88]
[61 / 88]
[62 / 88]
[71 / 88] XCTestDynamicOverlay
[78 / 89] XCTestDynamicOverlay
[78 / 89] AsyncStateMachine
[84 / 130]
[91 / 130]
[96 / 130]
[99 / 130]
[100 / 130]
[104 / 130]
[107 / 130]
[107 / 130] XCTestDynamicOverlay
[109 / 130]
[121 / 130] AsyncStateMachine
[127 / 130] AsyncStateMachine
Build complete! (9.92 sec)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git (1.56s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 0.9.0 (2.27s)
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
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: [1;33mwarning: [1;39m'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m121 |[0;0m let cancellation = ManagedCriticalState<Bool>(false)
[0;36m122 |[0;0m
[0;36m123 |[0;0m return await withTaskCancellationHandler { [state] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'withTaskCancellationHandler(operation:onCancel:)' instead[0;0m
[0;36m124 |[0;0m let awaiting = state.withCriticalRegion { state -> Awaiting? in
[0;36m125 |[0;0m cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.[0;0m
[0;36m59 |[0;0m var other = other
[0;36m60 |[0;0m // compare memory bitwise (should be the priviledged comparaison point)
[0;36m61 |[0;0m return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
[0;36m|[0;0m `- [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.[0;0m
[0;36m62 |[0;0m }
[0;36m63 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.[0;0m
[0;36m59 |[0;0m var other = other
[0;36m60 |[0;0m // compare memory bitwise (should be the priviledged comparaison point)
[0;36m61 |[0;0m return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
[0;36m|[0;0m `- [1;33mwarning: [1;39mforming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.[0;0m
[0;36m62 |[0;0m }
[0;36m63 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:18: [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m44 |[0;0m }
[0;36m45 |[0;0m
[0;36m46 |[0;0m let engine = Engine(
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m47 |[0;0m resolveOutput: stateMachine.output(for:),
[0;36m48 |[0;0m computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:56:39: [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m54 |[0;0m self.stateSequence = self
[0;36m55 |[0;0m .eventChannel
[0;36m56 |[0;0m .onEach { event in await engine.process(event: event) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m57 |[0;0m .compactScan(self.initialState, engine.computeNextState)
[0;36m58 |[0;0m .serial()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:59:39: [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m57 |[0;0m .compactScan(self.initialState, engine.computeNextState)
[0;36m58 |[0;0m .serial()
[0;36m59 |[0;0m .onEach { state in await engine.process(state: state, sendBackEvent: channel.send(_:)) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m60 |[0;0m
[0;36m61 |[0;0m // As channels are retained as long as there is a sender using it,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:19: [1;33mwarning: [1;39mconformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m62 |[0;0m return Task { [weak self] in
[0;36m63 |[0;0m await task.value
[0;36m64 |[0;0m await self?.removeTaskInProgress(index: taskIndex)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m65 |[0;0m }
[0;36m66 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:19: [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m62 |[0;0m return Task { [weak self] in
[0;36m63 |[0;0m await task.value
[0;36m64 |[0;0m await self?.removeTaskInProgress(index: taskIndex)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m65 |[0;0m }
[0;36m66 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: [1;33mwarning: [1;39mactor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode[0;0m
[0;36m88 |[0;0m }
[0;36m89 |[0;0m
[0;36m90 |[0;0m func cancelTasksInProgress() {
[0;36m|[0;0m `- [1;39mnote: [1;39mcalls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous[0;0m
[0;36m91 |[0;0m self
[0;36m92 |[0;0m .tasksInProgress
[0;36m:[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m deinit {
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'isolated' to run isolated to 'Engine', which may be later than 'nonisolated deinit'[0;0m
[0;36m181 |[0;0m self.cancelTasksInProgress()
[0;36m|[0;0m `- [1;33mwarning: [1;39mactor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode[0;0m
[0;36m182 |[0;0m self.onDeinit?()
[0;36m183 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: [1;33mwarning: [1;39mconformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m119 |[0;0m for await state in self.asyncStateMachine {
[0;36m120 |[0;0m let viewState = self.stateToViewState(state)
[0;36m121 |[0;0m await self.publish(state: viewState)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m122 |[0;0m
[0;36m123 |[0;0m // resuming suspended sends if the state is the expected one
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: [1;33mwarning: [1;39mconformance of 'E' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m119 |[0;0m for await state in self.asyncStateMachine {
[0;36m120 |[0;0m let viewState = self.stateToViewState(state)
[0;36m121 |[0;0m await self.publish(state: viewState)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'E' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m122 |[0;0m
[0;36m123 |[0;0m // resuming suspended sends if the state is the expected one
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m119 |[0;0m for await state in self.asyncStateMachine {
[0;36m120 |[0;0m let viewState = self.stateToViewState(state)
[0;36m121 |[0;0m await self.publish(state: viewState)
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
[0;36m122 |[0;0m
[0;36m123 |[0;0m // resuming suspended sends if the state is the expected one
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: [1;33mwarning: [1;39m'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m146 |[0;0m let isCancelled = ManagedCriticalState<Bool>(false)
[0;36m147 |[0;0m
[0;36m148 |[0;0m return try await withTaskCancellationHandler { [weak self] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'withTaskCancellationHandler(operation:onCancel:)' instead[0;0m
[0;36m149 |[0;0m self?.handleNextCancellation(
[0;36m150 |[0;0m tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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.