The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RxCodable, reference 1.0.0 (735208), with Swift 6.3 for Android on 11 Apr 2026 08:56:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devxoul/RxCodable.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/devxoul/RxCodable
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 735208a Bump version to 1.0.0
Cloned https://github.com/devxoul/RxCodable.git
Revision (git rev-parse @):
735208a4db43202c26cf7fee82a19a02a94cb754
SUCCESS checkout https://github.com/devxoul/RxCodable.git at 1.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/devxoul/RxCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/ReactiveX/RxSwift.git
[1/54305] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (7.36s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (7.85s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--4F562202D5529B1.txt
[6/138] Compiling RxSwift SerialDisposable.swift
[7/138] Compiling RxSwift ShareReplayScope.swift
[8/138] Compiling RxSwift Single.swift
[9/138] Compiling RxSwift SingleAssignmentDisposable.swift
[10/138] Compiling RxSwift SingleAsync.swift
[11/138] Compiling RxSwift Sink.swift
[12/138] Compiling RxSwift Skip.swift
[13/138] Compiling RxSwift SkipUntil.swift
[14/138] Compiling RxSwift SkipWhile.swift
[15/138] Compiling RxSwift StartWith.swift
[16/138] Compiling RxSwift SubjectType.swift
[17/138] Compiling RxSwift SubscribeOn.swift
[18/138] Compiling RxSwift SubscriptionDisposable.swift
[19/138] Compiling RxSwift SwiftSupport.swift
[20/138] Compiling RxSwift Switch.swift
[21/138] Compiling RxSwift SwitchIfEmpty.swift
[22/138] Compiling RxSwift SynchronizedDisposeType.swift
[23/138] Compiling RxSwift SynchronizedOnType.swift
[24/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[25/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[26/138] Compiling RxSwift CompactMap.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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[27/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[28/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[29/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[30/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[31/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[32/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[33/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[34/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[35/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[36/138] Compiling RxSwift Date+Dispatch.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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[37/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[38/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[39/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[40/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[41/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[42/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:68:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 66 |     static var queue : ScheduleQueue? {
 67 |         get {
 68 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 69 |         }
 70 |         set {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:71:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 69 |         }
 70 |         set {
 71 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 72 |         }
 73 |     }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:78:20: error: cannot find 'pthread_getspecific' in scope
 76 |     public static private(set) var isScheduleRequired: Bool {
 77 |         get {
 78 |             return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
    |                    `- error: cannot find 'pthread_getspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:81:16: error: cannot find 'pthread_setspecific' in scope
 79 |         }
 80 |         set(isScheduleRequired) {
 81 |             if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
    |                `- error: cannot find 'pthread_setspecific' in scope
 82 |                 rxFatalError("pthread_setspecific failed")
 83 |             }
[43/138] Compiling RxSwift Observable.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 { key.deallocate() }
[44/138] 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 { key.deallocate() }
[45/138] 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 { key.deallocate() }
[46/138] 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 { key.deallocate() }
[47/138] 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 { key.deallocate() }
[48/138] 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 { key.deallocate() }
[49/138] 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 { key.deallocate() }
[50/138] 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 { key.deallocate() }
[51/138] 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 { key.deallocate() }
[52/138] 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 { key.deallocate() }
[53/138] 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 { key.deallocate() }
[54/138] 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 { key.deallocate() }
[55/138] 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 { key.deallocate() }
[56/138] 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 { key.deallocate() }
[57/138] 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 { key.deallocate() }
[58/138] 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 { key.deallocate() }
[59/138] 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 { key.deallocate() }
[60/138] 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 { key.deallocate() }
[61/138] 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 { key.deallocate() }
[62/138] Compiling RxSwift AddRef.swift
[63/138] Compiling RxSwift Amb.swift
[64/138] Compiling RxSwift AnonymousDisposable.swift
[65/138] Compiling RxSwift AnonymousObserver.swift
[66/138] Compiling RxSwift AnyObserver.swift
[67/138] Compiling RxSwift AsMaybe.swift
[68/138] Compiling RxSwift AsSingle.swift
[69/138] Compiling RxSwift AsyncLock.swift
[70/138] Compiling RxSwift AsyncSubject.swift
[71/138] Compiling RxSwift AtomicInt.swift
[72/138] Compiling RxSwift Bag+Rx.swift
[73/138] Compiling RxSwift Bag.swift
[74/138] Compiling RxSwift BehaviorSubject.swift
[75/138] Compiling RxSwift BinaryDisposable.swift
[76/138] Compiling RxSwift BooleanDisposable.swift
[77/138] Compiling RxSwift Buffer.swift
[78/138] Compiling RxSwift Cancelable.swift
[79/138] Compiling RxSwift Catch.swift
[80/138] Compiling RxSwift CombineLatest+Collection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/138] 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 { key.deallocate() }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:52:40: error: cannot find type 'pthread_key_t' in scope
 50 |
 51 |     private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
 52 |         let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
    |                                        `- error: cannot find type 'pthread_key_t' in scope
 53 |         defer { key.deallocate() }
 54 |
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:55:15: error: cannot find 'pthread_key_create' in scope
 53 |         defer { key.deallocate() }
 54 |
 55 |         guard pthread_key_create(key, nil) == 0 else {
    |               `- error: cannot find 'pthread_key_create' in scope
 56 |             rxFatalError("isScheduleRequired key creation failed")
 57 |         }
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/CurrentThreadScheduler.swift:51:71: 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 { key.deallocate() }
[82/138] Compiling RxSwift Reactive.swift
[83/138] Compiling RxSwift RecursiveLock.swift
[84/138] Compiling RxSwift RecursiveScheduler.swift
[85/138] Compiling RxSwift Reduce.swift
[86/138] Compiling RxSwift RefCountDisposable.swift
[87/138] Compiling RxSwift Repeat.swift
[88/138] Compiling RxSwift ReplaySubject.swift
[89/138] Compiling RxSwift RetryWhen.swift
[90/138] Compiling RxSwift Rx.swift
[91/138] Compiling RxSwift RxMutableBox.swift
[92/138] Compiling RxSwift Sample.swift
[93/138] Compiling RxSwift Scan.swift
[94/138] Compiling RxSwift ScheduledDisposable.swift
[95/138] Compiling RxSwift ScheduledItem.swift
[96/138] Compiling RxSwift ScheduledItemType.swift
[97/138] Compiling RxSwift SchedulerServices+Emulation.swift
[98/138] Compiling RxSwift SchedulerType.swift
[99/138] Compiling RxSwift Sequence.swift
[100/138] Compiling RxSwift SerialDispatchQueueScheduler.swift
[101/138] Compiling RxSwift GroupBy.swift
[102/138] Compiling RxSwift GroupedObservable.swift
[103/138] Compiling RxSwift HistoricalScheduler.swift
[104/138] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[105/138] Compiling RxSwift ImmediateSchedulerType.swift
[106/138] Compiling RxSwift InfiniteSequence.swift
[107/138] Compiling RxSwift InvocableScheduledItem.swift
[108/138] Compiling RxSwift InvocableType.swift
[109/138] Compiling RxSwift Just.swift
[110/138] Compiling RxSwift Lock.swift
[111/138] Compiling RxSwift LockOwnerType.swift
[112/138] Compiling RxSwift MainScheduler.swift
[113/138] Compiling RxSwift Map.swift
[114/138] Compiling RxSwift Materialize.swift
[115/138] Compiling RxSwift Maybe.swift
[116/138] Compiling RxSwift Merge.swift
[117/138] Compiling RxSwift Multicast.swift
[118/138] Compiling RxSwift Never.swift
[119/138] Compiling RxSwift NopDisposable.swift
[120/138] Compiling RxSwift Dematerialize.swift
[121/138] Compiling RxSwift Deprecated.swift
[122/138] Compiling RxSwift DispatchQueue+Extensions.swift
[123/138] Compiling RxSwift DispatchQueueConfiguration.swift
[124/138] Compiling RxSwift Disposable.swift
[125/138] Compiling RxSwift Disposables.swift
[126/138] Compiling RxSwift DisposeBag.swift
[127/138] Compiling RxSwift DisposeBase.swift
[128/138] Compiling RxSwift DistinctUntilChanged.swift
[129/138] Compiling RxSwift Do.swift
[130/138] Compiling RxSwift ElementAt.swift
[131/138] Compiling RxSwift Empty.swift
[132/138] Compiling RxSwift Enumerated.swift
[133/138] Compiling RxSwift Error.swift
[134/138] Compiling RxSwift Errors.swift
[135/138] Compiling RxSwift Event.swift
[136/138] Compiling RxSwift Filter.swift
[137/138] Compiling RxSwift First.swift
[138/138] Compiling RxSwift Generate.swift
[139/156] Compiling RxSwift SynchronizedUnsubscribeType.swift
[140/156] Compiling RxSwift TailRecursiveSink.swift
[141/156] Compiling RxSwift Take.swift
[142/156] Compiling RxSwift TakeLast.swift
[143/156] Compiling RxSwift TakeUntil.swift
[144/156] Compiling RxSwift TakeWhile.swift
[145/156] Compiling RxSwift Throttle.swift
[146/156] Compiling RxSwift Timeout.swift
[147/156] Compiling RxSwift Timer.swift
[148/156] Compiling RxSwift ToArray.swift
[149/156] Compiling RxSwift Using.swift
[150/156] Compiling RxSwift VirtualTimeConverterType.swift
[151/156] Compiling RxSwift VirtualTimeScheduler.swift
[152/156] Compiling RxSwift Window.swift
[153/156] Compiling RxSwift WithLatestFrom.swift
[154/156] Compiling RxSwift Zip+Collection.swift
[155/156] Compiling RxSwift Zip+arity.swift
[156/156] Compiling RxSwift Zip.swift
BUILD FAILURE 6.3 android