The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

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 |
[44/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 |
[45/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 |
[46/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling Flow CancelBag.swift
[3/40] Compiling Flow Disposable+Cancellable.swift
[4/40] Compiling Flow Future+Combine.swift
[5/40] Compiling Flow Publisher+Utilities.swift
[6/40] Compiling Flow Signal+Combine.swift
[7/40] Compiling Flow Signal+SwiftUI.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/45] Emitting module Flow
/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:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift: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/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
[9/45] Compiling Flow Callbacker.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[10/45] Compiling Flow CoreSignal.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[11/45] Compiling Flow Delegate.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[12/45] Compiling Flow Disposable.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[13/45] Compiling Flow Either.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[14/45] Compiling Flow Enablable.swift
/host/spi-builder-workspace/Flow/Callbacker.swift:24:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 22 |     private var callbacks = Callbacks.none
 23 |     private var _mutex = pthread_mutex_t()
 24 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 25 |
 26 |     public init() {
/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/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 30 |     private var disposer: (() -> ())?
 31 |     private var _mutex = pthread_mutex_t()
 32 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 33 |
 34 |     /// Pass a closure to be called when being disposed
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 60 |     private var disposables: [Disposable]
 61 |     private var _mutex = pthread_mutex_t()
 62 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 63 |
 64 |     /// Create an empty instance
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
47 |     var enablesAutomatically: Bool {
48 |         get {
49 |             return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
   |                    `- error: cannot find 'objc_getAssociatedObject' in scope
50 |         }
51 |         set {
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |             `- error: cannot find 'objc_setAssociatedObject' in scope
53 |             updateAutomaticEnabling()
54 |         }
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
50 |         }
51 |         set {
52 |             objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
   |                                                                                              `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
53 |             updateAutomaticEnabling()
54 |         }
[15/45] Compiling Flow TargetActionable.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
/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] },
[16/45] Compiling Flow UIControls+Extensions.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
/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] },
[17/45] Compiling Flow UIView+EditingMenu.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
/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] },
[18/45] Compiling Flow UIView+Signal.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
/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] },
[19/45] Compiling Flow Utilities.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
/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] },
[20/45] Compiling Flow Future.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[21/45] Compiling Flow FutureQueue.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[22/45] Compiling Flow HasEventListeners.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[23/45] Compiling Flow Locking.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[24/45] Compiling Flow OrderedCallbacker.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
 99 |     ///   The `Mover` passed back should be used to move externally created futures inside this future.
100 |     public init(on scheduler: Scheduler = .current, onResult: @escaping (@escaping (Result<Value>) -> Void, Mover) throws -> Disposable) {
101 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
102 |         memPrint("Future init", futureUnitTestAliveCount)
103 |
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
139 |     /// Creates a new instance already completed with `result`.
140 |     public init(result: Result<Value>) {
141 |         OSAtomicIncrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
142 |         memPrint("Future init", futureUnitTestAliveCount)
143 |
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
148 |
149 |     deinit {
150 |         OSAtomicDecrement32(&futureUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
151 |         memPrint("Future deinit", futureUnitTestAliveCount)
152 |         mutex.deinitialize()
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
328 |
329 | private extension Future {
330 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
331 |
332 |     private var protectedState: State {
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
 40 |         self.maxConcurrentCount = maxConcurrentCount
 41 |         queueScheduler = executeOn
 42 |         OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
 43 |         memPrint("Queue init", futureQueueUnitTestAliveCount)
 44 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
 45 |
 46 |     deinit {
 47 |         OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
 48 |         memPrint("Queue deinit", futureQueueUnitTestAliveCount)
 49 |     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
170 |
171 | private extension FutureQueue {
172 |     var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                      |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                      |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                      `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
173 |     func lock() { mutex.lock() }
174 |     func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
222 |         mutex.initialize()
223 |
224 |         OSAtomicIncrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicIncrement32' in scope
225 |         memPrint("Queue Item init", queueItemUnitTestAliveCount)
226 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
228 |     deinit {
229 |         mutex.deinitialize()
230 |         OSAtomicDecrement32(&queueItemUnitTestAliveCount)
    |         `- error: cannot find 'OSAtomicDecrement32' in scope
231 |         memPrint("Queue Item deinit", queueItemUnitTestAliveCount)
232 |     }
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
232 |     }
233 |
234 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
235 |     private func lock() { mutex.lock() }
236 |     private func unlock() { mutex.unlock() }
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 12 | public final class Mutex {
 13 |     private var _mutex = pthread_mutex_t()
 14 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 15 |
 16 |     public init() {
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
 52 |         }
 53 |
 54 |         pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                          `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
 55 |
 56 |         guard pthread_mutex_init(self, &attr) == 0 else {
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 88 |     fileprivate var disposables = [Disposable]()
 89 |     private var _mutex = pthread_mutex_t()
 90 |     fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                                  |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                                  |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                                  `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
 91 |
 92 |     init(state: State, callback: @escaping (Value) -> ()) {
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
16 |     private var callbacks: [Key: (OrderedValue, (CallbackValue) -> Future<()>)] = [:]
17 |     private var _mutex = pthread_mutex_t()
18 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
   |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
19 |
20 |     public init() {
[25/45] 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:80:22: error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
    |                      `- error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 81 |             timer.setEventHandler {
 82 |                 callback(())
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
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 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:95: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
12 |     /// Returns a signal for notifications named `name`.
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
   |                                  `- note: parameter 'callback' is implicitly non-sendable
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                               `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
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 | }
[26/45] 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:80:22: error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
    |                      `- error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 81 |             timer.setEventHandler {
 82 |                 callback(())
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
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 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:95: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
12 |     /// Returns a signal for notifications named `name`.
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
   |                                  `- note: parameter 'callback' is implicitly non-sendable
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                               `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
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 | }
[27/45] 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:80:22: error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
    |                      `- error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 81 |             timer.setEventHandler {
 82 |                 callback(())
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
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 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:95: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
12 |     /// Returns a signal for notifications named `name`.
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
   |                                  `- note: parameter 'callback' is implicitly non-sendable
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                               `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
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 | }
[28/45] 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:80:22: error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
    |                      `- error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 81 |             timer.setEventHandler {
 82 |                 callback(())
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
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 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:95: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
12 |     /// Returns a signal for notifications named `name`.
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
   |                                  `- note: parameter 'callback' is implicitly non-sendable
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                               `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
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 | }
[29/45] 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:80:22: error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 78 |             let timer = DispatchSource.makeTimerSource(queue: .concurrentBackground)
 79 |
 80 |             bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
    |                      `- error: argument type 'any DispatchSourceTimer' expected to be an instance of a class or class-constrained type
 81 |             timer.setEventHandler {
 82 |                 callback(())
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
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 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
124 |     private let scheduler: Scheduler
125 |     private var callback: ((EventType<Value>) -> Void)?
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:15:95: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
12 |     /// Returns a signal for notifications named `name`.
13 |     func signal(forName name: Notification.Name?, object: Any? = nil) -> Signal<Notification> {
14 |         return Signal(onValue: { callback in
   |                                  `- note: parameter 'callback' is implicitly non-sendable
15 |             let observer = self.addObserver(forName: name, object: object, queue: nil, using: callback)
   |                                                                                               `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
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 | }
[30/45] Compiling Flow Signal+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[31/45] Compiling Flow Signal+Construction.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[32/45] Compiling Flow Signal+Debug.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[33/45] Compiling Flow Signal+KeyValueObserving.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[34/45] Compiling Flow Signal+Listeners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
114 |
115 |     private var _mutex = pthread_mutex_t()
116 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
117 |
118 |     init(shared: SharedState<Value>? = nil, getValue: (() -> Value)?, callback: @escaping (EventType<Value>) -> Void) {
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
294 |     private let getValue: (() -> Value)?
295 |     private var _mutex = pthread_mutex_t()
296 |     private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
    |                                              |            |- note: implicit argument conversion from 'pthread_mutex_t' to 'UnsafeMutablePointer<pthread_mutex_t>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                              |            `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                                              `- warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
297 |
298 |     typealias Callback = (EventType<Value>) -> Void
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                `- error: value of type 'O' has no member 'observe'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
   |                                                           `- error: cannot infer contextual base in reference to member 'new'
29 |                 callback(.value(object[keyPath: keyPath]))
30 |             }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                        `- error: value of type 'O' has no member 'observe'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
42 |                   options: .shared,
43 |                   onInternalEvent: { callback in
44 |                     let token = object.observe(keyPath, options: .new) { newObject, _ in
   |                                                                   `- error: cannot infer contextual base in reference to member 'new'
45 |                         callback(.value(newObject[keyPath: keyPath]))
46 |                     }
[35/45] Compiling Flow ReadSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:128:75: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
    |                                                    |                      `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
    |                                                    `- note: parameter '$0' is implicitly non-sendable
129 |     }
130 |
[36/45] Compiling Flow ReadWriteSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:128:75: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
    |                                                    |                      `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
    |                                                    `- note: parameter '$0' is implicitly non-sendable
129 |     }
130 |
[37/45] Compiling Flow Recursive.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:128:75: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
    |                                                    |                      `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
    |                                                    `- note: parameter '$0' is implicitly non-sendable
129 |     }
130 |
[38/45] Compiling Flow Result.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:128:75: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
    |                                                    |                      `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
    |                                                    `- note: parameter '$0' is implicitly non-sendable
129 |     }
130 |
[39/45] Compiling Flow Scheduler.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
 91 | internal extension SignalProvider {
 92 |     var setter: ((Value) -> ())? {
 93 |         return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
    |                `- error: cannot find 'objc_getAssociatedObject' in scope
 94 |     }
 95 | }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |             `- error: cannot find 'objc_setAssociatedObject' in scope
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
 99 |         self.init(onEventType: onEventType)
100 |         if let setter = setValue {
101 |             objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
    |                                                                         `- error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
102 |         }
103 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:220:42: error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |                                          `- error: cannot convert value of type '@convention(c) (UnsafeMutableRawPointer) -> Void' to expected argument type '@convention(c) (UnsafeMutableRawPointer?) -> Void'
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Scheduler.swift:128:75: warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
    |                                                    |                      `- warning: passing non-sendable parameter '$0' to function expecting a @Sendable closure
    |                                                    `- note: parameter '$0' is implicitly non-sendable
129 |     }
130 |
[40/45] Compiling Flow Event.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
[41/45] Compiling Flow EventType.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
[42/45] Compiling Flow FiniteSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
[43/45] Compiling Flow Future+Additions.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
[44/45] Compiling Flow Future+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
[45/45] Compiling Flow Future+Signal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
BUILD FAILURE 6.1 android