Build Information
Successful build of TypedNotificationCenter, reference 2.1.2 (6e682f), with Swift 6.4 for Android on 19 Sep 2026 00:01:43 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/cyberbeni/typednotificationcenter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:11:13: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_13),
10 | .iOS(.v11),
11 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 | .tvOS(.v11),
13 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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/Tests/TypedNotificationCenterTests/Info.plist
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...
[Planning deferred tasks]
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift:31:13: [1;33mwarning: [1;39mstored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'[0;0m
[0;36m29 |[0;0m public struct NotificationDecodingError: LocalizedError {
[0;36m30 |[0;0m public var type: Any.Type
[0;36m31 |[0;0m public var source: [AnyHashable: Any]
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m public init(type: Any.Type, source: [AnyHashable: Any]) {
Swift.Dictionary:1:23: [1;39mnote: [1;39mgeneric struct 'Dictionary' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public struct Dictionary<Key, Value> where Key : Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Dictionary' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public typealias Element = (key: Key, value: Value)
[0;36m3 |[0;0m @inlinable public init()
[28 / 36] TypedNotificationCenter
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:59:75: [1;33mwarning: [1;39mcapture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m57 |[0;0m {
[0;36m58 |[0;0m queue.addOperation {
[0;36m59 |[0;0m block(Notification(name: notificationName, object: sender, userInfo: payload))
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m60 |[0;0m }
[0;36m61 |[0;0m } else {
Swift.Optional:1:21: [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m case none
[0;36m3 |[0;0m case some(Wrapped)
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:73:75: [1;33mwarning: [1;39mcapture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m71 |[0;0m {
[0;36m72 |[0;0m queue.addOperation {
[0;36m73 |[0;0m block(Notification(name: notificationName, object: sender, userInfo: payload))
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'payload' with non-Sendable type '[AnyHashable : Any]?' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m74 |[0;0m }
[0;36m75 |[0;0m } else {
Swift.Optional:1:21: [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m case none
[0;36m3 |[0;0m case some(Wrapped)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift:31:13: [1;33mwarning: [1;39mstored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'[0;0m
[0;36m29 |[0;0m public struct NotificationDecodingError: LocalizedError {
[0;36m30 |[0;0m public var type: Any.Type
[0;36m31 |[0;0m public var source: [AnyHashable: Any]
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'source' of 'Sendable'-conforming struct 'NotificationDecodingError' has non-Sendable type '[AnyHashable : Any]'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m public init(type: Any.Type, source: [AnyHashable: Any]) {
Swift.Dictionary:1:23: [1;39mnote: [1;39mgeneric struct 'Dictionary' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public struct Dictionary<Key, Value> where Key : Hashable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Dictionary' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m public typealias Element = (key: Key, value: Value)
[0;36m3 |[0;0m @inlinable public init()
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift:44:70: [1;33mwarning: [1;39mcapture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m42 |[0;0m sender = aSender
[0;36m43 |[0;0m if notification.object != nil, !(notification.object is NSNull) {
[0;36m44 |[0;0m TypedNotificationCenter.invalidSenderBlock(notification.object, type.notificationName)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'type' with non-Sendable type 'any BridgedNotification.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m45 |[0;0m }
[0;36m46 |[0;0m } else if let aSender = (notification.object ?? NSNull()) as? T.Sender {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[36 / 37] TypedNotificationCenter
Build complete! (5.95 secs)
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"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:11:13: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
9 | .macOS(.v10_13),
10 | .iOS(.v11),
11 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
12 | .tvOS(.v11),
13 | ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Done.