The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build UnleashProxyClientSwift, reference main (064309), with Swift 6.1 for Wasm on 30 May 2025 21:48:22 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/Unleash/unleash-proxy-client-swift.git
Reference: main
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/Unleash/unleash-proxy-client-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0643098 Fix link in README.md (#124)
Cloned https://github.com/Unleash/unleash-proxy-client-swift.git
Revision (git rev-parse @):
06430983b6d453b42287ca364f9e4558521f7669
SUCCESS checkout https://github.com/Unleash/unleash-proxy-client-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Unleash/unleash-proxy-client-swift.git
https://github.com/Unleash/unleash-proxy-client-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swifteventbus",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/cesarferreira/SwiftEventBus.git"
    }
  ],
  "manifest_display_name" : "UnleashProxyClientSwift",
  "name" : "UnleashProxyClientSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "UnleashProxyClientSwift",
      "targets" : [
        "UnleashProxyClientSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnleashProxyClientSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "UnleashProxyClientSwiftTests",
      "path" : "Tests/UnleashProxyClientSwiftTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/UnleashProxyClientSwiftTests/FeatureResponseStub.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BootstrapTests.swift",
        "ImpressionEventsTests.swift",
        "MetricsTests.swift",
        "MockMetrics.swift",
        "MockPoller.swift",
        "PollerTests.swift",
        "UnleashClientIntegrationTest.swift",
        "UnleashProxyClientSwiftTests.swift",
        "testUtils.swift"
      ],
      "target_dependencies" : [
        "UnleashProxyClientSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UnleashProxyClientSwift",
      "module_type" : "SwiftTarget",
      "name" : "UnleashProxyClientSwift",
      "path" : "Sources/UnleashProxyClientSwift",
      "product_dependencies" : [
        "SwiftEventBus"
      ],
      "product_memberships" : [
        "UnleashProxyClientSwift"
      ],
      "sources" : [
        "Client/Bootstrap.swift",
        "Client/UnleashProxyClientSwift.swift",
        "DTO/Context.swift",
        "DTO/FeatureResponse.swift",
        "DTO/Payload.swift",
        "DTO/Toggle.swift",
        "DTO/UnleashEvent.swift",
        "DTO/Variant.swift",
        "Events/ImpressionEvent.swift",
        "Metrics/Bucket.swift",
        "Metrics/Metrics.swift",
        "Metrics/MetricsPayload.swift",
        "Metrics/ToggleMetrics.swift",
        "Poller/CustomHeadersProvider.swift",
        "Poller/DefaultCustomHeadersProvider.swift",
        "Poller/DictionaryStorageProvider.swift",
        "Poller/Poller.swift",
        "Poller/PollerError.swift",
        "Poller/PollerSession.swift",
        "Poller/StorageProvider.swift",
        "Utils/Date+iso8601String.swift",
        "Utils/Printer.swift",
        "Utils/URLSession+Extensions.swift",
        "Utils/utils.swift",
        "Version/Version.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
Fetching https://github.com/cesarferreira/SwiftEventBus.git
[1/547] Fetching swifteventbus
Fetched https://github.com/cesarferreira/SwiftEventBus.git from cache (0.27s)
Computing version for https://github.com/cesarferreira/SwiftEventBus.git
Computed https://github.com/cesarferreira/SwiftEventBus.git at 5.1.0 (0.80s)
Creating working copy for https://github.com/cesarferreira/SwiftEventBus.git
Working copy of https://github.com/cesarferreira/SwiftEventBus.git resolved at 5.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SwiftEventBus
/host/spi-builder-workspace/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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)
[5/5] Compiling SwiftEventBus SwiftEventBus.swift
/host/spi-builder-workspace/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftEventBus
/host/spi-builder-workspace/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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)
[3/3] Compiling SwiftEventBus SwiftEventBus.swift
/host/spi-builder-workspace/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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/.build/checkouts/SwiftEventBus/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.1 wasm