Build Information
Successful build of TypedNotificationCenter, reference master (618367
), with Swift 6.2 (beta) for Linux on 20 Jun 2025 00:38:12 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: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/cyberbeni/typednotificationcenter.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/cyberbeni/typednotificationcenter
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6183677 Merge pull request #72 from Cyberbeni/format-workflow-update
Cloned https://github.com/cyberbeni/typednotificationcenter.git
Revision (git rev-parse @):
61836777a803f61d6f29152854a15018b13bfa63
SUCCESS checkout https://github.com/cyberbeni/typednotificationcenter.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/cyberbeni/typednotificationcenter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
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 TypedNotificationObservation+GenericNsNotification.swift
[4/17] Compiling TypedNotificationCenter PDFView.swift
[5/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]'; this is an error in the Swift 6 language mode
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]'; this is an error in the Swift 6 language mode
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()
[6/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]'; this is an error in the Swift 6 language mode
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]'; this is an error in the Swift 6 language mode
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()
[7/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>
[8/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>
[9/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 {
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift:57:30: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 | let PayloadType = T.Payload.self as! DictionaryRepresentable.Type
56 | let payload = try PayloadType.init(notification.userInfo ?? [:]) as! T.Payload
57 | typedNotificationCenter?._post(T.self, sender: sender, payload: payload)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 | } catch {
59 | TypedNotificationCenter.invalidPayloadBlock(error, notification.userInfo, type.notificationName)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[10/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 {
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift:57:30: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 | let PayloadType = T.Payload.self as! DictionaryRepresentable.Type
56 | let payload = try PayloadType.init(notification.userInfo ?? [:]) as! T.Payload
57 | typedNotificationCenter?._post(T.self, sender: sender, payload: payload)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 | } catch {
59 | TypedNotificationCenter.invalidPayloadBlock(error, notification.userInfo, type.notificationName)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/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]'; this is an error in the Swift 6 language mode
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]'; this is an error in the Swift 6 language mode
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()
[12/19] Compiling TypedNotificationCenter AnyTypedNotification.swift
[13/19] Compiling TypedNotificationCenter SameTypedNotification.swift
[14/19] Compiling TypedNotificationCenter TypedNotification.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:96:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 | guard let observation = observation.object as? _TypedNotificationObservation<T> else { return }
95 | if let queue = observation.queue,
96 | let block = observation.block
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 | {
98 | queue.addOperation {
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:110:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | else { return }
109 | if let queue = observation.queue,
110 | let block = observation.block
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | {
112 | queue.addOperation {
[15/19] Compiling TypedNotificationCenter TypedNotificationCenter.swift
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:96:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 | guard let observation = observation.object as? _TypedNotificationObservation<T> else { return }
95 | if let queue = observation.queue,
96 | let block = observation.block
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 | {
98 | queue.addOperation {
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:110:11: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | else { return }
109 | if let queue = observation.queue,
110 | let block = observation.block
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | {
112 | queue.addOperation {
[16/19] Compiling TypedNotificationCenter UIResponder.swift
[17/19] Compiling TypedNotificationCenter AnyPayloadTypedNotification.swift
[18/19] Compiling TypedNotificationCenter TypedNotificationObservation.swift
[19/19] Compiling TypedNotificationCenter WeakBox.swift
Build complete! (11.22s)
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.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.