The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Causality, reference master (da261a), with Swift 6.2 for Android on 19 Jun 2025 12:39:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at da261a5 Add link to FayeSwift project
Cloned https://github.com/dannys42/Causality.git
Revision (git rev-parse @):
da261a50546d538a0610d07bd1737f5312138466
SUCCESS checkout https://github.com/dannys42/Causality.git at master
========================================
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-4609320-2":/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 Message.swift
[4/14] Compiling Causality Address.swift
[5/14] Compiling Causality Bus.swift
[6/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
[7/14] Compiling Causality EventSubscription.swift
[8/14] Compiling Causality StateSubscription.swift
[9/14] Compiling Causality CausalityAnySubscription.swift
[10/14] Compiling Causality EncodableExtension.swift
[11/14] Compiling Causality Causality.swift
[12/14] Compiling Causality Event.swift
[13/14] Emitting module Causality
[14/14] Compiling Causality WorkQueue.swift
Build complete! (14.22s)
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.