The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RxCodable, reference 1.0.0 (735208), with Swift 6.1 for Android on 27 May 2025 16:02:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/devxoul/RxCodable.git
https://github.com/devxoul/RxCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift.git"
    }
  ],
  "manifest_display_name" : "RxCodable",
  "name" : "RxCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "RxCodable",
      "targets" : [
        "RxCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestUtil",
      "module_type" : "SwiftTarget",
      "name" : "TestUtil",
      "path" : "Sources/TestUtil",
      "product_dependencies" : [
        "RxBlocking"
      ],
      "sources" : [
        "Fixture.swift"
      ],
      "target_dependencies" : [
        "RxCodable"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "RxCodableTests",
      "path" : "Tests/RxCodableTests",
      "sources" : [
        "RxCodableTests.swift"
      ],
      "target_dependencies" : [
        "RxCodable",
        "TestUtil"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RxCodable",
      "module_type" : "SwiftTarget",
      "name" : "RxCodable",
      "path" : "Sources/RxCodable",
      "product_dependencies" : [
        "RxSwift"
      ],
      "product_memberships" : [
        "RxCodable"
      ],
      "sources" : [
        "Maybe+RxCodable.swift",
        "ObservableType+RxCodable.swift",
        "Single+RxCodable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.88s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (6.72s)
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-24593BA9C3E375BF.txt
[6/138] Compiling RxSwift AddRef.swift
[7/138] Compiling RxSwift Amb.swift
[8/138] Compiling RxSwift AnonymousDisposable.swift
[9/138] Compiling RxSwift AnonymousObserver.swift
[10/138] Compiling RxSwift AnyObserver.swift
[11/138] Compiling RxSwift AsMaybe.swift
[12/138] Compiling RxSwift AsSingle.swift
[13/138] Compiling RxSwift AsyncLock.swift
[14/138] Compiling RxSwift AsyncSubject.swift
[15/138] Compiling RxSwift AtomicInt.swift
[16/138] Compiling RxSwift Bag+Rx.swift
[17/138] Compiling RxSwift Bag.swift
[18/138] Compiling RxSwift BehaviorSubject.swift
[19/138] Compiling RxSwift BinaryDisposable.swift
[20/138] Compiling RxSwift BooleanDisposable.swift
[21/138] Compiling RxSwift Buffer.swift
[22/138] Compiling RxSwift Cancelable.swift
[23/138] Compiling RxSwift Catch.swift
[24/138] Compiling RxSwift CombineLatest+Collection.swift
[25/156] Compiling RxSwift Dematerialize.swift
[26/156] Compiling RxSwift Deprecated.swift
[27/156] Compiling RxSwift DispatchQueue+Extensions.swift
[28/156] Compiling RxSwift DispatchQueueConfiguration.swift
[29/156] Compiling RxSwift Disposable.swift
[30/156] Compiling RxSwift Disposables.swift
[31/156] Compiling RxSwift DisposeBag.swift
[32/156] Compiling RxSwift DisposeBase.swift
[33/156] Compiling RxSwift DistinctUntilChanged.swift
[34/156] Compiling RxSwift Do.swift
[35/156] Compiling RxSwift ElementAt.swift
[36/156] Compiling RxSwift Empty.swift
[37/156] Compiling RxSwift Enumerated.swift
[38/156] Compiling RxSwift Error.swift
[39/156] Compiling RxSwift Errors.swift
[40/156] Compiling RxSwift Event.swift
[41/156] Compiling RxSwift Filter.swift
[42/156] Compiling RxSwift First.swift
[43/156] Compiling RxSwift Generate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/156] Compiling RxSwift GroupBy.swift
[45/156] Compiling RxSwift GroupedObservable.swift
[46/156] Compiling RxSwift HistoricalScheduler.swift
[47/156] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[48/156] Compiling RxSwift ImmediateSchedulerType.swift
[49/156] Compiling RxSwift InfiniteSequence.swift
[50/156] Compiling RxSwift InvocableScheduledItem.swift
[51/156] Compiling RxSwift InvocableType.swift
[52/156] Compiling RxSwift Just.swift
[53/156] Compiling RxSwift Lock.swift
[54/156] Compiling RxSwift LockOwnerType.swift
[55/156] Compiling RxSwift MainScheduler.swift
[56/156] Compiling RxSwift Map.swift
[57/156] Compiling RxSwift Materialize.swift
[58/156] Compiling RxSwift Maybe.swift
[59/156] Compiling RxSwift Merge.swift
[60/156] Compiling RxSwift Multicast.swift
[61/156] Compiling RxSwift Never.swift
[62/156] Compiling RxSwift NopDisposable.swift
[63/156] 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() }
[64/156] Compiling RxSwift Reactive.swift
[65/156] Compiling RxSwift RecursiveLock.swift
[66/156] Compiling RxSwift RecursiveScheduler.swift
[67/156] Compiling RxSwift Reduce.swift
[68/156] Compiling RxSwift RefCountDisposable.swift
[69/156] Compiling RxSwift Repeat.swift
[70/156] Compiling RxSwift ReplaySubject.swift
[71/156] Compiling RxSwift RetryWhen.swift
[72/156] Compiling RxSwift Rx.swift
[73/156] Compiling RxSwift RxMutableBox.swift
[74/156] Compiling RxSwift Sample.swift
[75/156] Compiling RxSwift Scan.swift
[76/156] Compiling RxSwift ScheduledDisposable.swift
[77/156] Compiling RxSwift ScheduledItem.swift
[78/156] Compiling RxSwift ScheduledItemType.swift
[79/156] Compiling RxSwift SchedulerServices+Emulation.swift
[80/156] Compiling RxSwift SchedulerType.swift
[81/156] Compiling RxSwift Sequence.swift
[82/156] Compiling RxSwift SerialDispatchQueueScheduler.swift
[83/156] Compiling RxSwift SerialDisposable.swift
[84/156] Compiling RxSwift ShareReplayScope.swift
[85/156] Compiling RxSwift Single.swift
[86/156] Compiling RxSwift SingleAssignmentDisposable.swift
[87/156] Compiling RxSwift SingleAsync.swift
[88/156] Compiling RxSwift Sink.swift
[89/156] Compiling RxSwift Skip.swift
[90/156] Compiling RxSwift SkipUntil.swift
[91/156] Compiling RxSwift SkipWhile.swift
[92/156] Compiling RxSwift StartWith.swift
[93/156] Compiling RxSwift SubjectType.swift
[94/156] Compiling RxSwift SubscribeOn.swift
[95/156] Compiling RxSwift SubscriptionDisposable.swift
[96/156] Compiling RxSwift SwiftSupport.swift
[97/156] Compiling RxSwift Switch.swift
[98/156] Compiling RxSwift SwitchIfEmpty.swift
[99/156] Compiling RxSwift SynchronizedDisposeType.swift
[100/156] Compiling RxSwift SynchronizedOnType.swift
[101/156] 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() }
[102/156] 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() }
[103/156] 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() }
[104/156] 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() }
[105/156] 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() }
[106/156] 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() }
[107/156] 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() }
[108/156] 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() }
[109/156] 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() }
[110/156] 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() }
[111/156] 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() }
[112/156] 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() }
[113/156] 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() }
[114/156] 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() }
[115/156] 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() }
[116/156] 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() }
[117/156] 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() }
[118/156] 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() }
[119/156] 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() }
[120/156] 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: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 |             }
[121/156] 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: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 |             }
[122/156] 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: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 |             }
[123/156] 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: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 |             }
[124/156] 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: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 |             }
[125/156] 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: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 |             }
[126/156] 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: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 |             }
[127/156] 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: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 |             }
[128/156] 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: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 |             }
[129/156] 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: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 |             }
[130/156] 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: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 |             }
[131/156] 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: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 |             }
[132/156] 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: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 |             }
[133/156] 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: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 |             }
[134/156] 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: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 |             }
[135/156] 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: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 |             }
[136/156] 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: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 |             }
[137/156] 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: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 |             }
[138/156] 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: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 |             }
[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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/134] 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() }
[3/152] 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: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 |             }
[4/152] 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: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 |             }
[5/152] 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: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 |             }
[6/152] 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: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 |             }
[7/152] 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: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 |             }
[8/152] 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: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 |             }
[9/152] 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: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 |             }
[10/152] 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: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 |             }
[11/152] 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: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 |             }
[12/152] 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: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 |             }
[13/152] 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: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 |             }
[14/152] 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: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 |             }
[15/152] 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: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 |             }
[16/152] 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: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 |             }
[17/152] 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: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 |             }
[18/152] 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: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 |             }
[19/152] 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: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 |             }
[20/152] 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: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 |             }
[21/152] 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: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 |             }
[22/152] Compiling RxSwift SerialDisposable.swift
[23/152] Compiling RxSwift ShareReplayScope.swift
[24/152] Compiling RxSwift Single.swift
[25/152] Compiling RxSwift SingleAssignmentDisposable.swift
[26/152] Compiling RxSwift SingleAsync.swift
[27/152] Compiling RxSwift Sink.swift
[28/152] Compiling RxSwift Skip.swift
[29/152] Compiling RxSwift SkipUntil.swift
[30/152] Compiling RxSwift SkipWhile.swift
[31/152] Compiling RxSwift StartWith.swift
[32/152] Compiling RxSwift SubjectType.swift
[33/152] Compiling RxSwift SubscribeOn.swift
[34/152] Compiling RxSwift SubscriptionDisposable.swift
[35/152] Compiling RxSwift SwiftSupport.swift
[36/152] Compiling RxSwift Switch.swift
[37/152] Compiling RxSwift SwitchIfEmpty.swift
[38/152] Compiling RxSwift SynchronizedDisposeType.swift
[39/152] Compiling RxSwift SynchronizedOnType.swift
[40/152] Compiling RxSwift Reactive.swift
[41/152] Compiling RxSwift RecursiveLock.swift
[42/152] Compiling RxSwift RecursiveScheduler.swift
[43/152] Compiling RxSwift Reduce.swift
[44/152] Compiling RxSwift RefCountDisposable.swift
[45/152] Compiling RxSwift Repeat.swift
[46/152] Compiling RxSwift ReplaySubject.swift
[47/152] Compiling RxSwift RetryWhen.swift
[48/152] Compiling RxSwift Rx.swift
[49/152] Compiling RxSwift RxMutableBox.swift
[50/152] Compiling RxSwift Sample.swift
[51/152] Compiling RxSwift Scan.swift
[52/152] Compiling RxSwift ScheduledDisposable.swift
[53/152] Compiling RxSwift ScheduledItem.swift
[54/152] Compiling RxSwift ScheduledItemType.swift
[55/152] Compiling RxSwift SchedulerServices+Emulation.swift
[56/152] Compiling RxSwift SchedulerType.swift
[57/152] Compiling RxSwift Sequence.swift
[58/152] Compiling RxSwift SerialDispatchQueueScheduler.swift
[59/152] Compiling RxSwift Dematerialize.swift
[60/152] Compiling RxSwift Deprecated.swift
[61/152] Compiling RxSwift DispatchQueue+Extensions.swift
[62/152] Compiling RxSwift DispatchQueueConfiguration.swift
[63/152] Compiling RxSwift Disposable.swift
[64/152] Compiling RxSwift Disposables.swift
[65/152] Compiling RxSwift DisposeBag.swift
[66/152] Compiling RxSwift DisposeBase.swift
[67/152] Compiling RxSwift DistinctUntilChanged.swift
[68/152] Compiling RxSwift Do.swift
[69/152] Compiling RxSwift ElementAt.swift
[70/152] Compiling RxSwift Empty.swift
[71/152] Compiling RxSwift Enumerated.swift
[72/152] Compiling RxSwift Error.swift
[73/152] Compiling RxSwift Errors.swift
[74/152] Compiling RxSwift Event.swift
[75/152] Compiling RxSwift Filter.swift
[76/152] Compiling RxSwift First.swift
[77/152] Compiling RxSwift Generate.swift
[78/152] Compiling RxSwift GroupBy.swift
[79/152] Compiling RxSwift GroupedObservable.swift
[80/152] Compiling RxSwift HistoricalScheduler.swift
[81/152] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[82/152] Compiling RxSwift ImmediateSchedulerType.swift
[83/152] Compiling RxSwift InfiniteSequence.swift
[84/152] Compiling RxSwift InvocableScheduledItem.swift
[85/152] Compiling RxSwift InvocableType.swift
[86/152] Compiling RxSwift Just.swift
[87/152] Compiling RxSwift Lock.swift
[88/152] Compiling RxSwift LockOwnerType.swift
[89/152] Compiling RxSwift MainScheduler.swift
[90/152] Compiling RxSwift Map.swift
[91/152] Compiling RxSwift Materialize.swift
[92/152] Compiling RxSwift Maybe.swift
[93/152] Compiling RxSwift Merge.swift
[94/152] Compiling RxSwift Multicast.swift
[95/152] Compiling RxSwift Never.swift
[96/152] Compiling RxSwift NopDisposable.swift
[97/152] Compiling RxSwift AddRef.swift
[98/152] Compiling RxSwift Amb.swift
[99/152] Compiling RxSwift AnonymousDisposable.swift
[100/152] Compiling RxSwift AnonymousObserver.swift
[101/152] Compiling RxSwift AnyObserver.swift
[102/152] Compiling RxSwift AsMaybe.swift
[103/152] Compiling RxSwift AsSingle.swift
[104/152] Compiling RxSwift AsyncLock.swift
[105/152] Compiling RxSwift AsyncSubject.swift
[106/152] Compiling RxSwift AtomicInt.swift
[107/152] Compiling RxSwift Bag+Rx.swift
[108/152] Compiling RxSwift Bag.swift
[109/152] Compiling RxSwift BehaviorSubject.swift
[110/152] Compiling RxSwift BinaryDisposable.swift
[111/152] Compiling RxSwift BooleanDisposable.swift
[112/152] Compiling RxSwift Buffer.swift
[113/152] Compiling RxSwift Cancelable.swift
[114/152] Compiling RxSwift Catch.swift
[115/152] Compiling RxSwift CombineLatest+Collection.swift
[116/152] 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() }
[117/152] 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() }
[118/152] 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() }
[119/152] 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() }
[120/152] 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() }
[121/152] 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() }
[122/152] 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() }
[123/152] 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() }
[124/152] 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() }
[125/152] 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() }
[126/152] 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() }
[127/152] 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() }
[128/152] 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() }
[129/152] 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() }
[130/152] 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() }
[131/152] 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() }
[132/152] 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() }
[133/152] 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() }
[134/152] 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() }
[135/152] Compiling RxSwift SynchronizedUnsubscribeType.swift
[136/152] Compiling RxSwift TailRecursiveSink.swift
[137/152] Compiling RxSwift Take.swift
[138/152] Compiling RxSwift TakeLast.swift
[139/152] Compiling RxSwift TakeUntil.swift
[140/152] Compiling RxSwift TakeWhile.swift
[141/152] Compiling RxSwift Throttle.swift
[142/152] Compiling RxSwift Timeout.swift
[143/152] Compiling RxSwift Timer.swift
[144/152] Compiling RxSwift ToArray.swift
[145/152] Compiling RxSwift Using.swift
[146/152] Compiling RxSwift VirtualTimeConverterType.swift
[147/152] Compiling RxSwift VirtualTimeScheduler.swift
[148/152] Compiling RxSwift Window.swift
[149/152] Compiling RxSwift WithLatestFrom.swift
[150/152] Compiling RxSwift Zip+Collection.swift
[151/152] Compiling RxSwift Zip+arity.swift
[152/152] Compiling RxSwift Zip.swift
BUILD FAILURE 6.1 android