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 RxComposableArchitecture, reference 0.51.0 (0f3be7), with Swift 6.1 for Android on 29 May 2025 03:15:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/tokopedia/RxComposableArchitecture.git
Reference: 0.51.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/tokopedia/RxComposableArchitecture
 * tag               0.51.0     -> FETCH_HEAD
HEAD is now at 0f3be75 [Main] - Bump Changes to 0.51.0 Base Version (#105)
Cloned https://github.com/tokopedia/RxComposableArchitecture.git
Revision (git rev-parse @):
0f3be752fd08be7e30dfe9bb06c0c7fb0c901a3b
SUCCESS checkout https://github.com/tokopedia/RxComposableArchitecture.git at 0.51.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tokopedia/RxComposableArchitecture.git
https://github.com/tokopedia/RxComposableArchitecture.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift"
    },
    {
      "identity" : "swift-case-paths",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-case-paths"
    },
    {
      "identity" : "swift-benchmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/swift-benchmark"
    },
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump"
    },
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies"
    }
  ],
  "manifest_display_name" : "RxComposableArchitecture",
  "name" : "RxComposableArchitecture",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "RxComposableArchitecture",
      "targets" : [
        "RxComposableArchitecture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxComposableArchitecture-Benchmark",
      "targets" : [
        "RxComposableArchitecture-Benchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RxComposableArchitectureTests",
      "module_type" : "SwiftTarget",
      "name" : "RxComposableArchitectureTests",
      "path" : "Tests/RxComposableArchitectureTests",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "BindingLocalTests.swift",
        "BootstrapTests.swift",
        "DependencyKeyWritingReducerTests.swift",
        "EffectCancellationTests.swift",
        "EffectDebounceTests.swift",
        "EffectDeferredTests.swift",
        "EffectOperationTests.swift",
        "EffectRunTests.swift",
        "EffectTaskTests.swift",
        "EffectTests.swift",
        "EffectThrottleTests.swift",
        "ForEachReducerTests.swift",
        "IdentifiedArrayTests.swift",
        "IfCaseLetReducerTests.swift",
        "IfLetReducerTests.swift",
        "LCRNG.swift",
        "MemoryManagementTests.swift",
        "NeverEqualTests.swift",
        "ReducerBuilderTests.swift",
        "ReducerTests.swift",
        "RuntimeWarningTests.swift",
        "RxComposableArchitectureTests.swift",
        "ScopeTests.swift",
        "SingleSelectionSelectableTypeTests.swift",
        "SingleSelectionTests.swift",
        "StoreFilterTests.swift",
        "StoreOldScopeTest.swift",
        "StoreTests.swift",
        "TaskCancellationTests.swift",
        "TaskResultTests.swift",
        "TestStoreFailureTests.swift",
        "TestStoreNonExhaustiveTests.swift",
        "TestStoreOldScopeTests.swift",
        "TestStoreTests.swift",
        "TimerTests.swift",
        "ViewStoreTests.swift"
      ],
      "target_dependencies" : [
        "RxComposableArchitecture"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RxComposableArchitecture_Benchmark",
      "module_type" : "SwiftTarget",
      "name" : "RxComposableArchitecture-Benchmark",
      "path" : "Sources/RxComposableArchitecture-Benchmark",
      "product_dependencies" : [
        "Benchmark"
      ],
      "product_memberships" : [
        "RxComposableArchitecture-Benchmark"
      ],
      "sources" : [
        "Common.swift",
        "Dependencies.swift",
        "Effect.swift",
        "StoreScope.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "RxComposableArchitecture"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RxComposableArchitecture",
      "module_type" : "SwiftTarget",
      "name" : "RxComposableArchitecture",
      "path" : "Sources/RxComposableArchitecture",
      "product_dependencies" : [
        "CasePaths",
        "RxSwift",
        "RxRelay",
        "XCTestDynamicOverlay",
        "CustomDump",
        "Dependencies"
      ],
      "product_memberships" : [
        "RxComposableArchitecture",
        "RxComposableArchitecture-Benchmark"
      ],
      "sources" : [
        "Binding.swift",
        "Debugging/Bootstrapping.swift",
        "Debugging/MockPageTemplate.swift",
        "DiffingInterface/AnyHashDiffable.swift",
        "DiffingInterface/DiffingInterface+Primitives.swift",
        "DiffingInterface/HashDiffing.swift",
        "DiffingUtility/DiffMode.swift",
        "Effect.swift",
        "Effects/Animation.swift",
        "Effects/Cancellation.swift",
        "Effects/Observable.swift",
        "Effects/Observable/Debouncing.swift",
        "Effects/Observable/Deferring.swift",
        "Effects/Observable/Throttling.swift",
        "Effects/Observable/Timer.swift",
        "Effects/TaskResult.swift",
        "Export.swift",
        "IdentifiedArray.swift",
        "IfLet.swift",
        "Internal/AnyDisposable.swift",
        "Internal/AnyType.swift",
        "Internal/Box.swift",
        "Internal/Debug.swift",
        "Internal/Deprecated.swift",
        "Internal/Locking.swift",
        "Internal/OpenExistential.swift",
        "Internal/RuntimeWarnings.swift",
        "Internal/RxMainQueue.swift",
        "Internal/TaskBox.swift",
        "Internal/TaskCancellableValue.swift",
        "OptionalPaths.swift",
        "PropertyWrapper/NeverEqual.swift",
        "PropertyWrapper/SingleSelection.swift",
        "PropertyWrapper/UniqueElements.swift",
        "Reducer/AnyReducer/AnyReducer.swift",
        "Reducer/AnyReducer/AnyReducerCompatibility.swift",
        "Reducer/AnyReducer/AnyReducerDebug.swift",
        "Reducer/AnyReducer/AnyReducerSignpost.swift",
        "Reducer/ReducerBuilder.swift",
        "Reducer/Reducers/CombineReducers.swift",
        "Reducer/Reducers/DebugReducer.swift",
        "Reducer/Reducers/DependencyKeyWritingReducer.swift",
        "Reducer/Reducers/EmptyReducer.swift",
        "Reducer/Reducers/ForEachReducer.swift",
        "Reducer/Reducers/IfCaseLetReducer.swift",
        "Reducer/Reducers/IfLetReducer.swift",
        "Reducer/Reducers/OptionalReducer.swift",
        "Reducer/Reducers/Reduce.swift",
        "Reducer/Reducers/Scope.swift",
        "Reducer/Reducers/SignpostReducer.swift",
        "ReducerProtocol.swift",
        "Stateless.swift",
        "Store.swift",
        "StoreConfig.swift",
        "SwiftUI/Alert.swift",
        "SwiftUI/ButtonState.swift",
        "SwiftUI/Internal/ButtonStateSlider.swift",
        "SwiftUI/TextState.swift",
        "SwiftUI/WithViewStore.swift",
        "TestSupport/Effect+Failing.swift",
        "TestSupport/PriorityQueue.swift",
        "TestSupport/TestScheduler.swift",
        "TestSupport/TestStore.swift",
        "TestSupport/VirtualTimeScheduler.swift",
        "ViewStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/ReactiveX/RxSwift
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-case-paths
[1/4375] Fetching swift-case-paths
[1883/8956] Fetching swift-case-paths, swift-custom-dump
[7629/10442] Fetching swift-case-paths, swift-custom-dump, swift-benchmark
[10443/15900] Fetching swift-case-paths, swift-custom-dump, swift-benchmark, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.42s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
[3615/6944] Fetching swift-benchmark, xctest-dynamic-overlay
[4544/13193] Fetching swift-benchmark, xctest-dynamic-overlay, swift-dependencies
[6778/65876] Fetching swift-benchmark, xctest-dynamic-overlay, swift-dependencies, rxswift
Fetched https://github.com/google/swift-benchmark from cache (0.72s)
[20664/64390] Fetching xctest-dynamic-overlay, swift-dependencies, rxswift
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.86s)
[23108/58932] Fetching swift-dependencies, rxswift
Fetched https://github.com/pointfreeco/swift-dependencies from cache (5.70s)
Fetched https://github.com/ReactiveX/RxSwift from cache (5.85s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (9.07s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.86s)
Fetching https://github.com/apple/swift-argument-parser
[1/15354] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/ReactiveX/RxSwift
Computed https://github.com/ReactiveX/RxSwift at 5.1.3 (1.78s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.55s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/1292] Fetching swift-clocks
[27/2144] Fetching swift-clocks, swift-concurrency-extras
[370/4554] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.33s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.34s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.34s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.85s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.50s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.49s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.62s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.70s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/ReactiveX/RxSwift
Working copy of https://github.com/ReactiveX/RxSwift resolved at 5.1.3
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[15/32] Write swift-version-24593BA9C3E375BF.txt
[17/183] Emitting module ArgumentParserToolInfo
[18/183] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/184] Wrapping AST for ArgumentParserToolInfo for debugging
[21/208] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[22/208] Compiling XCTestDynamicOverlay Unimplemented.swift
[23/223] Compiling XCTestDynamicOverlay Deprecations.swift
[24/223] Emitting module ArgumentParser
[25/228] Compiling ArgumentParser ArgumentVisibility.swift
[26/228] Compiling ArgumentParser CompletionKind.swift
[27/228] Compiling ArgumentParser Errors.swift
[28/228] Compiling ArgumentParser Flag.swift
[29/228] Compiling ArgumentParser NameSpecification.swift
[30/228] Compiling ArgumentParser Option.swift
[31/228] Compiling ArgumentParser ArgumentDefinition.swift
[32/228] Compiling ArgumentParser ArgumentSet.swift
[33/228] Compiling ArgumentParser CommandParser.swift
[34/228] Compiling ArgumentParser InputKey.swift
[35/228] Compiling ArgumentParser InputOrigin.swift
[36/228] Compiling ArgumentParser CollectionExtensions.swift
[37/228] Compiling ArgumentParser Platform.swift
[38/228] Compiling ArgumentParser SequenceExtensions.swift
[39/228] Compiling ArgumentParser StringExtensions.swift
[40/228] Compiling ArgumentParser Tree.swift
[41/228] Compiling ArgumentParser OptionGroup.swift
[42/228] Compiling ArgumentParser AsyncParsableCommand.swift
[43/228] Compiling ArgumentParser CommandConfiguration.swift
[44/228] Compiling ArgumentParser CommandGroup.swift
[45/228] Compiling ArgumentParser EnumerableFlag.swift
[46/228] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/228] Compiling ArgumentParser CompletionsGenerator.swift
[48/228] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/228] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/228] Compiling ArgumentParser Argument.swift
[51/228] Compiling ArgumentParser ArgumentHelp.swift
[52/228] Compiling ArgumentParser ExpressibleByArgument.swift
[53/228] Compiling ArgumentParser ParsableArguments.swift
[54/228] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/228] Compiling ArgumentParser ParsableCommand.swift
[56/228] Compiling ArgumentParser ArgumentDecoder.swift
[57/228] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[58/228] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[59/228] Compiling XCTestDynamicOverlay XCTFail.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 |             }
/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 |             }
/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 |             }
/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 |             }
/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 |             }
/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 |             }
/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 |             }
/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 |             }
[68/228] Compiling ArgumentParser Name.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 |             }
[69/228] Compiling ArgumentParser Parsed.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 |             }
[70/228] Compiling ArgumentParser ParsedValues.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 |             }
[71/228] Compiling ArgumentParser ParserError.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 |             }
[72/228] Compiling ArgumentParser SplitArguments.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 |             }
[73/228] Compiling ArgumentParser DumpHelpGenerator.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 |             }
[74/228] Compiling ArgumentParser HelpCommand.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 |             }
[75/228] Compiling ArgumentParser HelpGenerator.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 |             }
[76/228] Compiling ArgumentParser MessageInfo.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 |             }
[77/228] Compiling ArgumentParser UsageGenerator.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 |             }
/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 |             }
[83/228] Compiling RxSwift Disposable.swift
[84/228] Compiling RxSwift Disposables.swift
[85/228] Compiling RxSwift DisposeBag.swift
[86/228] Compiling RxSwift DisposeBase.swift
[87/228] Compiling RxSwift DistinctUntilChanged.swift
[88/228] Compiling RxSwift Do.swift
[89/228] Compiling RxSwift ElementAt.swift
[90/228] Compiling RxSwift Empty.swift
[91/228] Compiling RxSwift Enumerated.swift
[92/228] Compiling RxSwift Error.swift
[93/228] Compiling RxSwift Errors.swift
[94/228] Compiling RxSwift Event.swift
[95/228] Compiling RxSwift Filter.swift
[96/228] Compiling RxSwift First.swift
[97/228] Compiling RxSwift Generate.swift
[98/246] Emitting module XCTestDynamicOverlay
[99/246] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[110/246] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[111/246] Compiling ConcurrencyExtras Task.swift
[112/247] Compiling RxSwift Reactive.swift
[113/247] Compiling RxSwift RecursiveLock.swift
[114/247] Compiling RxSwift RecursiveScheduler.swift
[115/247] Compiling RxSwift Reduce.swift
[116/247] Compiling RxSwift RefCountDisposable.swift
[117/247] Compiling RxSwift Repeat.swift
[118/247] Compiling RxSwift ReplaySubject.swift
[119/247] Compiling RxSwift RetryWhen.swift
[120/247] Compiling RxSwift Rx.swift
[121/247] Compiling RxSwift RxMutableBox.swift
[122/247] Compiling RxSwift Sample.swift
[123/247] Compiling RxSwift Scan.swift
[124/247] Compiling RxSwift ScheduledDisposable.swift
[125/247] Compiling RxSwift ScheduledItem.swift
[126/247] Compiling RxSwift ScheduledItemType.swift
[127/247] Compiling RxSwift SchedulerServices+Emulation.swift
[128/247] Compiling RxSwift SchedulerType.swift
[129/247] Compiling RxSwift Sequence.swift
[130/247] Compiling RxSwift SerialDispatchQueueScheduler.swift
[131/247] Compiling ConcurrencyExtras Locking.swift
[132/247] Compiling RxSwift SerialDisposable.swift
[133/247] Compiling RxSwift ShareReplayScope.swift
[134/247] Compiling RxSwift Single.swift
[135/247] Compiling RxSwift SingleAssignmentDisposable.swift
[136/247] Compiling RxSwift SingleAsync.swift
[137/247] Compiling RxSwift Sink.swift
[138/247] Compiling RxSwift Skip.swift
[139/247] Compiling RxSwift SkipUntil.swift
[140/247] Compiling RxSwift SkipWhile.swift
[141/247] Compiling RxSwift StartWith.swift
[142/247] Compiling RxSwift SubjectType.swift
[143/247] Compiling RxSwift SubscribeOn.swift
[144/247] Compiling RxSwift SubscriptionDisposable.swift
[145/247] Compiling RxSwift SwiftSupport.swift
[146/247] Compiling RxSwift Switch.swift
[147/247] Compiling RxSwift SwitchIfEmpty.swift
[148/247] Compiling RxSwift SynchronizedDisposeType.swift
[149/247] Compiling RxSwift SynchronizedOnType.swift
[150/249] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[151/249] Compiling ConcurrencyExtras LockIsolated.swift
[152/249] Compiling ConcurrencyExtras MainSerialExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:18: error: 'nil' requires a contextual type
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |                  `- error: 'nil' requires a contextual type
78 | #endif
79 |
[153/249] Compiling RxSwift GroupBy.swift
[154/249] Compiling RxSwift GroupedObservable.swift
[155/249] Compiling RxSwift HistoricalScheduler.swift
[156/249] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[157/249] Compiling RxSwift ImmediateSchedulerType.swift
[158/249] Compiling RxSwift InfiniteSequence.swift
[159/249] Compiling RxSwift InvocableScheduledItem.swift
[160/249] Compiling RxSwift InvocableType.swift
[161/249] Compiling RxSwift Just.swift
[162/249] Compiling RxSwift Lock.swift
[163/249] Compiling RxSwift LockOwnerType.swift
[164/249] Compiling RxSwift MainScheduler.swift
[165/249] Compiling RxSwift Map.swift
[166/249] Compiling RxSwift Materialize.swift
[167/249] Compiling RxSwift Maybe.swift
[168/249] Compiling RxSwift Merge.swift
[169/249] Compiling RxSwift Multicast.swift
[170/249] Compiling RxSwift Never.swift
[171/249] Compiling RxSwift NopDisposable.swift
[172/249] 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() }
[173/249] 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() }
[174/249] 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() }
[175/249] 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() }
[176/249] 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() }
[177/249] 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() }
[178/249] 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() }
[179/249] 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() }
[180/249] 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() }
[181/249] 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() }
[182/249] 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() }
[183/249] 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() }
[184/249] 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() }
[185/249] 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() }
[186/249] 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() }
[187/249] 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() }
[188/249] 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() }
[189/249] 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() }
[190/249] 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() }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[191/249] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:18: error: 'nil' requires a contextual type
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |                  `- error: 'nil' requires a contextual type
78 | #endif
79 |
[192/249] Compiling ConcurrencyExtras ActorIsolated.swift
[193/249] Compiling ConcurrencyExtras AsyncStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[213/249] 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() }
[216/249] Compiling ConcurrencyExtras UncheckedSendable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write swift-version-24593BA9C3E375BF.txt
[3/36] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[4/169] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[5/170] Compiling XCTestDynamicOverlay XCTIsTesting.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/170] Emitting module ConcurrencyExtras
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:18: error: 'nil' requires a contextual type
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |                  `- error: 'nil' requires a contextual type
78 | #endif
79 |
[7/171] Compiling ConcurrencyExtras Locking.swift
[8/171] Compiling XCTestDynamicOverlay Deprecations.swift
[9/171] Emitting module XCTestDynamicOverlay
[10/171] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[11/171] Compiling XCTestDynamicOverlay XCTFail.swift
[12/171] Compiling ConcurrencyExtras ActorIsolated.swift
[13/171] Compiling ConcurrencyExtras LockIsolated.swift
[14/171] Compiling ConcurrencyExtras AsyncStream.swift
[15/171] Compiling ConcurrencyExtras UncheckedSendable.swift
[16/171] Compiling ConcurrencyExtras Task.swift
[17/171] Compiling ConcurrencyExtras MainSerialExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:5: error: cannot find 'dlsym' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |     `- error: cannot find 'dlsym' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:11: error: cannot find 'dlopen' in scope
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |           `- error: cannot find 'dlopen' in scope
78 | #endif
79 |
/host/spi-builder-workspace/.build/checkouts/swift-concurrency-extras/Sources/ConcurrencyExtras/MainSerialExecutor.swift:77:18: error: 'nil' requires a contextual type
75 |   }
76 |   private let _swift_task_enqueueGlobal_hook: UnsafeMutablePointer<Hook?> =
77 |     dlsym(dlopen(nil, 0), "swift_task_enqueueGlobal_hook").assumingMemoryBound(to: Hook?.self)
   |                  `- error: 'nil' requires a contextual type
78 | #endif
79 |
[18/171] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[19/171] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/171] Emitting module ArgumentParserToolInfo
[21/172] 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 |             }
[22/172] 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 |             }
[23/172] 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 |             }
[24/172] 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 |             }
[25/172] 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 |             }
[26/172] 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 |             }
[27/172] 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 |             }
[28/172] 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 |             }
[29/172] 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 |             }
[30/172] 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 |             }
[31/172] 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 |             }
[32/172] 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 |             }
[33/172] 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 |             }
[34/172] 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 |             }
[35/172] 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 |             }
[36/172] 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 |             }
[37/172] 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 |             }
[38/172] 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 |             }
[39/172] 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 |             }
[40/190] Compiling XCTestDynamicOverlay Unimplemented.swift
[41/190] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/191] 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() }
BUILD FAILURE 6.1 android