Build Information
Failed to build Flow with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
@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
^
[24/49] 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
^
[25/49] 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
^
[26/49] Compiling Flow CancelBag.swift
[27/49] Compiling Flow Disposable+Cancellable.swift
[28/49] Compiling Flow Future+Combine.swift
[29/49] Compiling Flow Publisher+Utilities.swift
[30/49] Compiling Flow Signal+Combine.swift
[31/49] Compiling Flow Signal+SwiftUI.swift
[32/49] Compiling Flow Signal+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/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) }
^
/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: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+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/49] Compiling Flow Signal+Construction.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+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) }
^
/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: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+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/49] Compiling Flow Signal+Debug.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+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) }
^
/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: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+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]))
~^~~~~
[35/49] Compiling Flow Signal+KeyValueObserving.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+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) }
^
/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: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+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]))
~^~~~~
[36/49] Compiling Flow Signal+Listeners.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+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) }
^
/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: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+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]))
~^~~~~
[37/49] Compiling Flow ReadSignal.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/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)
~^~~~~~~~~~~~~~~~~~~~~~~
/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)
^
[38/49] Compiling Flow ReadWriteSignal.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/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)
~^~~~~~~~~~~~~~~~~~~~~~~
/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)
^
[39/49] Compiling Flow Recursive.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/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)
~^~~~~~~~~~~~~~~~~~~~~~~
/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)
^
[40/49] Compiling Flow Result.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/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)
~^~~~~~~~~~~~~~~~~~~~~~~
/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)
^
[41/49] Compiling Flow Scheduler.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/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)
~^~~~~~~~~~~~~~~~~~~~~~~
/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)
^
[42/49] 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) }
^
[43/49] 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) }
^
[44/49] 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) }
^
[45/49] 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) }
^
[46/49] 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) }
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/38] 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]> {
^~~~~~~~~
[3/38] 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]> {
^~~~~~~~~
[4/38] 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]> {
^~~~~~~~~
[5/38] 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]> {
^~~~~~~~~
[6/38] 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]> {
^~~~~~~~~
[7/38] 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
^
[8/38] 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
^
[9/38] 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
^
[10/38] 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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/42] 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() {
~^~~~~
[12/42] 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) }
^
[13/42] 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) }
^
[14/42] 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) }
^
[15/42] 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) }
^
[16/42] 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) }
^
[17/42] Compiling Flow UIControls+Extensions.swift
[18/42] Compiling Flow UIView+EditingMenu.swift
[19/42] Compiling Flow UIView+Signal.swift
[20/42] Compiling Flow Utilities.swift
[21/42] 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]))
~^~~~~
[22/42] 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]))
~^~~~~
[23/42] 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]))
~^~~~~
[24/42] 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]))
~^~~~~
[25/42] 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/42] 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/42] 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/42] 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/42] 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/42] 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)
~^~~~~~~~~~~~~~~~~~~~~~~
[31/42] 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)
~^~~~~~~~~~~~~~~~~~~~~~~
[32/42] 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)
~^~~~~~~~~~~~~~~~~~~~~~~
[33/42] 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)
~^~~~~~~~~~~~~~~~~~~~~~~
[34/42] 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)
~^~~~~~~~~~~~~~~~~~~~~~~
[35/42] 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) }
^
[36/42] 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) }
^
[37/42] 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) }
^
[38/42] 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) }
^
[39/42] 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) }
^
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 1