The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                  `- 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>
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:18: warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
44 |     }
45 |
46 |     let engine = Engine(
   |                  `- warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:56:39: warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
54 |     self.stateSequence = self
55 |       .eventChannel
56 |       .onEach { event in await engine.process(event: event) }
   |                                       `- warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:59:39: warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
59 |       .onEach { state in await engine.process(state: state, sendBackEvent: channel.send(_:)) }
   |                                       `- warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
60 |
61 |     // 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: warning: conformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                   `- warning: conformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:19: warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                   `- warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 65 |     }
 66 |   }
/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
    :
178 |   }
179 |
180 |   deinit {
    |   `- note: add 'isolated' to run isolated to 'Engine', which may be later than 'nonisolated 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 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: warning: conformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
119 |     for await state in self.asyncStateMachine {
120 |       let viewState = self.stateToViewState(state)
121 |       await self.publish(state: viewState)
    |                  `- warning: conformance of 'S' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
122 |
123 |       // resuming suspended sends if the state is the expected one
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: warning: conformance of 'E' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
119 |     for await state in self.asyncStateMachine {
120 |       let viewState = self.stateToViewState(state)
121 |       await self.publish(state: viewState)
    |                  `- warning: conformance of 'E' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
122 |
123 |       // resuming suspended sends if the state is the expected one
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:121:18: warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
119 |     for await state in self.asyncStateMachine {
120 |       let viewState = self.stateToViewState(state)
121 |       await self.publish(state: viewState)
    |                  `- warning: conformance of 'O' to protocol 'DSLCompatible' may be isolated and cannot be passed to main actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
122 |
123 |       // 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: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         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.