The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build RxSmartThrottle, reference 1.0.0 (f229cd), with Swift 6.2 (beta) for Android on 17 Jun 2025 14:41:11 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toshi0383/rxsmartthrottle.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/toshi0383/rxsmartthrottle
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f229cd3 Rename until => resetWhen
Cloned https://github.com/toshi0383/rxsmartthrottle.git
Revision (git rev-parse @):
f229cd33591899f4bc25c98d8b749a78fdb13856
SUCCESS checkout https://github.com/toshi0383/rxsmartthrottle.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/toshi0383/rxsmartthrottle.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/ReactiveX/RxSwift
[1/52686] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift from cache (5.76s)
Computing version for https://github.com/ReactiveX/RxSwift
Computed https://github.com/ReactiveX/RxSwift at 4.5.0 (6.33s)
Creating working copy for https://github.com/ReactiveX/RxSwift
Working copy of https://github.com/ReactiveX/RxSwift resolved at 4.5.0
Building for debugging...
[0/4] Write sources
[2/4] Compiling RxAtomic RxAtomic.c
[2/4] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/137] Emitting module RxSwift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[6/155] Compiling RxSwift CombineLatest+arity.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[7/155] Compiling RxSwift CombineLatest.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[8/155] Compiling RxSwift Completable+AndThen.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[9/155] Compiling RxSwift Completable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[10/155] Compiling RxSwift CompositeDisposable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[11/155] Compiling RxSwift Concat.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[12/155] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[13/155] Compiling RxSwift ConcurrentMainScheduler.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[14/155] Compiling RxSwift ConnectableObservableType.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[15/155] Compiling RxSwift Create.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[16/155] Compiling RxSwift CurrentThreadScheduler.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[17/155] Compiling RxSwift Debounce.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[18/155] Compiling RxSwift Debug.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[19/155] Compiling RxSwift DefaultIfEmpty.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[20/155] Compiling RxSwift Deferred.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[21/155] Compiling RxSwift Delay.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[22/155] Compiling RxSwift DelaySubscription.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[23/155] Compiling RxSwift Dematerialize.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[24/155] Compiling RxSwift Deprecated.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:34:37: error: cannot find type 'NSZone' in scope
 32 |         }
 33 |
 34 |         public func copy(with zone: NSZone? = nil) -> Any {
    |                                     `- error: cannot find type 'NSZone' in scope
 35 |             return self
 36 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:74:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 72 |     static var queue : ScheduleQueue? {
 73 |         get {
 74 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 75 |         }
 76 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:77:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 75 |         }
 76 |         set {
 77 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 78 |         }
 79 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:84:20: error: cannot find 'pthread_getspecific' in scope
 82 |     public static fileprivate(set) var isScheduleRequired: Bool {
 83 |         get {
 84 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:87:16: error: cannot find 'pthread_setspecific' in scope
 85 |         }
 86 |         set(isScheduleRequired) {
 87 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 88 |                 rxFatalError("pthread_setspecific failed")
 89 |             }
[25/155] Compiling RxSwift AddRef.swift
[26/155] Compiling RxSwift Amb.swift
[27/155] Compiling RxSwift AnonymousDisposable.swift
[28/155] Compiling RxSwift AnonymousObserver.swift
[29/155] Compiling RxSwift AnyObserver.swift
[30/155] Compiling RxSwift AsMaybe.swift
[31/155] Compiling RxSwift AsSingle.swift
[32/155] Compiling RxSwift AsyncLock.swift
[33/155] Compiling RxSwift AsyncSubject.swift
[34/155] Compiling RxSwift AtomicInt.swift
[35/155] Compiling RxSwift Bag+Rx.swift
[36/155] Compiling RxSwift Bag.swift
[37/155] Compiling RxSwift BehaviorSubject.swift
[38/155] Compiling RxSwift BinaryDisposable.swift
[39/155] Compiling RxSwift BooleanDisposable.swift
[40/155] Compiling RxSwift Buffer.swift
[41/155] Compiling RxSwift Cancelable.swift
[42/155] Compiling RxSwift Catch.swift
[43/155] Compiling RxSwift CombineLatest+Collection.swift
[44/155] Compiling RxSwift RecursiveLock.swift
[45/155] Compiling RxSwift RecursiveScheduler.swift
[46/155] Compiling RxSwift Reduce.swift
[47/155] Compiling RxSwift RefCountDisposable.swift
[48/155] Compiling RxSwift Repeat.swift
[49/155] Compiling RxSwift ReplaySubject.swift
[50/155] Compiling RxSwift RetryWhen.swift
[51/155] Compiling RxSwift Rx.swift
[52/155] Compiling RxSwift RxMutableBox.swift
[53/155] Compiling RxSwift Sample.swift
[54/155] Compiling RxSwift Scan.swift
[55/155] Compiling RxSwift ScheduledDisposable.swift
[56/155] Compiling RxSwift ScheduledItem.swift
[57/155] Compiling RxSwift ScheduledItemType.swift
[58/155] Compiling RxSwift SchedulerServices+Emulation.swift
[59/155] Compiling RxSwift SchedulerType.swift
[60/155] Compiling RxSwift Sequence.swift
[61/155] Compiling RxSwift SerialDispatchQueueScheduler.swift
[62/155] Compiling RxSwift SerialDisposable.swift
[63/155] Compiling RxSwift SynchronizedUnsubscribeType.swift
[64/155] Compiling RxSwift TailRecursiveSink.swift
[65/155] Compiling RxSwift Take.swift
[66/155] Compiling RxSwift TakeLast.swift
[67/155] Compiling RxSwift TakeUntil.swift
[68/155] Compiling RxSwift TakeWhile.swift
[69/155] Compiling RxSwift Throttle.swift
[70/155] Compiling RxSwift Timeout.swift
[71/155] Compiling RxSwift Timer.swift
[72/155] Compiling RxSwift ToArray.swift
[73/155] Compiling RxSwift Using.swift
[74/155] Compiling RxSwift VirtualTimeConverterType.swift
[75/155] Compiling RxSwift VirtualTimeScheduler.swift
[76/155] Compiling RxSwift Window.swift
[77/155] Compiling RxSwift WithLatestFrom.swift
[78/155] Compiling RxSwift Zip+Collection.swift
[79/155] Compiling RxSwift Zip+arity.swift
[80/155] Compiling RxSwift Zip.swift
[81/155] Compiling RxSwift DeprecationWarner.swift
[82/155] Compiling RxSwift DispatchQueue+Extensions.swift
[83/155] Compiling RxSwift DispatchQueueConfiguration.swift
[84/155] Compiling RxSwift Disposable.swift
[85/155] Compiling RxSwift Disposables.swift
[86/155] Compiling RxSwift DisposeBag.swift
[87/155] Compiling RxSwift DisposeBase.swift
[88/155] Compiling RxSwift DistinctUntilChanged.swift
[89/155] Compiling RxSwift Do.swift
[90/155] Compiling RxSwift ElementAt.swift
[91/155] Compiling RxSwift Empty.swift
[92/155] Compiling RxSwift Enumerated.swift
[93/155] Compiling RxSwift Error.swift
[94/155] Compiling RxSwift Errors.swift
[95/155] Compiling RxSwift Event.swift
[96/155] Compiling RxSwift Filter.swift
[97/155] Compiling RxSwift First.swift
[98/155] Compiling RxSwift Generate.swift
[99/155] Compiling RxSwift GroupBy.swift
[100/155] Compiling RxSwift ObservableConvertibleType.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[101/155] Compiling RxSwift ObservableType+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[102/155] Compiling RxSwift ObservableType+PrimitiveSequence.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[103/155] Compiling RxSwift ObservableType.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[104/155] Compiling RxSwift ObserveOn.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[105/155] Compiling RxSwift ObserverBase.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[106/155] Compiling RxSwift ObserverType.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[107/155] Compiling RxSwift OperationQueueScheduler.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[108/155] Compiling RxSwift Optional.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[109/155] Compiling RxSwift Platform.Darwin.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[110/155] Compiling RxSwift Platform.Linux.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[111/155] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[112/155] Compiling RxSwift PrimitiveSequence.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[113/155] Compiling RxSwift PriorityQueue.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[114/155] Compiling RxSwift Producer.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[115/155] Compiling RxSwift PublishSubject.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[116/155] Compiling RxSwift Queue.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[117/155] Compiling RxSwift Range.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[118/155] Compiling RxSwift Reactive.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:47: error: cannot find type 'pthread_key_t' in scope
 49 |     public static let instance = CurrentThreadScheduler()
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
    |                                               `- error: cannot find type 'pthread_key_t' in scope
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
 53 |         defer {
[119/155] Compiling RxSwift GroupedObservable.swift
[120/155] Compiling RxSwift HistoricalScheduler.swift
[121/155] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[122/155] Compiling RxSwift ImmediateSchedulerType.swift
[123/155] Compiling RxSwift InfiniteSequence.swift
[124/155] Compiling RxSwift InvocableScheduledItem.swift
[125/155] Compiling RxSwift InvocableType.swift
[126/155] Compiling RxSwift Just.swift
[127/155] Compiling RxSwift Lock.swift
[128/155] Compiling RxSwift LockOwnerType.swift
[129/155] Compiling RxSwift MainScheduler.swift
[130/155] Compiling RxSwift Map.swift
[131/155] Compiling RxSwift Materialize.swift
[132/155] Compiling RxSwift Maybe.swift
[133/155] Compiling RxSwift Merge.swift
[134/155] Compiling RxSwift Multicast.swift
[135/155] Compiling RxSwift Never.swift
[136/155] Compiling RxSwift NopDisposable.swift
[137/155] Compiling RxSwift Observable.swift
[138/155] Compiling RxSwift ShareReplayScope.swift
[139/155] Compiling RxSwift Single.swift
[140/155] Compiling RxSwift SingleAssignmentDisposable.swift
[141/155] Compiling RxSwift SingleAsync.swift
[142/155] Compiling RxSwift Sink.swift
[143/155] Compiling RxSwift Skip.swift
[144/155] Compiling RxSwift SkipUntil.swift
[145/155] Compiling RxSwift SkipWhile.swift
[146/155] Compiling RxSwift StartWith.swift
[147/155] Compiling RxSwift String+Rx.swift
[148/155] Compiling RxSwift SubjectType.swift
[149/155] Compiling RxSwift SubscribeOn.swift
[150/155] Compiling RxSwift SubscriptionDisposable.swift
[151/155] Compiling RxSwift SwiftSupport.swift
[152/155] Compiling RxSwift Switch.swift
[153/155] Compiling RxSwift SwitchIfEmpty.swift
[154/155] Compiling RxSwift SynchronizedDisposeType.swift
[155/155] Compiling RxSwift SynchronizedOnType.swift
BUILD FAILURE 6.2 android