The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build RxWebSocket, reference 2.2.0 (2341fa), with Swift 6.1 for Android on 27 May 2025 08:47:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/fjcaetano/RxWebSocket.git
Reference: 2.2.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/fjcaetano/RxWebSocket
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 2341fab Version Bump (2.2.0)
Submodule path 'fastlane/actions/codecov': checked out '75911fa21bda7824d7fe638eb3ff0f5d5f8ffe9a'
Submodule 'fastlane/actions/codecov' (https://gist.github.com/04126b3051f6cd6aebe041bb1dfe14e9.git) registered for path 'fastlane/actions/codecov'
Cloning into '/host/spi-builder-workspace/fastlane/actions/codecov'...
Cloned https://github.com/fjcaetano/RxWebSocket.git
Revision (git rev-parse @):
2341fabc92e8a79a494be19bc3235987c47e945d
SUCCESS checkout https://github.com/fjcaetano/RxWebSocket.git at 2.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fjcaetano/RxWebSocket.git
https://github.com/fjcaetano/RxWebSocket.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"
    },
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/daltoniam/Starscream.git"
    }
  ],
  "manifest_display_name" : "RxWebSocket",
  "name" : "RxWebSocket",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RxWebSocket",
      "targets" : [
        "RxWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RxWebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "RxWebSocketTests",
      "path" : "RxWebSocketTests",
      "product_dependencies" : [
        "RxSwift",
        "RxCocoa",
        "Starscream",
        "RxBlocking"
      ],
      "sources" : [
        "RxWebSocketTests.swift",
        "RxWebSocket_StreamEvent+Equatable.swift"
      ],
      "target_dependencies" : [
        "RxWebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RxWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "RxWebSocket",
      "path" : "Classes",
      "product_dependencies" : [
        "RxSwift",
        "RxCocoa",
        "Starscream"
      ],
      "product_memberships" : [
        "RxWebSocket"
      ],
      "sources" : [
        "RxWebSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/daltoniam/Starscream.git
[1/5033] Fetching starscream
[5034/57716] Fetching starscream, rxswift
Fetched https://github.com/daltoniam/Starscream.git from cache (0.86s)
[527/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.23s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 3.1.2 (7.84s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.24s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.97s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (2.44s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 3.1.2
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/144] 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() }
[8/162] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[9/162] 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 |             }
[10/162] 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 |             }
[11/162] 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 |             }
[12/162] 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 |             }
[13/162] 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 |             }
[14/162] 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 |             }
[15/162] 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 |             }
[16/162] 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 |             }
[17/162] 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 |             }
[18/162] 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 |             }
[19/162] 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 |             }
[20/162] 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 |             }
[21/162] 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 |             }
[22/162] 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 |             }
[23/162] 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 |             }
[24/162] 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 |             }
[25/162] 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 |             }
[26/162] 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 |             }
[27/162] 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 |             }
[28/162] 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() }
[29/162] 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() }
[30/162] 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() }
[31/162] 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() }
[32/162] 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() }
[33/162] 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() }
[34/162] 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() }
[35/162] 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() }
[36/162] 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() }
[37/162] 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() }
[38/162] 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() }
[39/162] 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() }
[40/162] 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() }
[41/162] 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() }
[42/162] 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() }
[43/162] 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() }
[44/162] 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() }
[45/162] 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() }
[46/162] 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() }
[47/162] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[48/162] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/162] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[50/162] Compiling RxSwift AddRef.swift
[51/162] Compiling RxSwift Amb.swift
[52/162] Compiling RxSwift AnonymousDisposable.swift
[53/162] Compiling RxSwift AnonymousObserver.swift
[54/162] Compiling RxSwift AnyObserver.swift
[55/162] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[56/162] Compiling RxSwift AsMaybe.swift
[57/162] Compiling RxSwift AsSingle.swift
[58/162] Compiling RxSwift AsyncLock.swift
[59/162] Compiling RxSwift AsyncSubject.swift
[60/162] Compiling RxSwift AtomicInt.swift
[61/162] Compiling RxSwift Bag+Rx.swift
[62/162] Compiling RxSwift Bag.swift
[63/162] Compiling RxSwift BehaviorSubject.swift
[64/162] Compiling RxSwift BinaryDisposable.swift
[65/162] Compiling RxSwift BooleanDisposable.swift
[66/162] Compiling RxSwift Buffer.swift
[67/162] Compiling RxSwift Cancelable.swift
[68/162] Compiling RxSwift Catch.swift
[69/162] Compiling RxSwift CombineLatest+Collection.swift
[70/162] Compiling RxSwift GroupBy.swift
[71/162] Compiling RxSwift GroupedObservable.swift
[72/162] Compiling RxSwift HistoricalScheduler.swift
[73/162] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[74/162] Compiling RxSwift ImmediateSchedulerType.swift
[75/162] Compiling RxSwift InfiniteSequence.swift
[76/162] Compiling RxSwift InvocableScheduledItem.swift
[77/162] Compiling RxSwift InvocableType.swift
[78/162] Compiling RxSwift Just.swift
[79/162] Compiling RxSwift Lock.swift
[80/162] Compiling RxSwift LockOwnerType.swift
[81/162] Compiling RxSwift MainScheduler.swift
[82/162] Compiling RxSwift Map.swift
[83/162] Compiling RxSwift Materialize.swift
[84/162] Compiling RxSwift Maybe.swift
[85/162] Compiling RxSwift Merge.swift
[86/162] Compiling RxSwift Multicast.swift
[87/162] Compiling RxSwift Never.swift
[88/162] Compiling RxSwift NopDisposable.swift
[89/162] Compiling RxSwift Reactive.swift
[90/162] Compiling RxSwift RecursiveLock.swift
[91/162] Compiling RxSwift RecursiveScheduler.swift
[92/162] Compiling RxSwift Reduce.swift
[93/162] Compiling RxSwift RefCountDisposable.swift
[94/162] Compiling RxSwift Repeat.swift
[95/162] Compiling RxSwift ReplaySubject.swift
[96/162] Compiling RxSwift RetryWhen.swift
[97/162] Compiling RxSwift Rx.swift
[98/162] Compiling RxSwift RxMutableBox.swift
[99/162] Compiling RxSwift Sample.swift
[100/162] Compiling RxSwift Scan.swift
[101/162] Compiling RxSwift ScheduledDisposable.swift
[102/162] Compiling RxSwift ScheduledItem.swift
[103/162] Compiling RxSwift ScheduledItemType.swift
[104/162] Compiling RxSwift SchedulerServices+Emulation.swift
[105/162] Compiling RxSwift SchedulerType.swift
[106/162] Compiling RxSwift Sequence.swift
[107/162] Compiling RxSwift SerialDispatchQueueScheduler.swift
[108/162] Compiling RxSwift SerialDisposable.swift
[109/162] Compiling RxSwift ShareReplayScope.swift
[110/162] Compiling RxSwift Single.swift
[111/162] Compiling RxSwift SingleAssignmentDisposable.swift
[112/162] Compiling RxSwift SingleAsync.swift
[113/162] Compiling RxSwift Sink.swift
[114/162] Compiling RxSwift Skip.swift
[115/162] Compiling RxSwift SkipUntil.swift
[116/162] Compiling RxSwift SkipWhile.swift
[117/162] Compiling RxSwift StartWith.swift
[118/162] Compiling RxSwift SubjectType.swift
[119/162] Compiling RxSwift SubscribeOn.swift
[120/162] Compiling RxSwift SubscriptionDisposable.swift
[121/162] Compiling RxSwift SwiftSupport.swift
[122/162] Compiling RxSwift Switch.swift
[123/162] Compiling RxSwift SwitchIfEmpty.swift
[124/162] Compiling RxSwift SynchronizedDisposeType.swift
[125/162] Compiling RxSwift SynchronizedOnType.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/139] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/139] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[4/139] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[5/139] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
[6/139] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/SSLSecurity.swift:25:8: error: no such module 'Security'
 23 | #else
 24 | import Foundation
 25 | import Security
    |        `- error: no such module 'Security'
 26 |
 27 | public protocol SSLTrustValidator {
BUILD FAILURE 6.1 android