The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftEventBus, reference 5.3.0 (588722), with Swift 6.2 for Wasm on 11 Aug 2026 11:41:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cesarferreira/SwiftEventBus.git
Reference: 5.3.0
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/cesarferreira/SwiftEventBus
 * tag               5.3.0      -> FETCH_HEAD
HEAD is now at 588722d Refresh README for SPM-first integration and release 5.3.0.
Cloned https://github.com/cesarferreira/SwiftEventBus.git
Revision (git rev-parse @):
588722d006bf04dd4e9feec4853cc9d1cc25b656
SUCCESS checkout https://github.com/cesarferreira/SwiftEventBus.git at 5.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cesarferreira/SwiftEventBus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftEventBus
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:7:28: error: cannot find 'DispatchQueue' in scope
  5 |     struct Static {
  6 |         static let instance = SwiftEventBus()
  7 |         static let queue = DispatchQueue(label: "com.cesarferreira.SwiftEventBus")
    |                            `- error: cannot find 'DispatchQueue' in scope
  8 |     }
  9 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:60:86: error: cannot find type 'OperationQueue' in scope
 58 |
 59 |     @discardableResult
 60 |     open class func on(_ target: AnyObject, name: String, sender: Any? = nil, queue: OperationQueue?, handler: @escaping ((Notification?) -> Void)) -> NSObjectProtocol {
    |                                                                                      `- error: cannot find type 'OperationQueue' in scope
 61 |         let id = UInt(bitPattern: ObjectIdentifier(target))
 62 |         let observer = NotificationCenter.default.addObserver(forName: Notification.Name(rawValue: name), object: sender, queue: queue, using: handler)
[4/4] Compiling SwiftEventBus SwiftEventBus.swift
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:7:28: error: cannot find 'DispatchQueue' in scope
  5 |     struct Static {
  6 |         static let instance = SwiftEventBus()
  7 |         static let queue = DispatchQueue(label: "com.cesarferreira.SwiftEventBus")
    |                            `- error: cannot find 'DispatchQueue' in scope
  8 |     }
  9 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:60:86: error: cannot find type 'OperationQueue' in scope
 58 |
 59 |     @discardableResult
 60 |     open class func on(_ target: AnyObject, name: String, sender: Any? = nil, queue: OperationQueue?, handler: @escaping ((Notification?) -> Void)) -> NSObjectProtocol {
    |                                                                                      `- error: cannot find type 'OperationQueue' in scope
 61 |         let id = UInt(bitPattern: ObjectIdentifier(target))
 62 |         let observer = NotificationCenter.default.addObserver(forName: Notification.Name(rawValue: name), object: sender, queue: queue, using: handler)
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:24:9: error: cannot find 'NotificationCenter' in scope
 22 |
 23 |     open class func post(_ name: String, sender: Any? = nil) {
 24 |         NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
    |         `- error: cannot find 'NotificationCenter' in scope
 25 |     }
 26 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:28:9: error: cannot find 'NotificationCenter' in scope
 26 |
 27 |     open class func post(_ name: String, sender: NSObject?) {
 28 |         NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
    |         `- error: cannot find 'NotificationCenter' in scope
 29 |     }
 30 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:32:9: error: cannot find 'NotificationCenter' in scope
 30 |
 31 |     open class func post(_ name: String, sender: Any? = nil, userInfo: [AnyHashable: Any]?) {
 32 |         NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender, userInfo: userInfo)
    |         `- error: cannot find 'NotificationCenter' in scope
 33 |     }
 34 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:36:9: error: cannot find 'DispatchQueue' in scope
 34 |
 35 |     open class func postToMainThread(_ name: String, sender: Any? = nil) {
 36 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
 37 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
 38 |         }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:37:13: error: cannot find 'NotificationCenter' in scope
 35 |     open class func postToMainThread(_ name: String, sender: Any? = nil) {
 36 |         DispatchQueue.main.async {
 37 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
    |             `- error: cannot find 'NotificationCenter' in scope
 38 |         }
 39 |     }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:42:9: error: cannot find 'DispatchQueue' in scope
 40 |
 41 |     open class func postToMainThread(_ name: String, sender: NSObject?) {
 42 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
 43 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
 44 |         }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:43:13: error: cannot find 'NotificationCenter' in scope
 41 |     open class func postToMainThread(_ name: String, sender: NSObject?) {
 42 |         DispatchQueue.main.async {
 43 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender)
    |             `- error: cannot find 'NotificationCenter' in scope
 44 |         }
 45 |     }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:48:9: error: cannot find 'DispatchQueue' in scope
 46 |
 47 |     open class func postToMainThread(_ name: String, sender: Any? = nil, userInfo: [AnyHashable: Any]?) {
 48 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
 49 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender, userInfo: userInfo)
 50 |         }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:49:13: error: cannot find 'NotificationCenter' in scope
 47 |     open class func postToMainThread(_ name: String, sender: Any? = nil, userInfo: [AnyHashable: Any]?) {
 48 |         DispatchQueue.main.async {
 49 |             NotificationCenter.default.post(name: Notification.Name(rawValue: name), object: sender, userInfo: userInfo)
    |             `- error: cannot find 'NotificationCenter' in scope
 50 |         }
 51 |     }
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:62:24: error: cannot find 'NotificationCenter' in scope
 60 |     open class func on(_ target: AnyObject, name: String, sender: Any? = nil, queue: OperationQueue?, handler: @escaping ((Notification?) -> Void)) -> NSObjectProtocol {
 61 |         let id = UInt(bitPattern: ObjectIdentifier(target))
 62 |         let observer = NotificationCenter.default.addObserver(forName: Notification.Name(rawValue: name), object: sender, queue: queue, using: handler)
    |                        `- error: cannot find 'NotificationCenter' in scope
 63 |         let namedObserver = NamedObserver(observer: observer, name: name)
 64 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:78:76: error: cannot find 'OperationQueue' in scope
 76 |     @discardableResult
 77 |     open class func onMainThread(_ target: AnyObject, name: String, sender: Any? = nil, handler: @escaping ((Notification?) -> Void)) -> NSObjectProtocol {
 78 |         return SwiftEventBus.on(target, name: name, sender: sender, queue: OperationQueue.main, handler: handler)
    |                                                                            `- error: cannot find 'OperationQueue' in scope
 79 |     }
 80 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:83:76: error: cannot find 'OperationQueue' in scope
 81 |     @discardableResult
 82 |     open class func onBackgroundThread(_ target: AnyObject, name: String, sender: Any? = nil, handler: @escaping ((Notification?) -> Void)) -> NSObjectProtocol {
 83 |         return SwiftEventBus.on(target, name: name, sender: sender, queue: OperationQueue(), handler: handler)
    |                                                                            `- error: cannot find 'OperationQueue' in scope
 84 |     }
 85 |
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:92:22: error: cannot find 'NotificationCenter' in scope
 90 |     open class func unregister(_ target: AnyObject) {
 91 |         let id = UInt(bitPattern: ObjectIdentifier(target))
 92 |         let center = NotificationCenter.default
    |                      `- error: cannot find 'NotificationCenter' in scope
 93 |
 94 |         Static.queue.sync {
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:105:22: error: cannot find 'NotificationCenter' in scope
103 |     open class func unregister(_ target: AnyObject, name: String) {
104 |         let id = UInt(bitPattern: ObjectIdentifier(target))
105 |         let center = NotificationCenter.default
    |                      `- error: cannot find 'NotificationCenter' in scope
106 |
107 |         Static.queue.sync {
BUILD FAILURE 6.2 wasm