The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLI, reference main (760d49), with Swift 6.3 for Wasm on 26 Aug 2026 07:31:01 UTC.

Build Command

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

Build Log

112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[105/168] Compiling SwiftLI AppRuntime.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[106/168] Compiling SwiftLI Bindable.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[107/168] Compiling SwiftLI Binding.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[108/168] Compiling SwiftLI CLIApp.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[109/168] Compiling SwiftLI CLITimer.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[110/168] Compiling SwiftLI Command.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[111/168] Compiling SwiftLI CommandState.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[112/168] Compiling SwiftLI FocusCoordinator.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[113/168] Compiling SwiftLI FocusState.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[114/168] Compiling SwiftLI FocusedValue.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[115/168] Compiling SwiftLI InlineRenderer.swift
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:81:31: error: 'current' is unavailable: RunLoop is not available on WASI
 79 |         performRender()
 80 |
 81 |         let runLoop = RunLoop.current
    |                               `- error: 'current' is unavailable: RunLoop is not available on WASI
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 |   open class var current: RunLoop { get }}
  |                  `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:25: error: value of type 'RunLoop' has no member 'run'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                         `- error: value of type 'RunLoop' has no member 'run'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:84:36: error: cannot infer contextual base in reference to member 'default'
 82 |         while isRunning {
 83 |             // 100ms timeout keeps the loop responsive to signal-driven stops
 84 |             _ = runLoop.run(mode: .default, before: Date(timeIntervalSinceNow: 0.1))
    |                                    `- error: cannot infer contextual base in reference to member 'default'
 85 |         }
 86 |
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 |
113 |         // Dispatch to main so renders are serialized with timer callbacks.
114 |         DispatchQueue.main.async { [weak self] in
    |         `- error: cannot find 'DispatchQueue' in scope
115 |             self?.coalescedRender()
116 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:13: error: cannot find 'DispatchQueue' in scope
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |             `- error: cannot find 'DispatchQueue' in scope
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:139:54: error: cannot call value of non-function type 'Date'
137 |             // Too soon — try again after the remaining interval.
138 |             let delay = minRenderInterval - elapsed
139 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) { [weak self] in
    |                                                      `- error: cannot call value of non-function type 'Date'
140 |                 self?.performRender()
141 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:9: error: cannot find 'signal' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |         `- error: cannot find 'signal' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:165:16: error: cannot find 'SIGINT' in scope
163 |     private func setupSignalHandlers() {
164 |         // Ctrl+C: stop the run loop gracefully
165 |         signal(SIGINT) { _ in
    |                `- error: cannot find 'SIGINT' in scope
166 |             AppRuntime.shared?.stop()
167 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:9: error: cannot find 'signal' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/AppRuntime.swift:177:16: error: cannot find 'SIGWINCH' in scope
175 |         poller.start()
176 |         #else
177 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
178 |             AppRuntime.shared?.scheduleRender()
179 |         }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:42:25: error: cannot find type 'DispatchSourceTimer' in scope
40 | ///   are naturally serialized without additional locking.
41 | public final class CLITimer: @unchecked Sendable {
42 |     private var source: DispatchSourceTimer?
   |                         `- error: cannot find type 'DispatchSourceTimer' in scope
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:44:24: error: cannot find type 'DispatchQueue' in scope
42 |     private var source: DispatchSourceTimer?
43 |     private let interval: TimeInterval
44 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
45 |     private let lock = NSLock()
46 |     /// Whether this timer is currently counted as a session redraw driver.
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:55:48: error: cannot find type 'DispatchQueue' in scope
53 |     ///   - queue: The dispatch queue on which `action` is called.
54 |     ///     Defaults to `.main`.
55 |     public init(interval: TimeInterval, queue: DispatchQueue = .main) {
   |                                                `- error: cannot find type 'DispatchQueue' in scope
56 |         self.interval = interval
57 |         self.queue = queue
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:68:25: error: cannot find 'DispatchSource' in scope
66 |     public func start(action: @escaping @Sendable () -> Void) {
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
   |                         `- error: cannot find 'DispatchSource' in scope
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
70 |         newSource.setEventHandler(handler: action)
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/CLITimer.swift:69:39: error: cannot call value of non-function type 'Date'
67 |         stop()
68 |         let newSource = DispatchSource.makeTimerSource(queue: queue)
69 |         newSource.schedule(deadline: .now() + interval, repeating: interval)
   |                                       `- error: cannot call value of non-function type 'Date'
70 |         newSource.setEventHandler(handler: action)
71 |         newSource.resume()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:9: error: cannot find 'signal' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |         `- error: cannot find 'signal' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:126:16: error: cannot find 'SIGWINCH' in scope
124 |         // The handler captures nothing so it converts to a C function pointer;
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
    |                `- error: cannot find 'SIGWINCH' in scope
127 |             DispatchQueue.main.async {
128 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:127:13: error: cannot find 'DispatchQueue' in scope
125 |         // it hops to the main queue before touching stdout.
126 |         signal(SIGWINCH) { _ in
127 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
128 |                 StateObserverRegistry.shared.notifyChange()
129 |             }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:9: error: cannot find 'signal' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |         `- error: cannot find 'signal' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:16: error: cannot find 'SIGWINCH' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                `- error: cannot find 'SIGWINCH' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/Command.swift:153:26: error: cannot find 'SIG_DFL' in scope
151 |         BodyRenderingStore.shared.resizePoller = nil
152 |         #else
153 |         signal(SIGWINCH, SIG_DFL)
    |                          `- error: cannot find 'SIG_DFL' in scope
154 |         #endif
155 |         KeyInputRouter.shared.stop()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:99:32: error: cannot find type 'DispatchSourceTimer' in scope
  97 |     // "flick" feel as native scroll views. A new gesture cancels any in-
  98 |     // flight momentum and restarts it from the new velocity.
  99 |     private var momentumTimer: DispatchSourceTimer?
     |                                `- error: cannot find type 'DispatchSourceTimer' in scope
 100 |     private var momentumScrollID: String?
 101 |     private var momentumVelocity: Double = 0
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:21: error: cannot find 'DispatchSource' in scope
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                     `- error: cannot find 'DispatchSource' in scope
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:718:60: error: cannot infer contextual base in reference to member 'main'
 716 |         // effective scroll range without changing the per-event delta.
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
     |                                                            `- error: cannot infer contextual base in reference to member 'main'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:719:35: error: cannot call value of non-function type 'Date'
 717 |         momentumVelocity = velocity * 2.2
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
     |                                   `- error: cannot call value of non-function type 'Date'
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:720:36: error: cannot infer contextual base in reference to member 'milliseconds'
 718 |         let timer = DispatchSource.makeTimerSource(queue: .main)
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
     |                                    `- error: cannot infer contextual base in reference to member 'milliseconds'
 721 |                        leeway: .milliseconds(2))
 722 |         timer.setEventHandler { [weak self] in
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusCoordinator.swift:721:33: error: cannot infer contextual base in reference to member 'milliseconds'
 719 |         timer.schedule(deadline: .now() + 0.08,
 720 |                        repeating: .milliseconds(16),
 721 |                        leeway: .milliseconds(2))
     |                                 `- error: cannot infer contextual base in reference to member 'milliseconds'
 722 |         timer.setEventHandler { [weak self] in
 723 |             guard let self, self.momentumScrollID == id else { return }
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:73:13: error: cannot find 'DispatchQueue' in scope
 71 |             // Schedule a redraw asynchronously so a focus change made *during* a
 72 |             // layout pass (e.g. from Tab syncing back) never re-enters rendering.
 73 |             DispatchQueue.main.async {
    |             `- error: cannot find 'DispatchQueue' in scope
 74 |                 AppRuntime.shared?.scheduleRender()
 75 |                 StateObserverRegistry.shared.notifyChange()
/host/spi-builder-workspace/Sources/SwiftLI/Reactive/FocusState.swift:93:17: error: cannot find 'DispatchQueue' in scope
 91 |             nonmutating set {
 92 |                 box.value = newValue
 93 |                 DispatchQueue.main.async {
    |                 `- error: cannot find 'DispatchQueue' in scope
 94 |                     AppRuntime.shared?.scheduleRender()
 95 |                     StateObserverRegistry.shared.notifyChange()
[116/168] Compiling SwiftLI Slider.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[117/168] Compiling SwiftLI Spacer.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[118/168] Compiling SwiftLI Stepper.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[119/168] Compiling SwiftLI StyleEnvironment.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[120/168] Compiling SwiftLI Table.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[121/168] Compiling SwiftLI TextEditor.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[122/168] Compiling SwiftLI TextField.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[123/168] Compiling SwiftLI TimelineSchedule.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[124/168] Compiling SwiftLI TimelineView.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[125/168] Compiling SwiftLI Toggle.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[126/168] Compiling SwiftLI Toolbar.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[127/168] Compiling SwiftLI TupleView.swift
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:137:34: error: cannot find type 'DispatchSourceTimer' in scope
135 |
136 |     private let lock = NSLock()
137 |     private var timers: [String: DispatchSourceTimer] = [:]
    |                                  `- error: cannot find type 'DispatchSourceTimer' in scope
138 |
139 |     private init() {}
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:21: error: cannot find 'DispatchSource' in scope
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                     `- error: cannot find 'DispatchSource' in scope
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:153:60: error: cannot infer contextual base in reference to member 'main'
151 |         }
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
    |                                                            `- error: cannot infer contextual base in reference to member 'main'
154 |         timer.schedule(deadline: .now() + delay)
155 |         timer.setEventHandler {
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/TimelineView.swift:154:35: error: cannot call value of non-function type 'Date'
152 |         let delay = Swift.max(fireAt.timeIntervalSinceNow, 0)
153 |         let timer = DispatchSource.makeTimerSource(queue: .main)
154 |         timer.schedule(deadline: .now() + delay)
    |                                   `- error: cannot call value of non-function type 'Date'
155 |         timer.setEventHandler {
156 |             TimelineCoordinator.shared.fire(key: key)
[128/168] Compiling SwiftLI TextEditCommand.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[129/168] Compiling SwiftLI TextInputKeymap.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[130/168] Compiling SwiftLI WindowsResizePoller.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[131/168] Compiling SwiftLI Frame.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[132/168] Compiling SwiftLI Geometry.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[133/168] Compiling SwiftLI NodeLayout.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[134/168] Compiling SwiftLI RenderNode.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[135/168] Compiling SwiftLI TerminalCanvas.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[136/168] Compiling SwiftLI TerminalSize.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[137/168] Compiling SwiftLI TextStyle.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[138/168] Compiling SwiftLI Scene.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[139/168] Compiling SwiftLI Alignment.swift
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:98:18: error: cannot find 'winsize' in scope
 96 |     /// Returns `nil` when `fd` is not a terminal or reports a zero width.
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
    |                  `- error: cannot find 'winsize' in scope
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
100 |         guard ws.ws_col > 0 else { return nil }
/host/spi-builder-workspace/Sources/SwiftLI/Rendering/TerminalSize.swift:99:30: error: cannot find 'TIOCGWINSZ' in scope
 97 |     private static func ioctlSize(_ fd: Int32) -> TerminalSize? {
 98 |         var ws = winsize()
 99 |         guard ioctl(fd, UInt(TIOCGWINSZ), &ws) == 0 else { return nil }
    |                              `- error: cannot find 'TIOCGWINSZ' in scope
100 |         guard ws.ws_col > 0 else { return nil }
101 |         return TerminalSize(columns: Int(ws.ws_col), rows: Int(ws.ws_row))
[140/168] Compiling SwiftLI BlinkStyle.swift
[141/168] Compiling SwiftLI BorderStyle.swift
[142/168] Compiling SwiftLI Color.swift
[143/168] Compiling SwiftLI ColorScheme.swift
[144/168] Compiling SwiftLI Edge.swift
[145/168] Compiling SwiftLI EdgeInsets.swift
[146/168] Compiling SwiftLI LineStyle.swift
[147/168] Compiling SwiftLI LocalizedStringKey.swift
[148/168] Compiling SwiftLI Weight.swift
[149/168] Compiling SwiftLI View.swift
[150/168] Compiling SwiftLI ViewBuilder.swift
[151/168] Compiling SwiftLI ViewModifier.swift
[152/168] Compiling SwiftLI AnyView.swift
[153/168] Compiling SwiftLI Button.swift
[154/168] Compiling SwiftLI ContentUnavailableView.swift
[155/168] Compiling SwiftLI Divider.swift
[156/168] Compiling SwiftLI EmptyView.swift
[157/168] Compiling SwiftLI ForEach.swift
[158/168] Compiling SwiftLI Form.swift
[159/168] Compiling SwiftLI Gauge.swift
[160/168] Compiling SwiftLI Grid.swift
[161/168] Compiling SwiftLI Group.swift
[162/168] Compiling SwiftLI GroupBox.swift
[163/168] Compiling SwiftLI HStack.swift
[164/168] Compiling SwiftLI Label.swift
BUILD FAILURE 6.3 wasm