The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Flow, reference 1.13.0 (b452ec), with Swift 6.1 for Wasm on 30 May 2025 09:08:08 UTC.

Build Command

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

Build Log

    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:50:15: error: cannot find 'pthread_mutexattr_init' in scope
 48 |     func initialize() {
 49 |         var attr = pthread_mutexattr_t()
 50 |         guard pthread_mutexattr_init(&attr) == 0 else {
    |               `- error: cannot find 'pthread_mutexattr_init' in scope
 51 |             preconditionFailure()
 52 |         }
/host/spi-builder-workspace/Flow/Locking.swift:54:9: error: cannot find 'pthread_mutexattr_settype' in scope
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:56:15: error: cannot find 'pthread_mutex_init' in scope
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
    |               `- error: cannot find 'pthread_mutex_init' in scope
 57 |             preconditionFailure()
 58 |         }
/host/spi-builder-workspace/Flow/Locking.swift:62:9: error: cannot find 'pthread_mutex_destroy' in scope
 60 |
 61 |     func deinitialize() {
 62 |         pthread_mutex_destroy(self)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 63 |     }
 64 |
/host/spi-builder-workspace/Flow/Locking.swift:67:9: error: cannot find 'pthread_mutex_lock' in scope
 65 |     /// Attempt to acquire the lock, blocking a thread’s execution until the lock can be acquired.
 66 |     func lock() {
 67 |         pthread_mutex_lock(self)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 68 |     }
 69 |
/host/spi-builder-workspace/Flow/Locking.swift:72:9: error: cannot find 'pthread_mutex_unlock' in scope
 70 |     /// Releases a previously acquired lock.
 71 |     func unlock() {
 72 |         pthread_mutex_unlock(self)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
 73 |     }
 74 |
/host/spi-builder-workspace/Flow/Locking.swift:78:9: error: cannot find 'pthread_mutex_lock' in scope
 76 |     @discardableResult
 77 |     func protect<T>(_ block: () throws -> T) rethrows -> T {
 78 |         pthread_mutex_lock(self)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 79 |         defer { pthread_mutex_unlock(self) }
 80 |         return try block()
/host/spi-builder-workspace/Flow/Locking.swift:79:17: error: cannot find 'pthread_mutex_unlock' in scope
 77 |     func protect<T>(_ block: () throws -> T) rethrows -> T {
 78 |         pthread_mutex_lock(self)
 79 |         defer { pthread_mutex_unlock(self) }
    |                 `- error: cannot find 'pthread_mutex_unlock' in scope
 80 |         return try block()
 81 |     }
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[29/45] Compiling Flow OrderedCallbacker.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:50:15: error: cannot find 'pthread_mutexattr_init' in scope
 48 |     func initialize() {
 49 |         var attr = pthread_mutexattr_t()
 50 |         guard pthread_mutexattr_init(&attr) == 0 else {
    |               `- error: cannot find 'pthread_mutexattr_init' in scope
 51 |             preconditionFailure()
 52 |         }
/host/spi-builder-workspace/Flow/Locking.swift:54:9: error: cannot find 'pthread_mutexattr_settype' in scope
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:56:15: error: cannot find 'pthread_mutex_init' in scope
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
    |               `- error: cannot find 'pthread_mutex_init' in scope
 57 |             preconditionFailure()
 58 |         }
/host/spi-builder-workspace/Flow/Locking.swift:62:9: error: cannot find 'pthread_mutex_destroy' in scope
 60 |
 61 |     func deinitialize() {
 62 |         pthread_mutex_destroy(self)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 63 |     }
 64 |
/host/spi-builder-workspace/Flow/Locking.swift:67:9: error: cannot find 'pthread_mutex_lock' in scope
 65 |     /// Attempt to acquire the lock, blocking a thread’s execution until the lock can be acquired.
 66 |     func lock() {
 67 |         pthread_mutex_lock(self)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 68 |     }
 69 |
/host/spi-builder-workspace/Flow/Locking.swift:72:9: error: cannot find 'pthread_mutex_unlock' in scope
 70 |     /// Releases a previously acquired lock.
 71 |     func unlock() {
 72 |         pthread_mutex_unlock(self)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
 73 |     }
 74 |
/host/spi-builder-workspace/Flow/Locking.swift:78:9: error: cannot find 'pthread_mutex_lock' in scope
 76 |     @discardableResult
 77 |     func protect<T>(_ block: () throws -> T) rethrows -> T {
 78 |         pthread_mutex_lock(self)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
 79 |         defer { pthread_mutex_unlock(self) }
 80 |         return try block()
/host/spi-builder-workspace/Flow/Locking.swift:79:17: error: cannot find 'pthread_mutex_unlock' in scope
 77 |     func protect<T>(_ block: () throws -> T) rethrows -> T {
 78 |         pthread_mutex_lock(self)
 79 |         defer { pthread_mutex_unlock(self) }
    |                 `- error: cannot find 'pthread_mutex_unlock' in scope
 80 |         return try block()
 81 |     }
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[30/45] Compiling Flow Event.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[31/45] Compiling Flow EventType.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[32/45] Compiling Flow FiniteSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[33/45] Compiling Flow Future+Additions.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[34/45] Compiling Flow Future+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[35/45] Compiling Flow Future+Signal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
[36/45] Compiling Flow Signal+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[37/45] Compiling Flow Signal+Construction.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[38/45] Compiling Flow Signal+Debug.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[39/45] Compiling Flow Signal+KeyValueObserving.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[40/45] Compiling Flow Signal+Listeners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[41/45] Compiling Flow ReadSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:60:30: error: cannot find 'Thread' in scope
 58 |     /// Returns true if `async()` and `sync()` will execute work immediately and hence not be scheduled.
 59 |     var isImmediate: Bool {
 60 |         if (self == .main && Thread.isMainThread) || self == .none { return true }
    |                              `- error: cannot find 'Thread' in scope
 61 |         let state = threadState
 62 |         return self == state.scheduler || self == state.syncScheduler
/host/spi-builder-workspace/Flow/Scheduler.swift:68:45: error: cannot find 'Thread' in scope
 66 |     var isExecuting: Bool {
 67 |         let state = threadState
 68 |         return self == state.scheduler  || (Thread.isMainThread && self == .main) || self == state.syncScheduler
    |                                             `- error: cannot find 'Thread' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Flow/Scheduler.swift:81:16: error: cannot find 'DispatchQueue' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                `- error: cannot find 'DispatchQueue' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:81:72: error: cannot find 'DispatchTime' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                                        `- error: cannot find 'DispatchTime' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:109:59: error: cannot find 'Thread' in scope
107 |     static var current: Scheduler {
108 |         let state = threadState
109 |         return state.syncScheduler ?? state.scheduler ?? (Thread.isMainThread ? .main : .background)
    |                                                           `- error: cannot find 'Thread' in scope
110 |     }
111 |
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: cannot find 'DispatchQueue' in scope
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: cannot find 'DispatchQueue' in scope
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: extra argument 'queue' in call
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: extra argument 'queue' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:18: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                  `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:205:12: error: cannot find 'Thread' in scope
203 |
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
    |            `- error: cannot find 'Thread' in scope
206 |     if let state = pthread_getspecific(threadStateKey) {
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
/host/spi-builder-workspace/Flow/Scheduler.swift:206:20: error: cannot find 'pthread_getspecific' in scope
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
206 |     if let state = pthread_getspecific(threadStateKey) {
    |                    `- error: cannot find 'pthread_getspecific' in scope
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
208 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:210:5: error: cannot find 'pthread_setspecific' in scope
208 |     }
209 |     let state = ThreadState()
210 |     pthread_setspecific(threadStateKey, Unmanaged.passRetained(state).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
211 |     return state
212 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:39: error: cannot find 'DispatchQueue' in scope
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                       `- error: cannot find 'DispatchQueue' in scope
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:103: error: cannot infer contextual base in reference to member 'concurrent'
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                       `- error: cannot infer contextual base in reference to member 'concurrent'
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:195:35: error: cannot find 'DispatchQueue' in scope
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
    |                                   `- error: cannot find 'DispatchQueue' in scope
196 | }
197 |
[42/45] Compiling Flow ReadWriteSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:60:30: error: cannot find 'Thread' in scope
 58 |     /// Returns true if `async()` and `sync()` will execute work immediately and hence not be scheduled.
 59 |     var isImmediate: Bool {
 60 |         if (self == .main && Thread.isMainThread) || self == .none { return true }
    |                              `- error: cannot find 'Thread' in scope
 61 |         let state = threadState
 62 |         return self == state.scheduler || self == state.syncScheduler
/host/spi-builder-workspace/Flow/Scheduler.swift:68:45: error: cannot find 'Thread' in scope
 66 |     var isExecuting: Bool {
 67 |         let state = threadState
 68 |         return self == state.scheduler  || (Thread.isMainThread && self == .main) || self == state.syncScheduler
    |                                             `- error: cannot find 'Thread' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Flow/Scheduler.swift:81:16: error: cannot find 'DispatchQueue' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                `- error: cannot find 'DispatchQueue' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:81:72: error: cannot find 'DispatchTime' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                                        `- error: cannot find 'DispatchTime' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:109:59: error: cannot find 'Thread' in scope
107 |     static var current: Scheduler {
108 |         let state = threadState
109 |         return state.syncScheduler ?? state.scheduler ?? (Thread.isMainThread ? .main : .background)
    |                                                           `- error: cannot find 'Thread' in scope
110 |     }
111 |
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: cannot find 'DispatchQueue' in scope
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: cannot find 'DispatchQueue' in scope
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: extra argument 'queue' in call
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: extra argument 'queue' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:18: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                  `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:205:12: error: cannot find 'Thread' in scope
203 |
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
    |            `- error: cannot find 'Thread' in scope
206 |     if let state = pthread_getspecific(threadStateKey) {
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
/host/spi-builder-workspace/Flow/Scheduler.swift:206:20: error: cannot find 'pthread_getspecific' in scope
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
206 |     if let state = pthread_getspecific(threadStateKey) {
    |                    `- error: cannot find 'pthread_getspecific' in scope
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
208 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:210:5: error: cannot find 'pthread_setspecific' in scope
208 |     }
209 |     let state = ThreadState()
210 |     pthread_setspecific(threadStateKey, Unmanaged.passRetained(state).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
211 |     return state
212 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:39: error: cannot find 'DispatchQueue' in scope
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                       `- error: cannot find 'DispatchQueue' in scope
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:103: error: cannot infer contextual base in reference to member 'concurrent'
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                       `- error: cannot infer contextual base in reference to member 'concurrent'
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:195:35: error: cannot find 'DispatchQueue' in scope
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
    |                                   `- error: cannot find 'DispatchQueue' in scope
196 | }
197 |
[43/45] Compiling Flow Recursive.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:60:30: error: cannot find 'Thread' in scope
 58 |     /// Returns true if `async()` and `sync()` will execute work immediately and hence not be scheduled.
 59 |     var isImmediate: Bool {
 60 |         if (self == .main && Thread.isMainThread) || self == .none { return true }
    |                              `- error: cannot find 'Thread' in scope
 61 |         let state = threadState
 62 |         return self == state.scheduler || self == state.syncScheduler
/host/spi-builder-workspace/Flow/Scheduler.swift:68:45: error: cannot find 'Thread' in scope
 66 |     var isExecuting: Bool {
 67 |         let state = threadState
 68 |         return self == state.scheduler  || (Thread.isMainThread && self == .main) || self == state.syncScheduler
    |                                             `- error: cannot find 'Thread' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Flow/Scheduler.swift:81:16: error: cannot find 'DispatchQueue' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                `- error: cannot find 'DispatchQueue' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:81:72: error: cannot find 'DispatchTime' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                                        `- error: cannot find 'DispatchTime' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:109:59: error: cannot find 'Thread' in scope
107 |     static var current: Scheduler {
108 |         let state = threadState
109 |         return state.syncScheduler ?? state.scheduler ?? (Thread.isMainThread ? .main : .background)
    |                                                           `- error: cannot find 'Thread' in scope
110 |     }
111 |
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: cannot find 'DispatchQueue' in scope
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: cannot find 'DispatchQueue' in scope
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: extra argument 'queue' in call
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: extra argument 'queue' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:18: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                  `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:205:12: error: cannot find 'Thread' in scope
203 |
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
    |            `- error: cannot find 'Thread' in scope
206 |     if let state = pthread_getspecific(threadStateKey) {
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
/host/spi-builder-workspace/Flow/Scheduler.swift:206:20: error: cannot find 'pthread_getspecific' in scope
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
206 |     if let state = pthread_getspecific(threadStateKey) {
    |                    `- error: cannot find 'pthread_getspecific' in scope
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
208 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:210:5: error: cannot find 'pthread_setspecific' in scope
208 |     }
209 |     let state = ThreadState()
210 |     pthread_setspecific(threadStateKey, Unmanaged.passRetained(state).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
211 |     return state
212 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:39: error: cannot find 'DispatchQueue' in scope
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                       `- error: cannot find 'DispatchQueue' in scope
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:103: error: cannot infer contextual base in reference to member 'concurrent'
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                       `- error: cannot infer contextual base in reference to member 'concurrent'
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:195:35: error: cannot find 'DispatchQueue' in scope
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
    |                                   `- error: cannot find 'DispatchQueue' in scope
196 | }
197 |
[44/45] Compiling Flow Result.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:60:30: error: cannot find 'Thread' in scope
 58 |     /// Returns true if `async()` and `sync()` will execute work immediately and hence not be scheduled.
 59 |     var isImmediate: Bool {
 60 |         if (self == .main && Thread.isMainThread) || self == .none { return true }
    |                              `- error: cannot find 'Thread' in scope
 61 |         let state = threadState
 62 |         return self == state.scheduler || self == state.syncScheduler
/host/spi-builder-workspace/Flow/Scheduler.swift:68:45: error: cannot find 'Thread' in scope
 66 |     var isExecuting: Bool {
 67 |         let state = threadState
 68 |         return self == state.scheduler  || (Thread.isMainThread && self == .main) || self == state.syncScheduler
    |                                             `- error: cannot find 'Thread' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Flow/Scheduler.swift:81:16: error: cannot find 'DispatchQueue' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                `- error: cannot find 'DispatchQueue' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:81:72: error: cannot find 'DispatchTime' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                                        `- error: cannot find 'DispatchTime' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:109:59: error: cannot find 'Thread' in scope
107 |     static var current: Scheduler {
108 |         let state = threadState
109 |         return state.syncScheduler ?? state.scheduler ?? (Thread.isMainThread ? .main : .background)
    |                                                           `- error: cannot find 'Thread' in scope
110 |     }
111 |
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: cannot find 'DispatchQueue' in scope
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: cannot find 'DispatchQueue' in scope
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: extra argument 'queue' in call
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: extra argument 'queue' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:18: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                  `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:205:12: error: cannot find 'Thread' in scope
203 |
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
    |            `- error: cannot find 'Thread' in scope
206 |     if let state = pthread_getspecific(threadStateKey) {
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
/host/spi-builder-workspace/Flow/Scheduler.swift:206:20: error: cannot find 'pthread_getspecific' in scope
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
206 |     if let state = pthread_getspecific(threadStateKey) {
    |                    `- error: cannot find 'pthread_getspecific' in scope
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
208 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:210:5: error: cannot find 'pthread_setspecific' in scope
208 |     }
209 |     let state = ThreadState()
210 |     pthread_setspecific(threadStateKey, Unmanaged.passRetained(state).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
211 |     return state
212 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:39: error: cannot find 'DispatchQueue' in scope
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                       `- error: cannot find 'DispatchQueue' in scope
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:103: error: cannot infer contextual base in reference to member 'concurrent'
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                       `- error: cannot infer contextual base in reference to member 'concurrent'
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:195:35: error: cannot find 'DispatchQueue' in scope
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
    |                                   `- error: cannot find 'DispatchQueue' in scope
196 | }
197 |
[45/45] Compiling Flow Scheduler.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:60:30: error: cannot find 'Thread' in scope
 58 |     /// Returns true if `async()` and `sync()` will execute work immediately and hence not be scheduled.
 59 |     var isImmediate: Bool {
 60 |         if (self == .main && Thread.isMainThread) || self == .none { return true }
    |                              `- error: cannot find 'Thread' in scope
 61 |         let state = threadState
 62 |         return self == state.scheduler || self == state.syncScheduler
/host/spi-builder-workspace/Flow/Scheduler.swift:68:45: error: cannot find 'Thread' in scope
 66 |     var isExecuting: Bool {
 67 |         let state = threadState
 68 |         return self == state.scheduler  || (Thread.isMainThread && self == .main) || self == state.syncScheduler
    |                                             `- error: cannot find 'Thread' in scope
 69 |     }
 70 |
/host/spi-builder-workspace/Flow/Scheduler.swift:81:16: error: cannot find 'DispatchQueue' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                `- error: cannot find 'DispatchQueue' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:81:72: error: cannot find 'DispatchTime' in scope
 79 |     /// Will asynchronously schedule `work` on `self` after `delay` seconds
 80 |     func async(after delay: TimeInterval, execute work: @escaping () -> ()) {
 81 |         return DispatchQueue.concurrentBackground.asyncAfter(deadline: DispatchTime.now() + delay) {
    |                                                                        `- error: cannot find 'DispatchTime' in scope
 82 |             self.async(execute: work)
 83 |         }
/host/spi-builder-workspace/Flow/Scheduler.swift:109:59: error: cannot find 'Thread' in scope
107 |     static var current: Scheduler {
108 |         let state = threadState
109 |         return state.syncScheduler ?? state.scheduler ?? (Thread.isMainThread ? .main : .background)
    |                                                           `- error: cannot find 'Thread' in scope
110 |     }
111 |
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: cannot find 'DispatchQueue' in scope
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: cannot find 'DispatchQueue' in scope
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:26: error: extra argument 'queue' in call
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                          `- error: extra argument 'queue' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:133:18: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
    |                  `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
134 |     }
135 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:205:12: error: cannot find 'Thread' in scope
203 |
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
    |            `- error: cannot find 'Thread' in scope
206 |     if let state = pthread_getspecific(threadStateKey) {
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
/host/spi-builder-workspace/Flow/Scheduler.swift:206:20: error: cannot find 'pthread_getspecific' in scope
204 | var threadState: ThreadState {
205 |     guard !Thread.isMainThread else { return mainThreadState }
206 |     if let state = pthread_getspecific(threadStateKey) {
    |                    `- error: cannot find 'pthread_getspecific' in scope
207 |         return Unmanaged<ThreadState>.fromOpaque(state).takeUnretainedValue()
208 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:210:5: error: cannot find 'pthread_setspecific' in scope
208 |     }
209 |     let state = ThreadState()
210 |     pthread_setspecific(threadStateKey, Unmanaged.passRetained(state).toOpaque())
    |     `- error: cannot find 'pthread_setspecific' in scope
211 |     return state
212 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:39: error: cannot find 'DispatchQueue' in scope
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                       `- error: cannot find 'DispatchQueue' in scope
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:194:103: error: cannot infer contextual base in reference to member 'concurrent'
192 |
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                       `- error: cannot infer contextual base in reference to member 'concurrent'
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
196 | }
/host/spi-builder-workspace/Flow/Scheduler.swift:195:35: error: cannot find 'DispatchQueue' in scope
193 | extension DispatchQueue {
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
    |                                   `- error: cannot find 'DispatchQueue' in scope
196 | }
197 |
BUILD FAILURE 6.1 wasm