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 master (da261a), with Swift 6.2 (beta) for Linux on 19 Jun 2025 12:39:07 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Causality Causality.swift
[4/13] Compiling Causality Event.swift
[5/14] Emitting module Causality
[6/14] Compiling Causality Address.swift
[7/14] Compiling Causality Bus.swift
[8/14] Compiling Causality StateSubscription.swift
[9/14] Compiling Causality EventSubscription.swift
[10/14] Compiling Causality Message.swift
[11/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
[12/14] Compiling Causality CausalityAnySubscription.swift
[13/14] Compiling Causality EncodableExtension.swift
[14/14] Compiling Causality WorkQueue.swift
Build complete! (12.99s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.