The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TypedNotificationCenter, reference 2.1.2 (6e682f), with Swift 6.4 for Wasm on 19 Sep 2026 00:01:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build 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:         wasm
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-54344843-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/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()
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationCenter+BridgedNotification.swift:30:83: error: cannot find type 'OperationQueue' in scope
28 |
29 | extension TypedNotificationCenter {
30 | 	func _bridgeObserve<T: BridgedNotification>(_: T.Type, object: T.Sender?, queue: OperationQueue?, block: @escaping T.ObservationBlock) -> TypedNotificationObservation {
   |                                                                                   `- error: cannot find type 'OperationQueue' in scope
31 | 		_bridgeObserve(T.self, T.self)
32 | 		return _observe(T.self, object: object, queue: queue, block: block)
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift:97:88: error: cannot find type 'OperationQueue' in scope
 95 | 	// MARK: - Public interface
 96 |
 97 | 	public func observe(_ notificationName: Notification.Name, object: AnyObject?, queue: OperationQueue? = nil, block: @escaping (Notification) -> Void) -> TypedNotificationObservation {
    |                                                                                        `- error: cannot find type 'OperationQueue' in scope
 98 | 		let observation = _GenericBridgedNotificationObservation(notificationCenter: self, notificationName: notificationName, sender: object, queue: queue, block: block)
 99 |
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericBridgedNotification.swift:30:116: error: cannot find type 'OperationQueue' in scope
28 |
29 | final class _GenericBridgedNotificationObservation: TypedNotificationObservation {
30 | 	init(notificationCenter: TypedNotificationCenter, notificationName: Notification.Name, sender: AnyObject?, queue: OperationQueue?, block: @escaping (Notification) -> Void) {
   |                                                                                                                    `- error: cannot find type 'OperationQueue' in scope
31 | 		self.notificationCenter = notificationCenter
32 | 		self.notificationName = notificationName
/host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericBridgedNotification.swift:43:13: error: cannot find type 'OperationQueue' in scope
41 | 	weak var sender: AnyObject?
42 | 	let senderIdentifier: SenderIdentifier
43 | 	var queue: OperationQueue?
   |             `- error: cannot find type 'OperationQueue' in scope
44 | 	var block: ((Notification) -> Void)?
45 |
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyPayloadTypedNotification.swift:44:67: error: cannot find type 'OperationQueue' in scope
42 |
43 | public final class AnyPayloadTypedNotification<Sender> {
44 | 	fileprivate let observeBlock: (TypedNotificationCenter, Sender?, OperationQueue?, @escaping (Sender) -> Void) -> TypedNotificationObservation
   |                                                                   `- error: cannot find type 'OperationQueue' in scope
45 | 	init<T: TypedNotification>(_: T.Type) where T.Sender == Sender {
46 | 		observeBlock = { notificationCenter, sender, queue, notificationBlock in
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyPayloadTypedNotification.swift:63:93: error: cannot find type 'OperationQueue' in scope
61 |
62 | public extension TypedNotificationCenter {
63 | 	func observe<Sender>(_ proxy: AnyPayloadTypedNotification<Sender>, object: Sender?, queue: OperationQueue? = nil, block: @escaping (Sender) -> Void) -> TypedNotificationObservation {
   |                                                                                             `- error: cannot find type 'OperationQueue' in scope
64 | 		proxy.observeBlock(self, object, queue, block)
65 | 	}
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyTypedNotification.swift:44:58: error: cannot find type 'OperationQueue' in scope
42 |
43 | public final class AnyTypedNotification {
44 | 	fileprivate let observeBlock: (TypedNotificationCenter, OperationQueue?, @escaping () -> Void) -> TypedNotificationObservation
   |                                                          `- error: cannot find type 'OperationQueue' in scope
45 | 	init<T: TypedNotification>(_: T.Type) {
46 | 		observeBlock = { notificationCenter, queue, notificationBlock in
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyTypedNotification.swift:63:53: error: cannot find type 'OperationQueue' in scope
61 |
62 | public extension TypedNotificationCenter {
63 | 	func observe(_ proxy: AnyTypedNotification, queue: OperationQueue? = nil, block: @escaping () -> Void) -> TypedNotificationObservation {
   |                                                     `- error: cannot find type 'OperationQueue' in scope
64 | 		proxy.observeBlock(self, queue, block)
65 | 	}
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/SameTypedNotification.swift:44:67: error: cannot find type 'OperationQueue' in scope
42 |
43 | public final class SameTypedNotification<Sender, Payload> {
44 | 	fileprivate let observeBlock: (TypedNotificationCenter, Sender?, OperationQueue?, @escaping (Sender, Payload) -> Void) -> TypedNotificationObservation
   |                                                                   `- error: cannot find type 'OperationQueue' in scope
45 | 	fileprivate let postBlock: (TypedNotificationCenter, Sender, Payload) -> Void
46 | 	init<T: TypedNotification>(_: T.Type) where T.Sender == Sender, T.Payload == Payload {
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/SameTypedNotification.swift:70:105: error: cannot find type 'OperationQueue' in scope
68 |
69 | public extension TypedNotificationCenter {
70 | 	func observe<Sender, Payload>(_ proxy: SameTypedNotification<Sender, Payload>, object: Sender?, queue: OperationQueue? = nil,
   |                                                                                                         `- error: cannot find type 'OperationQueue' in scope
71 | 	                              block: @escaping (Sender, Payload) -> Void) -> TypedNotificationObservation
72 | 	{
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:70:75: error: cannot find type 'OperationQueue' in scope
 68 | 	}
 69 |
 70 | 	func _observe<T: TypedNotification>(_: T.Type, object: T.Sender?, queue: OperationQueue? = nil, block: @escaping T.ObservationBlock) -> TypedNotificationObservation {
    |                                                                           `- error: cannot find type 'OperationQueue' in scope
 71 | 		let object = T.Sender.self is NSNull.Type ? nil : object
 72 |
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift:129:81: error: cannot find type 'OperationQueue' in scope
127 | 	public static let `default` = TypedNotificationCenter()
128 |
129 | 	public func observe<T: TypedNotification>(_: T.Type, object: T.Sender?, queue: OperationQueue? = nil, block: @escaping T.ObservationBlock) -> TypedNotificationObservation {
    |                                                                                 `- error: cannot find type 'OperationQueue' in scope
130 | 		if let type = T.self as? any BridgedNotification.Type {
131 | 			_bridgeObserve(T.self, type.self)
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationObservation.swift:52:78: error: cannot find type 'OperationQueue' in scope
50 |
51 | final class _TypedNotificationObservation<T: TypedNotification>: TypedNotificationObservation {
52 | 	init(notificationCenter: TypedNotificationCenter, sender: T.Sender?, queue: OperationQueue?, block: @escaping T.ObservationBlock) {
   |                                                                              `- error: cannot find type 'OperationQueue' in scope
53 | 		self.notificationCenter = notificationCenter
54 | 		self.sender = sender
/host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationObservation.swift:63:13: error: cannot find type 'OperationQueue' in scope
61 | 	weak var sender: T.Sender?
62 | 	let senderIdentifier: SenderIdentifier
63 | 	var queue: OperationQueue?
   |             `- error: cannot find type 'OperationQueue' in scope
64 | 	var block: T.ObservationBlock?
65 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification+ErrorHandlingCustomization.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/BridgedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationCenter+BridgedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/Core/TypedNotificationObservation+NsNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationCenter+GenericBridgedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericBridgedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/GenericBridgedNotification/TypedNotificationObservation+GenericNsNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/PDFKit/PDFView.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/BridgedNotifications/UIKit/UIResponder.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyPayloadTypedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/AnyTypedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypeErasure/SameTypedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotification.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationCenter.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/TypedNotificationObservation.swift /host/spi-builder-workspace/Sources/TypedNotificationCenter/Core/WeakBox.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TypedNotificationCenter -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/TypedNotificationCenter_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/Modules/TypedNotificationCenter.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/Modules/TypedNotificationCenter.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/TypedNotificationCenter-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/TypedNotificationCenter-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/TypedNotificationCenter-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TypedNotificationCenter.build/Debug-webassembly-wasm32/TypedNotificationCenter-t.build/Objects-normal/wasm32/Modules/TypedNotificationCenter.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm