The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Causality, reference 0.0.6 (4122e2), with Swift 6.2 (beta) for Android on 19 Jun 2025 12:39:06 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dannys42/Causality.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/13] Compiling Causality EventSubscription.swift
[4/13] Compiling Causality StateSubscription.swift
[5/13] Emitting module Causality
[6/13] Compiling Causality CausalityAnySubscription.swift
[7/13] Compiling Causality EncodableExtension.swift
[8/13] Compiling Causality Address.swift
[9/13] Compiling Causality Bus.swift
[10/13] Compiling Causality Causality.swift
[11/13] Compiling Causality Event.swift
[12/14] Compiling Causality Message.swift
[13/14] Compiling Causality State.swift
/host/spi-builder-workspace/Sources/Causality/State.swift:187:33: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
188 |                 newSubscribers.removeValue(forKey: subscription.id)
189 |             }
/host/spi-builder-workspace/Sources/Causality/State.swift:184:94: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
185 |         self.queue.async {
186 |             var newSubscribers = self.eventSubscribers
/host/spi-builder-workspace/Sources/Causality/State.swift:205:35: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
206 |
207 |             if let lastState = self.state[state.causalityStateId] as? Value {
/host/spi-builder-workspace/Sources/Causality/State.swift:203:13: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
204 |         self.queue.async {
205 |             self.stateSubscribers[subscriber.id] = subscriber
[14/14] Compiling Causality WorkQueue.swift
Build complete! (17.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Causality",
  "name" : "Causality",
  "path" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.