The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TypedNotificationCenter, reference 2.1.2 (6e682f), with Swift 6.3 for Linux on 21 Apr 2026 10:02:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cyberbeni/typednotificationcenter.git
Reference: 2.1.2
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/cyberbeni/typednotificationcenter
 * tag               2.1.2      -> FETCH_HEAD
HEAD is now at 6e682f9 Merge pull request #70 from Cyberbeni/xcframework-script-finetune
Cloned https://github.com/cyberbeni/typednotificationcenter.git
Revision (git rev-parse @):
6e682f918c89cc769218e4f41059d3cea6ea7e14
SUCCESS checkout https://github.com/cyberbeni/typednotificationcenter.git at 2.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cyberbeni/typednotificationcenter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/TypedNotificationCenter/Info.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling TypedNotificationCenter TypedNotification.swift
[4/17] Compiling TypedNotificationCenter TypedNotificationCenter.swift
[5/19] Compiling TypedNotificationCenter UIResponder.swift
[6/19] Compiling TypedNotificationCenter AnyPayloadTypedNotification.swift
[7/19] Compiling TypedNotificationCenter AnyTypedNotification.swift
[8/19] Compiling TypedNotificationCenter SameTypedNotification.swift
[9/19] Compiling TypedNotificationCenter TypedNotificationCenter+GenericBridgedNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:59:75: warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 57 | 			{
 58 | 				queue.addOperation {
 59 | 					block(Notification(name: notificationName, object: sender, userInfo: payload))
    |                                                                           `- warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 60 | 				}
 61 | 			} else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:73:75: warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 71 | 			{
 72 | 				queue.addOperation {
 73 | 					block(Notification(name: notificationName, object: sender, userInfo: payload))
    |                                                                           `- warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 74 | 				}
 75 | 			} else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/19] Compiling TypedNotificationCenter TypedNotificationObservation+GenericBridgedNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:59:75: warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 57 | 			{
 58 | 				queue.addOperation {
 59 | 					block(Notification(name: notificationName, object: sender, userInfo: payload))
    |                                                                           `- warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 60 | 				}
 61 | 			} else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:73:75: warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 71 | 			{
 72 | 				queue.addOperation {
 73 | 					block(Notification(name: notificationName, object: sender, userInfo: payload))
    |                                                                           `- warning: capture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 74 | 				}
 75 | 			} else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/19] Compiling TypedNotificationCenter TypedNotificationCenter+BridgedNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift:44:70: warning: capture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
42 | 				sender = aSender
43 | 				if notification.object != nil, !(notification.object is NSNull) {
44 | 					TypedNotificationCenter.invalidSenderBlock(notification.object, type.notificationName)
   |                                                                      `- warning: capture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
45 | 				}
46 | 			} else if let aSender = (notification.object ?? NSNull()) as? T.Sender {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[12/19] Compiling TypedNotificationCenter TypedNotificationObservation+NsNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift:44:70: warning: capture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
42 | 				sender = aSender
43 | 				if notification.object != nil, !(notification.object is NSNull) {
44 | 					TypedNotificationCenter.invalidSenderBlock(notification.object, type.notificationName)
   |                                                                      `- warning: capture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
45 | 				}
46 | 			} else if let aSender = (notification.object ?? NSNull()) as? T.Sender {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[13/19] Compiling TypedNotificationCenter TypedNotificationObservation+GenericNsNotification.swift
[14/19] Compiling TypedNotificationCenter PDFView.swift
[15/19] Compiling TypedNotificationCenter BridgedNotification+ErrorHandlingCustomization.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift:31:13: warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
29 | public struct NotificationDecodingError: LocalizedError {
30 | 	public var type: Any.Type
31 | 	public var source: [AnyHashable: Any]
   |             `- warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
32 |
33 | 	public init(type: Any.Type, source: [AnyHashable: Any]) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init()
[16/19] Compiling TypedNotificationCenter BridgedNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift:31:13: warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
29 | public struct NotificationDecodingError: LocalizedError {
30 | 	public var type: Any.Type
31 | 	public var source: [AnyHashable: Any]
   |             `- warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
32 |
33 | 	public init(type: Any.Type, source: [AnyHashable: Any]) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init()
[17/19] Emitting module TypedNotificationCenter
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift:31:13: warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
29 | public struct NotificationDecodingError: LocalizedError {
30 | 	public var type: Any.Type
31 | 	public var source: [AnyHashable: Any]
   |             `- warning: stored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'
32 |
33 | 	public init(type: Any.Type, source: [AnyHashable: Any]) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init()
[18/19] Compiling TypedNotificationCenter TypedNotificationObservation.swift
[19/19] Compiling TypedNotificationCenter WeakBox.swift
Build complete! (11.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TypedNotificationCenter",
  "name" : "TypedNotificationCenter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "TypedNotificationCenter",
      "targets" : [
        "TypedNotificationCenter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypedNotificationCenterTests",
      "module_type" : "SwiftTarget",
      "name" : "TypedNotificationCenterTests",
      "path" : "Tests/TypedNotificationCenterTests",
      "sources" : [
        "Bridged Notification tests/BridgedNotificationApiTests.swift",
        "Bridged Notification tests/BridgedNotificationInternalTests.swift",
        "Bridged Notification tests/NotificationNameApiTests.swift",
        "Bridged Notification tests/Utility/SampleBridgedNotification.swift",
        "Core tests/ApiTests.swift",
        "Core tests/AsyncApiTests.swift",
        "Core tests/Utility/SampleNotification.swift",
        "Internal tests/InternalTests.swift",
        "Utility/TestCase.swift",
        "Utility/XCTestCase+Utils.swift"
      ],
      "target_dependencies" : [
        "TypedNotificationCenter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypedNotificationCenterPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "TypedNotificationCenterPerformanceTests",
      "path" : "Tests/TypedNotificationCenterPerformanceTests",
      "sources" : [
        "BridgedNotification.swift",
        "Posting.swift",
        "Subscribing.swift",
        "Unsubscribing.swift",
        "Utility/PerformanceTestNotifications.swift",
        "Utility/TestCase.swift"
      ],
      "target_dependencies" : [
        "TypedNotificationCenter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypedNotificationCenter",
      "module_type" : "SwiftTarget",
      "name" : "TypedNotificationCenter",
      "path" : "Sources/TypedNotificationCenter",
      "product_memberships" : [
        "TypedNotificationCenter"
      ],
      "sources" : [
        "BridgedNotifications/Core/BridgedNotification+ErrorHandlingCustomization.swift",
        "BridgedNotifications/Core/BridgedNotification.swift",
        "BridgedNotifications/Core/TypedNotificationCenter+BridgedNotification.swift",
        "BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift",
        "BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift",
        "BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericBridgedNotification.swift",
        "BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericNsNotification.swift",
        "BridgedNotifications/PDFKit/PDFView.swift",
        "BridgedNotifications/UIKit/UIResponder.swift",
        "Core/TypeErasure/AnyPayloadTypedNotification.swift",
        "Core/TypeErasure/AnyTypedNotification.swift",
        "Core/TypeErasure/SameTypedNotification.swift",
        "Core/TypedNotification.swift",
        "Core/TypedNotificationCenter.swift",
        "Core/TypedNotificationObservation.swift",
        "Core/WeakBox.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.