Build Information
Failed to build ETBinding, reference master (92500a), with Swift 6.1 for Wasm on 27 May 2025 06:46:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EtneteraMobile/ETBinding.git
Reference: master
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/EtneteraMobile/ETBinding
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 92500ab Merge pull request #19 from EtneteraMobile/target_version_bump
Cloned https://github.com/EtneteraMobile/ETBinding.git
Revision (git rev-parse @):
92500ab3b5d972fe8282478273b2cec0cb828d0a
SUCCESS checkout https://github.com/EtneteraMobile/ETBinding.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/EtneteraMobile/ETBinding.git
https://github.com/EtneteraMobile/ETBinding.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ETBinding",
"name" : "ETBinding",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ETBinding",
"targets" : [
"ETBinding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ETBinding",
"module_type" : "SwiftTarget",
"name" : "ETBinding",
"path" : "Sources/ETBinding",
"product_memberships" : [
"ETBinding"
],
"sources" : [
"Constants.swift",
"FutureEvent/FutureEvent.swift",
"Helpers/DeallocTracker.swift",
"LiveData/LiveData.swift",
"LiveData/LiveOptionalData.swift",
"LiveData/LiveOptionalStateData.swift",
"LiveData/LiveStateData.swift",
"LiveData/StateValue.swift",
"Observable/LifecycleBoundObserver.swift",
"Observable/LifecycleState.swift",
"Observable/Observable.swift",
"Observable/Observer.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
[3/14] Compiling ETBinding LifecycleState.swift
[4/14] Compiling ETBinding Observable.swift
[5/15] Emitting module ETBinding
[6/15] Compiling ETBinding Constants.swift
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:16: error: cannot find 'Thread' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:54: error: cannot find 'DispatchQueue' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:16: error: cannot find 'Thread' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:54: error: cannot find 'DispatchQueue' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:16: error: cannot find 'Thread' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
187 | }
188 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:54: error: cannot find 'DispatchQueue' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
187 | }
188 | }
[7/15] Compiling ETBinding FutureEvent.swift
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:16: error: cannot find 'Thread' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:54: error: cannot find 'DispatchQueue' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:16: error: cannot find 'Thread' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:54: error: cannot find 'DispatchQueue' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:16: error: cannot find 'Thread' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
187 | }
188 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:54: error: cannot find 'DispatchQueue' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
187 | }
188 | }
[8/15] Compiling ETBinding DeallocTracker.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
29 | while true {
30 | // Generates random key for association and checks that it wasn't used already
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
| `- error: cannot find 'objc_getAssociatedObject' in scope
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot find 'objc_setAssociatedObject' in scope
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:16: error: cannot find 'Thread' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:54: error: cannot find 'DispatchQueue' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:9: error: cannot find 'Thread' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:47: error: cannot find 'DispatchQueue' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:16: error: cannot find 'Thread' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:54: error: cannot find 'DispatchQueue' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
220 | }
221 |
[9/15] Compiling ETBinding LiveData.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
29 | while true {
30 | // Generates random key for association and checks that it wasn't used already
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
| `- error: cannot find 'objc_getAssociatedObject' in scope
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot find 'objc_setAssociatedObject' in scope
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:16: error: cannot find 'Thread' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:54: error: cannot find 'DispatchQueue' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:9: error: cannot find 'Thread' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:47: error: cannot find 'DispatchQueue' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:16: error: cannot find 'Thread' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:54: error: cannot find 'DispatchQueue' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
220 | }
221 |
[10/15] Compiling ETBinding LiveOptionalData.swift
[11/15] Compiling ETBinding LiveOptionalStateData.swift
[12/15] Compiling ETBinding LiveStateData.swift
[13/15] Compiling ETBinding StateValue.swift
[14/15] Compiling ETBinding LifecycleBoundObserver.swift
[15/15] Compiling ETBinding Observer.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/13] Compiling ETBinding Observable.swift
[3/14] Emitting module ETBinding
[4/14] Compiling ETBinding LifecycleBoundObserver.swift
[5/14] Compiling ETBinding LifecycleState.swift
[6/14] Compiling ETBinding LiveOptionalData.swift
[7/14] Compiling ETBinding LiveOptionalStateData.swift
[8/14] Compiling ETBinding LiveStateData.swift
[9/14] Compiling ETBinding StateValue.swift
[10/14] Compiling ETBinding Constants.swift
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:16: error: cannot find 'Thread' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:54: error: cannot find 'DispatchQueue' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:16: error: cannot find 'Thread' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:54: error: cannot find 'DispatchQueue' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:16: error: cannot find 'Thread' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
187 | }
188 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:54: error: cannot find 'DispatchQueue' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
187 | }
188 | }
[11/14] Compiling ETBinding FutureEvent.swift
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:16: error: cannot find 'Thread' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:130:54: error: cannot find 'DispatchQueue' in scope
128 | return false
129 | }
130 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
131 | }
132 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:16: error: cannot find 'Thread' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:172:54: error: cannot find 'DispatchQueue' in scope
170 | return wrapper.observer
171 | }
172 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
173 | }
174 |
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:16: error: cannot find 'Thread' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
187 | }
188 | }
/host/spi-builder-workspace/Sources/ETBinding/FutureEvent/FutureEvent.swift:186:54: error: cannot find 'DispatchQueue' in scope
184 | }
185 | }
186 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
187 | }
188 | }
[12/14] Compiling ETBinding DeallocTracker.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
29 | while true {
30 | // Generates random key for association and checks that it wasn't used already
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
| `- error: cannot find 'objc_getAssociatedObject' in scope
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot find 'objc_setAssociatedObject' in scope
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:16: error: cannot find 'Thread' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:54: error: cannot find 'DispatchQueue' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:9: error: cannot find 'Thread' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:47: error: cannot find 'DispatchQueue' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:16: error: cannot find 'Thread' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:54: error: cannot find 'DispatchQueue' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
220 | }
221 |
[13/14] Compiling ETBinding LiveData.swift
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:31:72: error: cannot find 'objc_getAssociatedObject' in scope
29 | while true {
30 | // Generates random key for association and checks that it wasn't used already
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
| `- error: cannot find 'objc_getAssociatedObject' in scope
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:13: error: cannot find 'objc_setAssociatedObject' in scope
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot find 'objc_setAssociatedObject' in scope
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/Helpers/DeallocTracker.swift:33:60: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
31 | if let key = UnsafeRawPointer(bitPattern: UInt(arc4random())), objc_getAssociatedObject(owner, key) == nil {
32 | let tracker = DeallocTracker(onDealloc: closure)
33 | objc_setAssociatedObject(owner, key, tracker, .OBJC_ASSOCIATION_RETAIN)
| `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
34 | break
35 | }
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:16: error: cannot find 'Thread' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:152:54: error: cannot find 'DispatchQueue' in scope
150 | return false
151 | }
152 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
153 | }
154 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:9: error: cannot find 'Thread' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:199:47: error: cannot find 'DispatchQueue' in scope
197 | }
198 | }
199 | Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
200 | }
201 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:16: error: cannot find 'Thread' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'Thread' in scope
220 | }
221 |
/host/spi-builder-workspace/Sources/ETBinding/LiveData/LiveData.swift:219:54: error: cannot find 'DispatchQueue' in scope
217 | return wrapper.observer
218 | }
219 | return Thread.isMainThread ? onMainQueue() : DispatchQueue.main.sync(execute: onMainQueue)
| `- error: cannot find 'DispatchQueue' in scope
220 | }
221 |
[14/14] Compiling ETBinding Observer.swift
BUILD FAILURE 6.1 wasm