The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Flow, reference master (b452ec), with Swift 6.3 for Wasm on 21 Apr 2026 18:35:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

    |                                                                              `- 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/46] 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 |     }
[34/46] 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 |     }
[35/46] 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 |     }
[36/46] 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 |     }
[37/46] 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 |
[38/46] 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 |
[39/46] 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 |
[40/46] 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 |
[41/46] 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 |
[42/46] Compiling Flow Signal+Scheduling.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+Scheduling.swift:78:25: error: cannot find 'DispatchSource' in scope
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                         `- error: cannot find 'DispatchSource' in scope
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:87:28: error: cannot find 'DispatchTime' in scope
 85 |             let deadline: DispatchTime
 86 |             if let delay = delay {
 87 |                 deadline = DispatchTime.now() + delay
    |                            `- error: cannot find 'DispatchTime' in scope
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:89:28: error: cannot find 'DispatchTime' in scope
 87 |                 deadline = DispatchTime.now() + delay
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
    |                            `- error: cannot find 'DispatchTime' in scope
 90 |             }
 91 |
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:78:64: error: cannot infer contextual base in reference to member 'concurrentBackground'
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                                                                `- error: cannot infer contextual base in reference to member 'concurrentBackground'
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/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/Signal+Scheduling.swift:123:46: warning: initialization of 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
121 |     private var disposable: Disposable?
122 |     private var _mutex = pthread_mutex_t()
123 |     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 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:44: error: extra arguments at positions #1, #2, #3 in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                            `- error: extra arguments at positions #1, #2, #3 in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:58: error: missing argument for parameter 'for' in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                          `- error: missing argument for parameter 'for' in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:33: error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                 `- error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: where 'Message' = 'Notification'
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: where 'Message' = 'Notification'
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:83: error: 'nil' requires a contextual type
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                   `- error: 'nil' requires a contextual type
16 |             return Disposer {
17 |                 self.removeObserver(observer)
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
35 | /// Returns signal that will signal once `object` is deallocated.
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
   |                   `- error: cannot find 'objc_getAssociatedObject' in scope
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
39 |     return tracker.callbacker.providedSignal
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |     `- error: cannot find 'objc_setAssociatedObject' in scope
39 |     return tracker.callbacker.providedSignal
40 | }
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |                                                             `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
39 |     return tracker.callbacker.providedSignal
40 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[43/46] Compiling Flow Signal+Transforms.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+Scheduling.swift:78:25: error: cannot find 'DispatchSource' in scope
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                         `- error: cannot find 'DispatchSource' in scope
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:87:28: error: cannot find 'DispatchTime' in scope
 85 |             let deadline: DispatchTime
 86 |             if let delay = delay {
 87 |                 deadline = DispatchTime.now() + delay
    |                            `- error: cannot find 'DispatchTime' in scope
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:89:28: error: cannot find 'DispatchTime' in scope
 87 |                 deadline = DispatchTime.now() + delay
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
    |                            `- error: cannot find 'DispatchTime' in scope
 90 |             }
 91 |
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:78:64: error: cannot infer contextual base in reference to member 'concurrentBackground'
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                                                                `- error: cannot infer contextual base in reference to member 'concurrentBackground'
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/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/Signal+Scheduling.swift:123:46: warning: initialization of 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
121 |     private var disposable: Disposable?
122 |     private var _mutex = pthread_mutex_t()
123 |     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 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:44: error: extra arguments at positions #1, #2, #3 in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                            `- error: extra arguments at positions #1, #2, #3 in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:58: error: missing argument for parameter 'for' in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                          `- error: missing argument for parameter 'for' in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:33: error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                 `- error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: where 'Message' = 'Notification'
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: where 'Message' = 'Notification'
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:83: error: 'nil' requires a contextual type
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                   `- error: 'nil' requires a contextual type
16 |             return Disposer {
17 |                 self.removeObserver(observer)
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
35 | /// Returns signal that will signal once `object` is deallocated.
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
   |                   `- error: cannot find 'objc_getAssociatedObject' in scope
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
39 |     return tracker.callbacker.providedSignal
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |     `- error: cannot find 'objc_setAssociatedObject' in scope
39 |     return tracker.callbacker.providedSignal
40 | }
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |                                                             `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
39 |     return tracker.callbacker.providedSignal
40 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[44/46] Compiling Flow Signal+Utilities.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+Scheduling.swift:78:25: error: cannot find 'DispatchSource' in scope
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                         `- error: cannot find 'DispatchSource' in scope
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:87:28: error: cannot find 'DispatchTime' in scope
 85 |             let deadline: DispatchTime
 86 |             if let delay = delay {
 87 |                 deadline = DispatchTime.now() + delay
    |                            `- error: cannot find 'DispatchTime' in scope
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:89:28: error: cannot find 'DispatchTime' in scope
 87 |                 deadline = DispatchTime.now() + delay
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
    |                            `- error: cannot find 'DispatchTime' in scope
 90 |             }
 91 |
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:78:64: error: cannot infer contextual base in reference to member 'concurrentBackground'
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                                                                `- error: cannot infer contextual base in reference to member 'concurrentBackground'
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/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/Signal+Scheduling.swift:123:46: warning: initialization of 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
121 |     private var disposable: Disposable?
122 |     private var _mutex = pthread_mutex_t()
123 |     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 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:44: error: extra arguments at positions #1, #2, #3 in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                            `- error: extra arguments at positions #1, #2, #3 in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:58: error: missing argument for parameter 'for' in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                          `- error: missing argument for parameter 'for' in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:33: error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                 `- error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: where 'Message' = 'Notification'
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: where 'Message' = 'Notification'
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:83: error: 'nil' requires a contextual type
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                   `- error: 'nil' requires a contextual type
16 |             return Disposer {
17 |                 self.removeObserver(observer)
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
35 | /// Returns signal that will signal once `object` is deallocated.
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
   |                   `- error: cannot find 'objc_getAssociatedObject' in scope
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
39 |     return tracker.callbacker.providedSignal
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |     `- error: cannot find 'objc_setAssociatedObject' in scope
39 |     return tracker.callbacker.providedSignal
40 | }
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |                                                             `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
39 |     return tracker.callbacker.providedSignal
40 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[45/46] Compiling Flow 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/Signal+Scheduling.swift:78:25: error: cannot find 'DispatchSource' in scope
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                         `- error: cannot find 'DispatchSource' in scope
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:87:28: error: cannot find 'DispatchTime' in scope
 85 |             let deadline: DispatchTime
 86 |             if let delay = delay {
 87 |                 deadline = DispatchTime.now() + delay
    |                            `- error: cannot find 'DispatchTime' in scope
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:89:28: error: cannot find 'DispatchTime' in scope
 87 |                 deadline = DispatchTime.now() + delay
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
    |                            `- error: cannot find 'DispatchTime' in scope
 90 |             }
 91 |
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:78:64: error: cannot infer contextual base in reference to member 'concurrentBackground'
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                                                                `- error: cannot infer contextual base in reference to member 'concurrentBackground'
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/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/Signal+Scheduling.swift:123:46: warning: initialization of 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
121 |     private var disposable: Disposable?
122 |     private var _mutex = pthread_mutex_t()
123 |     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 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:44: error: extra arguments at positions #1, #2, #3 in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                            `- error: extra arguments at positions #1, #2, #3 in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:58: error: missing argument for parameter 'for' in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                          `- error: missing argument for parameter 'for' in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:33: error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                 `- error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: where 'Message' = 'Notification'
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: where 'Message' = 'Notification'
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:83: error: 'nil' requires a contextual type
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                   `- error: 'nil' requires a contextual type
16 |             return Disposer {
17 |                 self.removeObserver(observer)
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
35 | /// Returns signal that will signal once `object` is deallocated.
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
   |                   `- error: cannot find 'objc_getAssociatedObject' in scope
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
39 |     return tracker.callbacker.providedSignal
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |     `- error: cannot find 'objc_setAssociatedObject' in scope
39 |     return tracker.callbacker.providedSignal
40 | }
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |                                                             `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
39 |     return tracker.callbacker.providedSignal
40 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[46/46] Compiling Flow SignalProvider.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+Scheduling.swift:78:25: error: cannot find 'DispatchSource' in scope
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                         `- error: cannot find 'DispatchSource' in scope
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:87:28: error: cannot find 'DispatchTime' in scope
 85 |             let deadline: DispatchTime
 86 |             if let delay = delay {
 87 |                 deadline = DispatchTime.now() + delay
    |                            `- error: cannot find 'DispatchTime' in scope
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:89:28: error: cannot find 'DispatchTime' in scope
 87 |                 deadline = DispatchTime.now() + delay
 88 |             } else {
 89 |                 deadline = DispatchTime.now() + interval
    |                            `- error: cannot find 'DispatchTime' in scope
 90 |             }
 91 |
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:78:64: error: cannot infer contextual base in reference to member 'concurrentBackground'
 76 |             guard interval.isFinite else { return bag }
 77 |
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
    |                                                                `- error: cannot infer contextual base in reference to member 'concurrentBackground'
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
/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/Signal+Scheduling.swift:123:46: warning: initialization of 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
121 |     private var disposable: Disposable?
122 |     private var _mutex = pthread_mutex_t()
123 |     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 'UnsafeMutablePointer<pthread_mutex_t>' results in a dangling pointer [#TemporaryPointers]
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:44: error: extra arguments at positions #1, #2, #3 in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                            `- error: extra arguments at positions #1, #2, #3 in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:58: error: missing argument for parameter 'for' in call
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                          `- error: missing argument for parameter 'for' in call
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: 'addObserver(of:for:using:)' declared here
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: 'addObserver(of:for:using:)' declared here
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:33: error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                 `- error: instance method 'addObserver(of:for:using:)' requires that 'Notification' conform to 'NotificationCenter.MainActorMessage'
16 |             return Disposer {
17 |                 self.removeObserver(observer)
FoundationEssentials.NotificationCenter.addObserver:2:13: note: where 'Message' = 'Notification'
1 | class NotificationCenter {
2 | public func addObserver<Message>(of subject: Message.Subject? = nil, for messageType: Message.Type, using observer: @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |             `- note: where 'Message' = 'Notification'
3 |
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:83: error: 'nil' requires a contextual type
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                   `- error: 'nil' requires a contextual type
16 |             return Disposer {
17 |                 self.removeObserver(observer)
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
35 | /// Returns signal that will signal once `object` is deallocated.
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
   |                   `- error: cannot find 'objc_getAssociatedObject' in scope
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
39 |     return tracker.callbacker.providedSignal
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |     `- error: cannot find 'objc_setAssociatedObject' in scope
39 |     return tracker.callbacker.providedSignal
40 | }
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
36 | public func deallocSignal(for object: AnyObject) -> Signal<()> {
37 |     let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
38 |     objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
   |                                                             `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
39 |     return tracker.callbacker.providedSignal
40 | }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
BUILD FAILURE 6.3 wasm