Build Information
Failed to build UnleashProxyClientSwift, reference main (033bf6), with Swift 6.2 for Wasm on 17 Aug 2026 15:49:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Unleash/unleash-ios-sdk.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-ios-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 033bf6d chore: release 2.5.2 (#147)
Cloned https://github.com/Unleash/unleash-ios-sdk.git
Revision (git rev-parse @):
033bf6dbf5e1605f4839198a3173e77c91360d8b
SUCCESS checkout https://github.com/Unleash/unleash-ios-sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Unleash/unleash-ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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
Fetching https://github.com/cesarferreira/SwiftEventBus.git
[1/617] Fetching swifteventbus
Fetched https://github.com/cesarferreira/SwiftEventBus.git from cache (0.45s)
Computing version for https://github.com/cesarferreira/SwiftEventBus.git
Computed https://github.com/cesarferreira/SwiftEventBus.git at 5.3.0 (0.59s)
Creating working copy for https://github.com/cesarferreira/SwiftEventBus.git
Working copy of https://github.com/cesarferreira/SwiftEventBus.git resolved at 5.3.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")
| `- 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: Notification.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")
| `- 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: Notification.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: 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/.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.2 wasm