The Swift Package Index logo.Swift Package Index

Build Information

Successful build of StateMachine, reference 1.2.2 (6a954f), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 19:32:03 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sergejs/StateMachine.git
Reference: 1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sergejs/StateMachine
 * tag               1.2.2      -> FETCH_HEAD
HEAD is now at 6a954f1 Make some combine extention internal
Cloned https://github.com/sergejs/StateMachine.git
Revision (git rev-parse @):
6a954f149be0afa1006429e5da7ed5e14c4ad0e6
SUCCESS checkout https://github.com/sergejs/StateMachine.git at 1.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sergejs/StateMachine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-1EA4D86E10B52AF.txt
[4/10] Compiling SwiftLogger SwiftLogger.swift
[5/10] Compiling SwiftLogger osLogger.swift
[6/10] Emitting module SwiftLogger
[6/10] Write Objects.LinkFileList
[7/10] Linking libSwiftLogger.dylib
[9/13] Compiling StateMachine StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:113:16: warning: capture of non-sendable type 'EventType.Type' in an isolated closure
111 |
112 |         let transiotion = BlockOperation {
113 |           self.perform(transition: transition)
    |                `- warning: capture of non-sendable type 'EventType.Type' in an isolated closure
114 |         }
115 |         self.transitionQueue.addOperation(transiotion)
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:113:16: warning: capture of non-sendable type 'StateType.Type' in an isolated closure
111 |
112 |         let transiotion = BlockOperation {
113 |           self.perform(transition: transition)
    |                `- warning: capture of non-sendable type 'StateType.Type' in an isolated closure
114 |         }
115 |         self.transitionQueue.addOperation(transiotion)
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:106:15: warning: capture of non-sendable type 'EventType.Type' in an isolated closure
104 |       .sink(receiveValue: { [weak self] event, currentState in
105 |         guard
106 |           let self = self,
    |               `- warning: capture of non-sendable type 'EventType.Type' in an isolated closure
107 |           let transitions = self.transitions[event],
108 |           transitions.filter({ $0.from == currentState }).count == 1,
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:106:15: warning: capture of non-sendable type 'StateType.Type' in an isolated closure
104 |       .sink(receiveValue: { [weak self] event, currentState in
105 |         guard
106 |           let self = self,
    |               `- warning: capture of non-sendable type 'StateType.Type' in an isolated closure
107 |           let transitions = self.transitions[event],
108 |           transitions.filter({ $0.from == currentState }).count == 1,
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:126:11: warning: capture of non-sendable type 'EventType.Type' in an isolated closure
124 |
125 |         let transiotion = BlockOperation {
126 |           self.log(level: .info, "Performing RESET to \(self.initialState)")
    |           `- warning: capture of non-sendable type 'EventType.Type' in an isolated closure
127 |
128 |           self.state.send(self.initialState)
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:126:11: warning: capture of non-sendable type 'StateType.Type' in an isolated closure
124 |
125 |         let transiotion = BlockOperation {
126 |           self.log(level: .info, "Performing RESET to \(self.initialState)")
    |           `- warning: capture of non-sendable type 'StateType.Type' in an isolated closure
127 |
128 |           self.state.send(self.initialState)
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:123:19: warning: capture of non-sendable type 'EventType.Type' in an isolated closure
121 |     reset
122 |       .sink { [weak self] _ in
123 |         guard let self = self else { return }
    |                   `- warning: capture of non-sendable type 'EventType.Type' in an isolated closure
124 |
125 |         let transiotion = BlockOperation {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/StateMachine.swift:123:19: warning: capture of non-sendable type 'StateType.Type' in an isolated closure
121 |     reset
122 |       .sink { [weak self] _ in
123 |         guard let self = self else { return }
    |                   `- warning: capture of non-sendable type 'StateType.Type' in an isolated closure
124 |
125 |         let transiotion = BlockOperation {
[10/13] Emitting module StateMachine
[11/13] Compiling StateMachine Combine+WithLatestFrom.swift
[11/13] Write Objects.LinkFileList
[12/13] Linking libStateMachine.dylib
Build complete! (7.23s)
Fetching https://github.com/sergejs/SwiftLogger.git
[1/151] Fetching swiftlogger
Fetched https://github.com/sergejs/SwiftLogger.git from cache (0.67s)
Computing version for https://github.com/sergejs/SwiftLogger.git
Computed https://github.com/sergejs/SwiftLogger.git at 1.1.1 (1.17s)
Creating working copy for https://github.com/sergejs/SwiftLogger.git
Working copy of https://github.com/sergejs/SwiftLogger.git resolved at 1.1.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftlogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sergejs/SwiftLogger.git"
    }
  ],
  "manifest_display_name" : "StateMachine",
  "name" : "StateMachine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "StateMachine",
      "targets" : [
        "StateMachine"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StateMachineTests",
      "module_type" : "SwiftTarget",
      "name" : "StateMachineTests",
      "path" : "Tests/StateMachineTests",
      "sources" : [
        "StateMachineTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "StateMachine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StateMachine",
      "module_type" : "SwiftTarget",
      "name" : "StateMachine",
      "path" : "Sources/StateMachine",
      "product_dependencies" : [
        "SwiftLogger"
      ],
      "product_memberships" : [
        "StateMachine"
      ],
      "sources" : [
        "Combine+WithLatestFrom.swift",
        "StateMachine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.