The Swift Package Index logo.Swift Package Index

Build Information

Successful build of EventHub, reference master (b1427c), with Swift 6.2 for Linux on 18 Jun 2025 02:44:00 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/imbue11235/EventHub.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/imbue11235/EventHub
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b1427c8 Updated readme
Cloned https://github.com/imbue11235/EventHub.git
Revision (git rev-parse @):
b1427c8ee0c2f3bb1223a725deeaced32da05ab2
SUCCESS checkout https://github.com/imbue11235/EventHub.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/imbue11235/EventHub.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/8] Compiling EventHub Listener.swift
[4/8] Compiling EventHub Event.swift
[5/8] Compiling EventHub EventHub+SubscriptionType.swift
[6/8] Emitting module EventHub
[7/8] Compiling EventHub EventHub+Subscriber.swift
[8/8] Compiling EventHub EventHub.swift
/host/spi-builder-workspace/Sources/EventHub/EventHub.swift:30:22: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         self.subscriptions.forEach { subscriber in
29 |             self.queue.async {
30 |                 self.notify(a: subscriber, of: event)
   |                      `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |             }
32 |         }
/host/spi-builder-workspace/Sources/EventHub/EventHub.swift:27:35: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |     }
26 |
27 |     public func trigger<T: Event>(event: T) {
   |                                   `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |         self.subscriptions.forEach { subscriber in
29 |             self.queue.async {
Build complete! (12.52s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EventHub",
  "name" : "EventHub",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EventHub",
      "targets" : [
        "EventHub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EventHubTests",
      "module_type" : "SwiftTarget",
      "name" : "EventHubTests",
      "path" : "Tests/EventHubTests",
      "sources" : [
        "EventHubTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "EventHub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EventHub",
      "module_type" : "SwiftTarget",
      "name" : "EventHub",
      "path" : "Sources/EventHub",
      "product_memberships" : [
        "EventHub"
      ],
      "sources" : [
        "Event.swift",
        "EventHub+Subscriber.swift",
        "EventHub+SubscriptionType.swift",
        "EventHub.swift",
        "Listener.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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.