The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Causality, reference 0.0.6 (4122e2), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 12:38:44 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/dannys42/Causality.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dannys42/Causality
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 4122e20 Update inline doc for DynamicState.
Cloned https://github.com/dannys42/Causality.git
Revision (git rev-parse @):
4122e2059ffb26f051869c5d3c0d4c2dfd9096a5
SUCCESS checkout https://github.com/dannys42/Causality.git at 0.0.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dannys42/Causality.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/13] Compiling Causality EventSubscription.swift
[4/14] Compiling Causality StateSubscription.swift
[5/14] Compiling Causality EncodableExtension.swift
[6/14] Compiling Causality Causality.swift
[7/14] Compiling Causality CausalityAnySubscription.swift
[8/14] Compiling Causality Address.swift
[9/14] Compiling Causality Bus.swift
[10/14] Emitting module Causality
[11/14] Compiling Causality Event.swift
[12/14] Compiling Causality Message.swift
[13/14] Compiling Causality State.swift
/Users/admin/builder/spi-builder-workspace/Sources/Causality/State.swift:187:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure
185 |         self.queue.async {
186 |             var newSubscribers = self.eventSubscribers
187 |             for subscription in subscriptions {
    |                                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
188 |                 newSubscribers.removeValue(forKey: subscription.id)
189 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Causality/State.swift:184:94: warning: capture of non-sendable type 'Value.Type' in an isolated closure
182 |     /// Unsubscribe an array of subscriptions
183 |     /// - Parameter subscriptions: Subscriptions to unsubscribe from
184 |     public func unsubscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ subscriptions: [Causality.StateSubscription<State, Value>]) {
    |                                                                                              `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
185 |         self.queue.async {
186 |             var newSubscribers = self.eventSubscribers
/Users/admin/builder/spi-builder-workspace/Sources/Causality/State.swift:205:35: warning: capture of non-sendable type 'Value.Type' in an isolated closure
203 |         let subscriber = Causality.StateSubscription(bus: self, state: state, handler: handler, workQueue: workQueue)
204 |         self.queue.async {
205 |             self.stateSubscribers[subscriber.id] = subscriber
    |                                   `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
206 |
207 |             if let lastState = self.state[state.causalityStateId] as? Value {
/Users/admin/builder/spi-builder-workspace/Sources/Causality/State.swift:203:13: warning: capture of non-sendable type 'Value.Type' in an isolated closure
201 |     private func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, workQueue: WorkQueue, handler: @escaping (Causality.StateSubscription<State, Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
202 |
203 |         let subscriber = Causality.StateSubscription(bus: self, state: state, handler: handler, workQueue: workQueue)
    |             `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
204 |         self.queue.async {
205 |             self.stateSubscribers[subscriber.id] = subscriber
[14/14] Compiling Causality WorkQueue.swift
Build complete! (4.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Causality",
  "name" : "Causality",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Causality",
      "targets" : [
        "Causality"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CausalityTests",
      "module_type" : "SwiftTarget",
      "name" : "CausalityTests",
      "path" : "Tests/CausalityTests",
      "sources" : [
        "EventTests.swift",
        "StateTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Causality"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Causality",
      "module_type" : "SwiftTarget",
      "name" : "Causality",
      "path" : "Sources/Causality",
      "product_memberships" : [
        "Causality"
      ],
      "sources" : [
        "Address.swift",
        "Bus.swift",
        "Causality.swift",
        "Event.swift",
        "Internal/CausalityAnySubscription.swift",
        "Internal/EncodableExtension.swift",
        "Internal/EventSubscription.swift",
        "Internal/StateSubscription.swift",
        "Message.swift",
        "State.swift",
        "WorkQueue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.