The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Flow with Swift 5.8 for Linux.

Build Command

Build command unavailable

Build Log

/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
[17/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[18/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[19/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[20/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[21/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[22/46] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
[23/46] Compiling Flow Future.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[24/46] Compiling Flow FutureQueue.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[25/46] Compiling Flow HasEventListeners.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[26/46] Compiling Flow Locking.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[27/46] Compiling Flow OrderedCallbacker.swift
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[28/46] Compiling Flow Event.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[29/46] Compiling Flow EventType.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[30/46] Compiling Flow FiniteSignal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[31/46] Compiling Flow Future+Additions.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[32/46] Compiling Flow Future+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[33/46] Compiling Flow Future+Signal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[34/46] Compiling Flow CancelBag.swift
[35/46] Compiling Flow Disposable+Cancellable.swift
[36/46] Compiling Flow Future+Combine.swift
[37/46] Compiling Flow Publisher+Utilities.swift
[38/46] Compiling Flow Signal+Combine.swift
[39/46] Compiling Flow Signal+SwiftUI.swift
[40/46] Compiling Flow TargetActionable.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[41/46] Compiling Flow UIControls+Extensions.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[42/46] Compiling Flow UIView+EditingMenu.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[43/46] Compiling Flow UIView+Signal.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[44/46] Compiling Flow Utilities.swift
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[0/1] Planning build
Building for debugging...
[1/36] Compiling Flow Signal+Utilities.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
    let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
                  ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[2/36] Compiling Flow Signal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
    let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
                  ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[3/36] Compiling Flow SignalProvider.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
    let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
                  ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[4/36] Compiling Flow TargetActionable.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:37:19: error: cannot find 'objc_getAssociatedObject' in scope
    let tracker = objc_getAssociatedObject(object, &trackerKey) as? DeallocTracker ?? DeallocTracker()
                  ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:5: error: cannot find 'objc_setAssociatedObject' in scope
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Utilities.swift:38:61: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
    objc_setAssociatedObject(object, &trackerKey, tracker, .OBJC_ASSOCIATION_RETAIN)
                                                           ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
/host/spi-builder-workspace/Flow/TargetActionable.swift:40:35: error: 'nil' requires a contextual type
                    self.action = nil
                                  ^
[5/36] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[6/36] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[7/36] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[8/36] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[9/36] 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
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Callbacker.swift:24:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:32:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Disposable.swift:62:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Disposable.swift:62:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[10/40] Compiling Flow Locking.swift
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
                                                                       ~^~~~~~~~~~~~~~~~~~~~~~~
[11/40] Compiling Flow OrderedCallbacker.swift
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
                                                                       ~^~~~~~~~~~~~~~~~~~~~~~~
[12/40] Compiling Flow ReadSignal.swift
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
                                                                       ~^~~~~~~~~~~~~~~~~~~~~~~
[13/40] Compiling Flow ReadWriteSignal.swift
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
                                                                       ~^~~~~~~~~~~~~~~~~~~~~~~
[14/40] Compiling Flow Recursive.swift
/host/spi-builder-workspace/Flow/Locking.swift:14:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:14:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Locking.swift:54:42: error: cannot convert value of type 'Int' to expected argument type 'Int32'
        pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
                                         ^
                                         Int32(              )
/host/spi-builder-workspace/Flow/Locking.swift:90:50: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                 ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: 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(_:)'
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^~~~~~~
/host/spi-builder-workspace/Flow/Locking.swift:90:63: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    fileprivate var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                              ^
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/OrderedCallbacker.swift:18:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:93:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(providedSignal, &propertySetterKey) as? (Value) -> ()
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/ReadWriteSignal.swift:101:73: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &propertySetterKey, setter, .OBJC_ASSOCIATION_RETAIN)
                                                                       ~^~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/40] Emitting module Flow
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
public extension _KeyValueCodingAndObserving {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
    var action: Selector? { get set }
                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
    public static let selector: Selector = #selector(TargetAction.flowOnAction)
                                ^~~~~~~~
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
    @objc func flowOnAction() {
    ~^~~~~

[16/40] Compiling Flow UIControls+Extensions.swift
[17/40] Compiling Flow UIView+EditingMenu.swift
[18/40] Compiling Flow UIView+Signal.swift
[19/40] Compiling Flow Utilities.swift
[20/40] Compiling Flow Enablable.swift
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[21/40] Compiling Flow Event.swift
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[22/40] Compiling Flow EventType.swift
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[23/40] Compiling Flow FiniteSignal.swift
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[24/40] Compiling Flow Future+Additions.swift
/host/spi-builder-workspace/Flow/Enablable.swift:49:20: error: cannot find 'objc_getAssociatedObject' in scope
            return objc_getAssociatedObject(self, &enablesAutomaticallyKey) as? Bool ?? false
                   ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:13: error: cannot find 'objc_setAssociatedObject' in scope
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Enablable.swift:52:94: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN'
            objc_setAssociatedObject(self, &enablesAutomaticallyKey, newValue ? true : nil, .OBJC_ASSOCIATION_RETAIN)
                                                                                            ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
    func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
                                             ^~~~~~~~~
[25/40] Compiling Flow Future+Combiners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[26/40] Compiling Flow Future+Signal.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[27/40] Compiling Flow Future.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[28/40] Compiling Flow FutureQueue.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[29/40] Compiling Flow HasEventListeners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:101:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:141:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:150:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/Future.swift:330:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:42:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:47:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&futureQueueUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:38: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                     ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: 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(_:)'
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:172:51: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                  ^
/host/spi-builder-workspace/Flow/FutureQueue.swift:224:9: error: cannot find 'OSAtomicIncrement32' in scope
        OSAtomicIncrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:230:9: error: cannot find 'OSAtomicDecrement32' in scope
        OSAtomicDecrement32(&queueItemUnitTestAliveCount)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/FutureQueue.swift:234:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[30/40] Compiling Flow Signal+KeyValueObserving.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
public extension _KeyValueCodingAndObserving {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/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
            bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
                     ^
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:29:27: error: cannot infer contextual base in reference to member 'value'
                callback(.value(object[keyPath: keyPath]))
                         ~^~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:45:35: error: cannot infer contextual base in reference to member 'value'
                        callback(.value(newObject[keyPath: keyPath]))
                                 ~^~~~~
[31/40] Compiling Flow Signal+Listeners.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
public extension _KeyValueCodingAndObserving {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/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
            bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
                     ^
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:29:27: error: cannot infer contextual base in reference to member 'value'
                callback(.value(object[keyPath: keyPath]))
                         ~^~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:45:35: error: cannot infer contextual base in reference to member 'value'
                        callback(.value(newObject[keyPath: keyPath]))
                                 ~^~~~~
[32/40] Compiling Flow Signal+Scheduling.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
public extension _KeyValueCodingAndObserving {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/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
            bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
                     ^
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:29:27: error: cannot infer contextual base in reference to member 'value'
                callback(.value(object[keyPath: keyPath]))
                         ~^~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:45:35: error: cannot infer contextual base in reference to member 'value'
                        callback(.value(newObject[keyPath: keyPath]))
                                 ~^~~~~
[33/40] Compiling Flow Signal+Transforms.swift
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
public extension _KeyValueCodingAndObserving {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/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
            bag.hold(timer) // DispatchSourceTimer is automatically cancelled after being released
                     ^
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Scheduling.swift:123:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:32: error: value of type 'O' has no member 'observe'
            let token = object.observe(keyPath, options: .new) { _, _ in
                        ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:28:59: error: cannot infer contextual base in reference to member 'new'
            let token = object.observe(keyPath, options: .new) { _, _ in
                                                         ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:29:27: error: cannot infer contextual base in reference to member 'value'
                callback(.value(object[keyPath: keyPath]))
                         ~^~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:40: error: value of type 'O' has no member 'observe'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                ~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:44:67: error: cannot infer contextual base in reference to member 'new'
                    let token = object.observe(keyPath, options: .new) { newObject, _ in
                                                                 ~^~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:45:35: error: cannot infer contextual base in reference to member 'value'
                        callback(.value(newObject[keyPath: keyPath]))
                                 ~^~~~~
[34/40] Compiling Flow Result.swift
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[35/40] Compiling Flow Scheduler.swift
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[36/40] Compiling Flow Signal+Combiners.swift
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[37/40] Compiling Flow Signal+Construction.swift
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
[38/40] Compiling Flow Signal+Debug.swift
/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)?'
    pthread_key_create(&_threadStateKey, cleanup)
                                         ^
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
    convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:116:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:46: warning: initialization of 'PThreadMutex' (aka 'UnsafeMutablePointer<pthread_mutex_t>') results in a dangling pointer
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                             ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: 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(_:)'
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^~~~~~~
/host/spi-builder-workspace/Flow/Signal+Construction.swift:296:59: note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    private var mutex: PThreadMutex { return PThreadMutex(&_mutex) }
                                                          ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2