The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftEventBus, reference 5.1.0 (a30ff3), with Swift 6.1 for Wasm on 28 May 2025 12:04:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cesarferreira/SwiftEventBus.git
Reference: 5.1.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.1.0      -> FETCH_HEAD
HEAD is now at a30ff35 bumped to 5.1.0
Cloned https://github.com/cesarferreira/SwiftEventBus.git
Revision (git rev-parse @):
a30ff35e616f507d8a8d122dac32a2150371a87e
SUCCESS checkout https://github.com/cesarferreira/SwiftEventBus.git at 5.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cesarferreira/SwiftEventBus.git
https://github.com/cesarferreira/SwiftEventBus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftEventBus",
  "name" : "SwiftEventBus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftEventBus",
      "targets" : [
        "SwiftEventBus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SwiftEventBus",
      "module_type" : "SwiftTarget",
      "name" : "SwiftEventBus",
      "path" : "SwiftEventBus",
      "product_memberships" : [
        "SwiftEventBus"
      ],
      "sources" : [
        "SwiftEventBus.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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:6:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SwiftEventBus' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class SwiftEventBus {
    |            `- note: class 'SwiftEventBus' does not conform to the 'Sendable' protocol
  4 |
  5 |     struct Static {
  6 |         static let instance = SwiftEventBus()
    |                    |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SwiftEventBus' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |         static let queue = DispatchQueue(label: "com.cesarferreira.SwiftEventBus", attributes: [])
  8 |     }
/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", attributes: [])
    |                            `- 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: NSNotification.Name(rawValue: name), object: sender, queue: queue, using: handler)
[4/4] Compiling SwiftEventBus SwiftEventBus.swift
/host/spi-builder-workspace/SwiftEventBus/SwiftEventBus.swift:6:20: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SwiftEventBus' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | open class SwiftEventBus {
    |            `- note: class 'SwiftEventBus' does not conform to the 'Sendable' protocol
  4 |
  5 |     struct Static {
  6 |         static let instance = SwiftEventBus()
    |                    |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SwiftEventBus' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |         static let queue = DispatchQueue(label: "com.cesarferreira.SwiftEventBus", attributes: [])
  8 |     }
/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", attributes: [])
    |                            `- 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: NSNotification.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: NSNotification.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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] 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", attributes: [])
    |                            `- 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: NSNotification.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: NSNotification.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/3] 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", attributes: [])
    |                            `- 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: NSNotification.Name(rawValue: name), object: sender, queue: queue, using: handler)
BUILD FAILURE 6.1 wasm