The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Threading, reference main (41ebb8), with Swift 6.2 for Wasm on 16 Apr 2026 19:23:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/Threading.git
Reference: main
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/NikSativa/Threading
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 41ebb8e Fix Swift 6.0 compiler crash: gate SyncMutex on compiler(>=6.0), fix supportsVisionOS platform guard + Android support
Cloned https://github.com/NikSativa/Threading.git
Revision (git rev-parse @):
41ebb8ea5142d73017630d1b2a7f1e4e4ffa3356
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/Threading.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NikSativa/Threading.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/8] Copying PrivacyInfo.xcprivacy
[1/8] Write sources
[2/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] Emitting module Threading
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:34:24: error: cannot find type 'DispatchSemaphore' in scope
32 | /// ```
33 | public struct Semaphore {
34 |     private let _lock: DispatchSemaphore
   |                        `- error: cannot find type 'DispatchSemaphore' in scope
35 |
36 |     /// Creates a semaphore with the specified initial value.
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
    |                                    `- warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
    | `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:28:31: error: cannot find type 'DispatchTime' in scope
 26 |     case async(Queueable)
 27 |     /// Executes work asynchronously on the specified queue after a given deadline.
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
    |                               `- error: cannot find type 'DispatchTime' in scope
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:30:40: error: cannot find type 'DispatchTime' in scope
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
    |                                        `- error: cannot find type 'DispatchTime' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:157:38: error: cannot find type 'DispatchTime' in scope
155 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 2, queue: .main)
156 |     /// ```
157 |     static func asyncAfter(deadline: DispatchTime, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
158 |         return .asyncAfter(deadline: deadline, queue: queue)
159 |     }
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:173:38: error: cannot find type 'DispatchTime' in scope
171 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 1, flags: .barrier, queue: .global())
172 |     /// ```
173 |     static func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
174 |         return .asyncAfterWithFlags(deadline: deadline, flags: flags, queue: queue)
175 |     }
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:3:18: error: cannot find type 'DispatchTimeInterval' in scope
 1 | import Foundation
 2 |
 3 | public extension DispatchTimeInterval {
   |                  `- error: cannot find type 'DispatchTimeInterval' in scope
 4 |     /// Creates a `DispatchTimeInterval` from a fractional number of seconds.
 5 |     ///
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:25:18: error: cannot find type 'DispatchTime' in scope
23 | }
24 |
25 | public extension DispatchTime {
   |                  `- error: cannot find type 'DispatchTime' in scope
26 |     /// Returns a `DispatchTime` that is offset from the current time by a specified duration in seconds.
27 |     ///
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:10:38: error: cannot find type 'DispatchTime' in scope
 8 |     }
 9 |
10 |     public func asyncAfter(deadline: DispatchTime,
   |                                      `- error: cannot find type 'DispatchTime' in scope
11 |                            flags: Queue.Flags,
12 |                            execute work: @escaping WorkItem) {
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:61:21: error: cannot find type 'DispatchWorkItemFlags' in scope
59 |
60 | private extension Queue.Flags {
61 |     func toSDK() -> DispatchWorkItemFlags {
   |                     `- error: cannot find type 'DispatchWorkItemFlags' in scope
62 |         switch self {
63 |         case .absent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:48:22: error: type 'Queue.Kind' does not conform to protocol 'Equatable'
 46 |     }
 47 |
 48 |     fileprivate enum Kind: Equatable {
    |                      |- error: type 'Queue.Kind' does not conform to protocol 'Equatable'
    |                      `- note: add stubs for conformance
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue.Kind' to 'Equatable'
 52 |                     attributes: Attributes = .concurrent)
 53 |
Swift.==:1:24: note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
 14 | /// }
 15 | /// ```
 16 | public struct Queue: Equatable {
    |               |- error: type 'Queue' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 17 |     /// Represents the execution behavior of a dispatch queue.
 18 |     ///
    :
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |         `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
 62 |     private let kind: Kind
 63 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Queue/Queue.swift:178:23: error: cannot find type 'DispatchQueue' in scope
176 |
177 |     private init(kind: Kind,
178 |                  sdk: DispatchQueue) {
    |                       `- error: cannot find type 'DispatchQueue' in scope
179 |         self.kind = kind
180 |         self.sdk = sdk
/host/spi-builder-workspace/Source/Queue/Queue.swift:185:21: error: cannot find type 'DispatchQueue' in scope
183 |
184 | private extension Queue.Attributes {
185 |     func toSDK() -> DispatchQueue.Attributes {
    |                     `- error: cannot find type 'DispatchQueue' in scope
186 |         switch self {
187 |         case .concurrent:
/host/spi-builder-workspace/Source/Queue/Queueable.swift:198:31: error: cannot find type 'DispatchTime' in scope
196 |     /// }
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
    |                               `- error: cannot find type 'DispatchTime' in scope
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
200 |     }
[5/33] Compiling Threading Queueable.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queueable.swift:198:31: error: cannot find type 'DispatchTime' in scope
196 |     /// }
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
    |                               `- error: cannot find type 'DispatchTime' in scope
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
200 |     }
/host/spi-builder-workspace/Source/Queue/Queueable.swift:199:48: error: cannot infer contextual base in reference to member 'absent'
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
    |                                                `- error: cannot infer contextual base in reference to member 'absent'
200 |     }
201 | }
[6/33] Compiling Threading USendable.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queueable.swift:198:31: error: cannot find type 'DispatchTime' in scope
196 |     /// }
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
    |                               `- error: cannot find type 'DispatchTime' in scope
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
200 |     }
/host/spi-builder-workspace/Source/Queue/Queueable.swift:199:48: error: cannot infer contextual base in reference to member 'absent'
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
    |                                                `- error: cannot infer contextual base in reference to member 'absent'
200 |     }
201 | }
[7/33] Compiling Threading resource_bundle_accessor.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queueable.swift:198:31: error: cannot find type 'DispatchTime' in scope
196 |     /// }
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
    |                               `- error: cannot find type 'DispatchTime' in scope
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
200 |     }
/host/spi-builder-workspace/Source/Queue/Queueable.swift:199:48: error: cannot infer contextual base in reference to member 'absent'
197 |     /// ```
198 |     func asyncAfter(deadline: DispatchTime, execute work: @escaping WorkItem) {
199 |         asyncAfter(deadline: deadline, flags: .absent, execute: work)
    |                                                `- error: cannot infer contextual base in reference to member 'absent'
200 |     }
201 | }
[8/33] Compiling Threading UnfairLock.swift
[9/33] Compiling Threading Locking.swift
[10/33] Compiling Threading MutexInitializable.swift
[11/33] Compiling Threading IsolatedMain.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
[12/33] Compiling Threading NSLock.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
[13/33] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
[14/33] Compiling Threading DispatchTime+Queue.swift
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:3:18: error: cannot find type 'DispatchTimeInterval' in scope
 1 | import Foundation
 2 |
 3 | public extension DispatchTimeInterval {
   |                  `- error: cannot find type 'DispatchTimeInterval' in scope
 4 |     /// Creates a `DispatchTimeInterval` from a fractional number of seconds.
 5 |     ///
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:25:18: error: cannot find type 'DispatchTime' in scope
23 | }
24 |
25 | public extension DispatchTime {
   |                  `- error: cannot find type 'DispatchTime' in scope
26 |     /// Returns a `DispatchTime` that is offset from the current time by a specified duration in seconds.
27 |     ///
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:10:38: error: cannot find type 'DispatchTime' in scope
 8 |     }
 9 |
10 |     public func asyncAfter(deadline: DispatchTime,
   |                                      `- error: cannot find type 'DispatchTime' in scope
11 |                            flags: Queue.Flags,
12 |                            execute work: @escaping WorkItem) {
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:61:21: error: cannot find type 'DispatchWorkItemFlags' in scope
59 |
60 | private extension Queue.Flags {
61 |     func toSDK() -> DispatchWorkItemFlags {
   |                     `- error: cannot find type 'DispatchWorkItemFlags' in scope
62 |         switch self {
63 |         case .absent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:73:26: error: cannot find 'Thread' in scope
71 | private extension Queue {
72 |     var isMainThread: Bool {
73 |         return isMain && Thread.isMainThread
   |                          `- error: cannot find 'Thread' in scope
74 |     }
75 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:48:22: error: type 'Queue.Kind' does not conform to protocol 'Equatable'
 46 |     }
 47 |
 48 |     fileprivate enum Kind: Equatable {
    |                      |- error: type 'Queue.Kind' does not conform to protocol 'Equatable'
    |                      `- note: add stubs for conformance
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue.Kind' to 'Equatable'
 52 |                     attributes: Attributes = .concurrent)
 53 |
Swift.==:1:24: note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
 14 | /// }
 15 | /// ```
 16 | public struct Queue: Equatable {
    |               |- error: type 'Queue' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 17 |     /// Represents the execution behavior of a dispatch queue.
 18 |     ///
    :
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |         `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
 62 |     private let kind: Kind
 63 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Queue/Queue.swift:178:23: error: cannot find type 'DispatchQueue' in scope
176 |
177 |     private init(kind: Kind,
178 |                  sdk: DispatchQueue) {
    |                       `- error: cannot find type 'DispatchQueue' in scope
179 |         self.kind = kind
180 |         self.sdk = sdk
/host/spi-builder-workspace/Source/Queue/Queue.swift:185:21: error: cannot find type 'DispatchQueue' in scope
183 |
184 | private extension Queue.Attributes {
185 |     func toSDK() -> DispatchQueue.Attributes {
    |                     `- error: cannot find type 'DispatchQueue' in scope
186 |         switch self {
187 |         case .concurrent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:75:29: error: cannot infer contextual base in reference to member 'main'
 73 |     /// ```
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
    |                             `- error: cannot infer contextual base in reference to member 'main'
 76 |                      sdk: .main)
 77 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:76:28: error: cannot infer contextual base in reference to member 'main'
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
 76 |                      sdk: .main)
    |                            `- error: cannot infer contextual base in reference to member 'main'
 77 |     }
 78 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:88:29: error: cannot infer contextual base in reference to member 'background'
 86 |     /// ```
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
    |                             `- error: cannot infer contextual base in reference to member 'background'
 89 |                      sdk: .global(qos: .background))
 90 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:28: error: cannot infer contextual base in reference to member 'global'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                            `- error: cannot infer contextual base in reference to member 'global'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:41: error: cannot infer contextual base in reference to member 'background'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                                         `- error: cannot infer contextual base in reference to member 'background'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:101:29: error: cannot infer contextual base in reference to member 'utility'
 99 |     /// ```
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
    |                             `- error: cannot infer contextual base in reference to member 'utility'
102 |                      sdk: .global(qos: .utility))
103 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:28: error: cannot infer contextual base in reference to member 'global'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                            `- error: cannot infer contextual base in reference to member 'global'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:41: error: cannot infer contextual base in reference to member 'utility'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                                         `- error: cannot infer contextual base in reference to member 'utility'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:114:29: error: cannot infer contextual base in reference to member 'default'
112 |     /// ```
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
    |                             `- error: cannot infer contextual base in reference to member 'default'
115 |                      sdk: .global(qos: .default))
116 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:28: error: cannot infer contextual base in reference to member 'global'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                            `- error: cannot infer contextual base in reference to member 'global'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:41: error: cannot infer contextual base in reference to member 'default'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                                         `- error: cannot infer contextual base in reference to member 'default'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:127:29: error: cannot infer contextual base in reference to member 'userInitiated'
125 |     /// ```
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
    |                             `- error: cannot infer contextual base in reference to member 'userInitiated'
128 |                      sdk: .global(qos: .userInitiated))
129 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:28: error: cannot infer contextual base in reference to member 'global'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                            `- error: cannot infer contextual base in reference to member 'global'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:41: error: cannot infer contextual base in reference to member 'userInitiated'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                                         `- error: cannot infer contextual base in reference to member 'userInitiated'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:140:29: error: cannot infer contextual base in reference to member 'userInteractive'
138 |     /// ```
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
    |                             `- error: cannot infer contextual base in reference to member 'userInteractive'
141 |                      sdk: .global(qos: .userInteractive))
142 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:28: error: cannot infer contextual base in reference to member 'global'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                            `- error: cannot infer contextual base in reference to member 'global'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:41: error: cannot infer contextual base in reference to member 'userInteractive'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                                         `- error: cannot infer contextual base in reference to member 'userInteractive'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:162:29: error: cannot infer contextual base in reference to member 'custom'
160 |                        qos: DispatchQoS = .default,
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
    |                             `- error: cannot infer contextual base in reference to member 'custom'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
/host/spi-builder-workspace/Source/Queue/Queue.swift:165:28: error: cannot infer contextual base in reference to member 'init'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
165 |                      sdk: .init(label: label,
    |                            `- error: cannot infer contextual base in reference to member 'init'
166 |                                 qos: qos,
167 |                                 attributes: attributes.toSDK()))
[15/33] Compiling Threading Queue+Queueable.swift
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:3:18: error: cannot find type 'DispatchTimeInterval' in scope
 1 | import Foundation
 2 |
 3 | public extension DispatchTimeInterval {
   |                  `- error: cannot find type 'DispatchTimeInterval' in scope
 4 |     /// Creates a `DispatchTimeInterval` from a fractional number of seconds.
 5 |     ///
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:25:18: error: cannot find type 'DispatchTime' in scope
23 | }
24 |
25 | public extension DispatchTime {
   |                  `- error: cannot find type 'DispatchTime' in scope
26 |     /// Returns a `DispatchTime` that is offset from the current time by a specified duration in seconds.
27 |     ///
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:10:38: error: cannot find type 'DispatchTime' in scope
 8 |     }
 9 |
10 |     public func asyncAfter(deadline: DispatchTime,
   |                                      `- error: cannot find type 'DispatchTime' in scope
11 |                            flags: Queue.Flags,
12 |                            execute work: @escaping WorkItem) {
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:61:21: error: cannot find type 'DispatchWorkItemFlags' in scope
59 |
60 | private extension Queue.Flags {
61 |     func toSDK() -> DispatchWorkItemFlags {
   |                     `- error: cannot find type 'DispatchWorkItemFlags' in scope
62 |         switch self {
63 |         case .absent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:73:26: error: cannot find 'Thread' in scope
71 | private extension Queue {
72 |     var isMainThread: Bool {
73 |         return isMain && Thread.isMainThread
   |                          `- error: cannot find 'Thread' in scope
74 |     }
75 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:48:22: error: type 'Queue.Kind' does not conform to protocol 'Equatable'
 46 |     }
 47 |
 48 |     fileprivate enum Kind: Equatable {
    |                      |- error: type 'Queue.Kind' does not conform to protocol 'Equatable'
    |                      `- note: add stubs for conformance
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue.Kind' to 'Equatable'
 52 |                     attributes: Attributes = .concurrent)
 53 |
Swift.==:1:24: note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
 14 | /// }
 15 | /// ```
 16 | public struct Queue: Equatable {
    |               |- error: type 'Queue' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 17 |     /// Represents the execution behavior of a dispatch queue.
 18 |     ///
    :
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |         `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
 62 |     private let kind: Kind
 63 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Queue/Queue.swift:178:23: error: cannot find type 'DispatchQueue' in scope
176 |
177 |     private init(kind: Kind,
178 |                  sdk: DispatchQueue) {
    |                       `- error: cannot find type 'DispatchQueue' in scope
179 |         self.kind = kind
180 |         self.sdk = sdk
/host/spi-builder-workspace/Source/Queue/Queue.swift:185:21: error: cannot find type 'DispatchQueue' in scope
183 |
184 | private extension Queue.Attributes {
185 |     func toSDK() -> DispatchQueue.Attributes {
    |                     `- error: cannot find type 'DispatchQueue' in scope
186 |         switch self {
187 |         case .concurrent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:75:29: error: cannot infer contextual base in reference to member 'main'
 73 |     /// ```
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
    |                             `- error: cannot infer contextual base in reference to member 'main'
 76 |                      sdk: .main)
 77 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:76:28: error: cannot infer contextual base in reference to member 'main'
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
 76 |                      sdk: .main)
    |                            `- error: cannot infer contextual base in reference to member 'main'
 77 |     }
 78 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:88:29: error: cannot infer contextual base in reference to member 'background'
 86 |     /// ```
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
    |                             `- error: cannot infer contextual base in reference to member 'background'
 89 |                      sdk: .global(qos: .background))
 90 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:28: error: cannot infer contextual base in reference to member 'global'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                            `- error: cannot infer contextual base in reference to member 'global'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:41: error: cannot infer contextual base in reference to member 'background'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                                         `- error: cannot infer contextual base in reference to member 'background'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:101:29: error: cannot infer contextual base in reference to member 'utility'
 99 |     /// ```
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
    |                             `- error: cannot infer contextual base in reference to member 'utility'
102 |                      sdk: .global(qos: .utility))
103 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:28: error: cannot infer contextual base in reference to member 'global'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                            `- error: cannot infer contextual base in reference to member 'global'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:41: error: cannot infer contextual base in reference to member 'utility'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                                         `- error: cannot infer contextual base in reference to member 'utility'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:114:29: error: cannot infer contextual base in reference to member 'default'
112 |     /// ```
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
    |                             `- error: cannot infer contextual base in reference to member 'default'
115 |                      sdk: .global(qos: .default))
116 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:28: error: cannot infer contextual base in reference to member 'global'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                            `- error: cannot infer contextual base in reference to member 'global'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:41: error: cannot infer contextual base in reference to member 'default'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                                         `- error: cannot infer contextual base in reference to member 'default'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:127:29: error: cannot infer contextual base in reference to member 'userInitiated'
125 |     /// ```
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
    |                             `- error: cannot infer contextual base in reference to member 'userInitiated'
128 |                      sdk: .global(qos: .userInitiated))
129 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:28: error: cannot infer contextual base in reference to member 'global'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                            `- error: cannot infer contextual base in reference to member 'global'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:41: error: cannot infer contextual base in reference to member 'userInitiated'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                                         `- error: cannot infer contextual base in reference to member 'userInitiated'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:140:29: error: cannot infer contextual base in reference to member 'userInteractive'
138 |     /// ```
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
    |                             `- error: cannot infer contextual base in reference to member 'userInteractive'
141 |                      sdk: .global(qos: .userInteractive))
142 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:28: error: cannot infer contextual base in reference to member 'global'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                            `- error: cannot infer contextual base in reference to member 'global'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:41: error: cannot infer contextual base in reference to member 'userInteractive'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                                         `- error: cannot infer contextual base in reference to member 'userInteractive'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:162:29: error: cannot infer contextual base in reference to member 'custom'
160 |                        qos: DispatchQoS = .default,
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
    |                             `- error: cannot infer contextual base in reference to member 'custom'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
/host/spi-builder-workspace/Source/Queue/Queue.swift:165:28: error: cannot infer contextual base in reference to member 'init'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
165 |                      sdk: .init(label: label,
    |                            `- error: cannot infer contextual base in reference to member 'init'
166 |                                 qos: qos,
167 |                                 attributes: attributes.toSDK()))
[16/33] Compiling Threading Queue.swift
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:3:18: error: cannot find type 'DispatchTimeInterval' in scope
 1 | import Foundation
 2 |
 3 | public extension DispatchTimeInterval {
   |                  `- error: cannot find type 'DispatchTimeInterval' in scope
 4 |     /// Creates a `DispatchTimeInterval` from a fractional number of seconds.
 5 |     ///
/host/spi-builder-workspace/Source/Queue/DispatchTime+Queue.swift:25:18: error: cannot find type 'DispatchTime' in scope
23 | }
24 |
25 | public extension DispatchTime {
   |                  `- error: cannot find type 'DispatchTime' in scope
26 |     /// Returns a `DispatchTime` that is offset from the current time by a specified duration in seconds.
27 |     ///
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:10:38: error: cannot find type 'DispatchTime' in scope
 8 |     }
 9 |
10 |     public func asyncAfter(deadline: DispatchTime,
   |                                      `- error: cannot find type 'DispatchTime' in scope
11 |                            flags: Queue.Flags,
12 |                            execute work: @escaping WorkItem) {
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:61:21: error: cannot find type 'DispatchWorkItemFlags' in scope
59 |
60 | private extension Queue.Flags {
61 |     func toSDK() -> DispatchWorkItemFlags {
   |                     `- error: cannot find type 'DispatchWorkItemFlags' in scope
62 |         switch self {
63 |         case .absent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:61:14: error: cannot find type 'DispatchQueue' in scope
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |              `- error: cannot find type 'DispatchQueue' in scope
 62 |     private let kind: Kind
 63 | }
/host/spi-builder-workspace/Source/Queue/Queue+Queueable.swift:73:26: error: cannot find 'Thread' in scope
71 | private extension Queue {
72 |     var isMainThread: Bool {
73 |         return isMain && Thread.isMainThread
   |                          `- error: cannot find 'Thread' in scope
74 |     }
75 | }
/host/spi-builder-workspace/Source/Queue/Queue.swift:51:26: error: cannot find type 'DispatchQoS' in scope
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- error: cannot find type 'DispatchQoS' in scope
 52 |                     attributes: Attributes = .concurrent)
 53 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:48:22: error: type 'Queue.Kind' does not conform to protocol 'Equatable'
 46 |     }
 47 |
 48 |     fileprivate enum Kind: Equatable {
    |                      |- error: type 'Queue.Kind' does not conform to protocol 'Equatable'
    |                      `- note: add stubs for conformance
 49 |         case main
 50 |         case custom(label: String,
 51 |                     qos: DispatchQoS = .default,
    |                          `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue.Kind' to 'Equatable'
 52 |                     attributes: Attributes = .concurrent)
 53 |
Swift.==:1:24: note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue.Kind' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue.Kind' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue.Kind' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue.Kind, Queue.Kind) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:16:15: error: type 'Queue' does not conform to protocol 'Equatable'
 14 | /// }
 15 | /// ```
 16 | public struct Queue: Equatable {
    |               |- error: type 'Queue' does not conform to protocol 'Equatable'
    |               `- note: add stubs for conformance
 17 |     /// Represents the execution behavior of a dispatch queue.
 18 |     ///
    :
 59 |     }
 60 |
 61 |     let sdk: DispatchQueue
    |         `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Queue' to 'Equatable'
 62 |     private let kind: Kind
 63 | }
Swift.==:1:24: note: candidate would match if 'Queue' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'Queue' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Queue' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Queue' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
  |                    `- note: candidate would match if 'Queue' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Queue' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
  |                               `- note: candidate would match if 'Queue' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Queue' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
  |                               `- note: candidate would match if 'Queue' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Queue' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
  |                               `- note: candidate would match if 'Queue' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Queue' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Queue' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
  |                    `- note: candidate would match if 'Queue' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
  |                    `- note: candidate would match if 'Queue' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
  |             `- note: protocol requires function '==' with type '(Queue, Queue) -> Bool'
3 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Queue/Queue.swift:178:23: error: cannot find type 'DispatchQueue' in scope
176 |
177 |     private init(kind: Kind,
178 |                  sdk: DispatchQueue) {
    |                       `- error: cannot find type 'DispatchQueue' in scope
179 |         self.kind = kind
180 |         self.sdk = sdk
/host/spi-builder-workspace/Source/Queue/Queue.swift:185:21: error: cannot find type 'DispatchQueue' in scope
183 |
184 | private extension Queue.Attributes {
185 |     func toSDK() -> DispatchQueue.Attributes {
    |                     `- error: cannot find type 'DispatchQueue' in scope
186 |         switch self {
187 |         case .concurrent:
/host/spi-builder-workspace/Source/Queue/Queue.swift:75:29: error: cannot infer contextual base in reference to member 'main'
 73 |     /// ```
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
    |                             `- error: cannot infer contextual base in reference to member 'main'
 76 |                      sdk: .main)
 77 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:76:28: error: cannot infer contextual base in reference to member 'main'
 74 |     static var main: Self {
 75 |         return Queue(kind: .main,
 76 |                      sdk: .main)
    |                            `- error: cannot infer contextual base in reference to member 'main'
 77 |     }
 78 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:88:29: error: cannot infer contextual base in reference to member 'background'
 86 |     /// ```
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
    |                             `- error: cannot infer contextual base in reference to member 'background'
 89 |                      sdk: .global(qos: .background))
 90 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:28: error: cannot infer contextual base in reference to member 'global'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                            `- error: cannot infer contextual base in reference to member 'global'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:89:41: error: cannot infer contextual base in reference to member 'background'
 87 |     static var background: Self {
 88 |         return Queue(kind: .background,
 89 |                      sdk: .global(qos: .background))
    |                                         `- error: cannot infer contextual base in reference to member 'background'
 90 |     }
 91 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:101:29: error: cannot infer contextual base in reference to member 'utility'
 99 |     /// ```
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
    |                             `- error: cannot infer contextual base in reference to member 'utility'
102 |                      sdk: .global(qos: .utility))
103 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:28: error: cannot infer contextual base in reference to member 'global'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                            `- error: cannot infer contextual base in reference to member 'global'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:102:41: error: cannot infer contextual base in reference to member 'utility'
100 |     static var utility: Self {
101 |         return Queue(kind: .utility,
102 |                      sdk: .global(qos: .utility))
    |                                         `- error: cannot infer contextual base in reference to member 'utility'
103 |     }
104 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:114:29: error: cannot infer contextual base in reference to member 'default'
112 |     /// ```
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
    |                             `- error: cannot infer contextual base in reference to member 'default'
115 |                      sdk: .global(qos: .default))
116 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:28: error: cannot infer contextual base in reference to member 'global'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                            `- error: cannot infer contextual base in reference to member 'global'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:115:41: error: cannot infer contextual base in reference to member 'default'
113 |     static var `default`: Self {
114 |         return Queue(kind: .default,
115 |                      sdk: .global(qos: .default))
    |                                         `- error: cannot infer contextual base in reference to member 'default'
116 |     }
117 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:127:29: error: cannot infer contextual base in reference to member 'userInitiated'
125 |     /// ```
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
    |                             `- error: cannot infer contextual base in reference to member 'userInitiated'
128 |                      sdk: .global(qos: .userInitiated))
129 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:28: error: cannot infer contextual base in reference to member 'global'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                            `- error: cannot infer contextual base in reference to member 'global'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:128:41: error: cannot infer contextual base in reference to member 'userInitiated'
126 |     static var userInitiated: Self {
127 |         return Queue(kind: .userInitiated,
128 |                      sdk: .global(qos: .userInitiated))
    |                                         `- error: cannot infer contextual base in reference to member 'userInitiated'
129 |     }
130 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:140:29: error: cannot infer contextual base in reference to member 'userInteractive'
138 |     /// ```
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
    |                             `- error: cannot infer contextual base in reference to member 'userInteractive'
141 |                      sdk: .global(qos: .userInteractive))
142 |     }
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:28: error: cannot infer contextual base in reference to member 'global'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                            `- error: cannot infer contextual base in reference to member 'global'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:141:41: error: cannot infer contextual base in reference to member 'userInteractive'
139 |     static var userInteractive: Self {
140 |         return Queue(kind: .userInteractive,
141 |                      sdk: .global(qos: .userInteractive))
    |                                         `- error: cannot infer contextual base in reference to member 'userInteractive'
142 |     }
143 |
/host/spi-builder-workspace/Source/Queue/Queue.swift:162:29: error: cannot infer contextual base in reference to member 'custom'
160 |                        qos: DispatchQoS = .default,
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
    |                             `- error: cannot infer contextual base in reference to member 'custom'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
/host/spi-builder-workspace/Source/Queue/Queue.swift:165:28: error: cannot infer contextual base in reference to member 'init'
163 |                                    qos: qos,
164 |                                    attributes: attributes),
165 |                      sdk: .init(label: label,
    |                            `- error: cannot infer contextual base in reference to member 'init'
166 |                                 qos: qos,
167 |                                 attributes: attributes.toSDK()))
[17/33] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:76:15: error: cannot find 'pthread_mutexattr_init' in scope
 74 |         var attr = pthread_mutexattr_t()
 75 |
 76 |         guard pthread_mutexattr_init(&attr) == 0 else {
    |               `- error: cannot find 'pthread_mutexattr_init' in scope
 77 |             preconditionFailure()
 78 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:13: error: cannot find 'pthread_mutexattr_settype' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:13: error: cannot find 'pthread_mutexattr_settype' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:87:15: error: cannot find 'pthread_mutex_init' in scope
 85 |         }
 86 |
 87 |         guard pthread_mutex_init(&_lock, &attr) == 0 else {
    |               `- error: cannot find 'pthread_mutex_init' in scope
 88 |             preconditionFailure()
 89 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:91:9: error: cannot find 'pthread_mutexattr_destroy' in scope
 89 |         }
 90 |
 91 |         pthread_mutexattr_destroy(&attr)
    |         `- error: cannot find 'pthread_mutexattr_destroy' in scope
 92 |     }
 93 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:95:9: error: cannot find 'pthread_mutex_destroy' in scope
 93 |
 94 |     deinit {
 95 |         pthread_mutex_destroy(&_lock)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 96 |     }
 97 | }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:104:9: error: cannot find 'pthread_mutex_lock' in scope
102 |     /// Use this method to enter a critical section protected by the mutex.
103 |     public func lock() {
104 |         pthread_mutex_lock(&_lock)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
105 |     }
106 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:111:16: error: cannot find 'pthread_mutex_trylock' in scope
109 |     /// - Returns: `true` if the lock was successfully acquired; otherwise, `false`.
110 |     public func tryLock() -> Bool {
111 |         return pthread_mutex_trylock(&_lock) == 0
    |                `- error: cannot find 'pthread_mutex_trylock' in scope
112 |     }
113 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:118:9: error: cannot find 'pthread_mutex_unlock' in scope
116 |     /// Call this after a successful `lock()` or `tryLock()` to exit the critical section.
117 |     public func unlock() {
118 |         pthread_mutex_unlock(&_lock)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
119 |     }
120 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:34:24: error: cannot find type 'DispatchSemaphore' in scope
32 | /// ```
33 | public struct Semaphore {
34 |     private let _lock: DispatchSemaphore
   |                        `- error: cannot find type 'DispatchSemaphore' in scope
35 |
36 |     /// Creates a semaphore with the specified initial value.
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:48:22: error: cannot find 'DispatchSemaphore' in scope
46 |     /// ```
47 |     public init(value: Int = 1) {
48 |         self._lock = DispatchSemaphore(value: value)
   |                      `- error: cannot find 'DispatchSemaphore' in scope
49 |     }
50 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:79:37: error: cannot infer contextual base in reference to member 'now'
77 |     /// ```
78 |     public func tryLock() -> Bool {
79 |         return _lock.wait(timeout: .now()) == .success
   |                                     `- error: cannot infer contextual base in reference to member 'now'
80 |     }
81 |
[18/33] Compiling Threading PThread.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:76:15: error: cannot find 'pthread_mutexattr_init' in scope
 74 |         var attr = pthread_mutexattr_t()
 75 |
 76 |         guard pthread_mutexattr_init(&attr) == 0 else {
    |               `- error: cannot find 'pthread_mutexattr_init' in scope
 77 |             preconditionFailure()
 78 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:13: error: cannot find 'pthread_mutexattr_settype' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:13: error: cannot find 'pthread_mutexattr_settype' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:87:15: error: cannot find 'pthread_mutex_init' in scope
 85 |         }
 86 |
 87 |         guard pthread_mutex_init(&_lock, &attr) == 0 else {
    |               `- error: cannot find 'pthread_mutex_init' in scope
 88 |             preconditionFailure()
 89 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:91:9: error: cannot find 'pthread_mutexattr_destroy' in scope
 89 |         }
 90 |
 91 |         pthread_mutexattr_destroy(&attr)
    |         `- error: cannot find 'pthread_mutexattr_destroy' in scope
 92 |     }
 93 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:95:9: error: cannot find 'pthread_mutex_destroy' in scope
 93 |
 94 |     deinit {
 95 |         pthread_mutex_destroy(&_lock)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 96 |     }
 97 | }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:104:9: error: cannot find 'pthread_mutex_lock' in scope
102 |     /// Use this method to enter a critical section protected by the mutex.
103 |     public func lock() {
104 |         pthread_mutex_lock(&_lock)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
105 |     }
106 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:111:16: error: cannot find 'pthread_mutex_trylock' in scope
109 |     /// - Returns: `true` if the lock was successfully acquired; otherwise, `false`.
110 |     public func tryLock() -> Bool {
111 |         return pthread_mutex_trylock(&_lock) == 0
    |                `- error: cannot find 'pthread_mutex_trylock' in scope
112 |     }
113 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:118:9: error: cannot find 'pthread_mutex_unlock' in scope
116 |     /// Call this after a successful `lock()` or `tryLock()` to exit the critical section.
117 |     public func unlock() {
118 |         pthread_mutex_unlock(&_lock)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
119 |     }
120 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:34:24: error: cannot find type 'DispatchSemaphore' in scope
32 | /// ```
33 | public struct Semaphore {
34 |     private let _lock: DispatchSemaphore
   |                        `- error: cannot find type 'DispatchSemaphore' in scope
35 |
36 |     /// Creates a semaphore with the specified initial value.
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:48:22: error: cannot find 'DispatchSemaphore' in scope
46 |     /// ```
47 |     public init(value: Int = 1) {
48 |         self._lock = DispatchSemaphore(value: value)
   |                      `- error: cannot find 'DispatchSemaphore' in scope
49 |     }
50 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:79:37: error: cannot infer contextual base in reference to member 'now'
77 |     /// ```
78 |     public func tryLock() -> Bool {
79 |         return _lock.wait(timeout: .now()) == .success
   |                                     `- error: cannot infer contextual base in reference to member 'now'
80 |     }
81 |
[19/33] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/Source/Lockers/PThread.swift:76:15: error: cannot find 'pthread_mutexattr_init' in scope
 74 |         var attr = pthread_mutexattr_t()
 75 |
 76 |         guard pthread_mutexattr_init(&attr) == 0 else {
    |               `- error: cannot find 'pthread_mutexattr_init' in scope
 77 |             preconditionFailure()
 78 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:13: error: cannot find 'pthread_mutexattr_settype' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:82:46: error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 80 |         switch kind {
 81 |         case .normal:
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_NORMAL' in scope
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:13: error: cannot find 'pthread_mutexattr_settype' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |             `- error: cannot find 'pthread_mutexattr_settype' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:84:46: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 82 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)
 83 |         case .recursive:
 84 |             pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE)
    |                                              `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
 85 |         }
 86 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:87:15: error: cannot find 'pthread_mutex_init' in scope
 85 |         }
 86 |
 87 |         guard pthread_mutex_init(&_lock, &attr) == 0 else {
    |               `- error: cannot find 'pthread_mutex_init' in scope
 88 |             preconditionFailure()
 89 |         }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:91:9: error: cannot find 'pthread_mutexattr_destroy' in scope
 89 |         }
 90 |
 91 |         pthread_mutexattr_destroy(&attr)
    |         `- error: cannot find 'pthread_mutexattr_destroy' in scope
 92 |     }
 93 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:95:9: error: cannot find 'pthread_mutex_destroy' in scope
 93 |
 94 |     deinit {
 95 |         pthread_mutex_destroy(&_lock)
    |         `- error: cannot find 'pthread_mutex_destroy' in scope
 96 |     }
 97 | }
/host/spi-builder-workspace/Source/Lockers/PThread.swift:104:9: error: cannot find 'pthread_mutex_lock' in scope
102 |     /// Use this method to enter a critical section protected by the mutex.
103 |     public func lock() {
104 |         pthread_mutex_lock(&_lock)
    |         `- error: cannot find 'pthread_mutex_lock' in scope
105 |     }
106 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:111:16: error: cannot find 'pthread_mutex_trylock' in scope
109 |     /// - Returns: `true` if the lock was successfully acquired; otherwise, `false`.
110 |     public func tryLock() -> Bool {
111 |         return pthread_mutex_trylock(&_lock) == 0
    |                `- error: cannot find 'pthread_mutex_trylock' in scope
112 |     }
113 |
/host/spi-builder-workspace/Source/Lockers/PThread.swift:118:9: error: cannot find 'pthread_mutex_unlock' in scope
116 |     /// Call this after a successful `lock()` or `tryLock()` to exit the critical section.
117 |     public func unlock() {
118 |         pthread_mutex_unlock(&_lock)
    |         `- error: cannot find 'pthread_mutex_unlock' in scope
119 |     }
120 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:34:24: error: cannot find type 'DispatchSemaphore' in scope
32 | /// ```
33 | public struct Semaphore {
34 |     private let _lock: DispatchSemaphore
   |                        `- error: cannot find type 'DispatchSemaphore' in scope
35 |
36 |     /// Creates a semaphore with the specified initial value.
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:48:22: error: cannot find 'DispatchSemaphore' in scope
46 |     /// ```
47 |     public init(value: Int = 1) {
48 |         self._lock = DispatchSemaphore(value: value)
   |                      `- error: cannot find 'DispatchSemaphore' in scope
49 |     }
50 | }
/host/spi-builder-workspace/Source/Lockers/Semaphore.swift:79:37: error: cannot infer contextual base in reference to member 'now'
77 |     /// ```
78 |     public func tryLock() -> Bool {
79 |         return _lock.wait(timeout: .now()) == .success
   |                                     `- error: cannot infer contextual base in reference to member 'now'
80 |     }
81 |
[20/33] Compiling Threading LockedValue.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:78:101: error: cannot infer contextual base in reference to member 'serial'
 76 |     /// ```
 77 |     public convenience init(initialValue value: Value) {
 78 |         self.init(initialValue: value, queue: Queue.custom(label: "Barrier_\(UUID())", attributes: .serial))
    |                                                                                                     `- error: cannot infer contextual base in reference to member 'serial'
 79 |     }
 80 | }
[21/33] Compiling Threading OSAllocatedUnfairMutex.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:78:101: error: cannot infer contextual base in reference to member 'serial'
 76 |     /// ```
 77 |     public convenience init(initialValue value: Value) {
 78 |         self.init(initialValue: value, queue: Queue.custom(label: "Barrier_\(UUID())", attributes: .serial))
    |                                                                                                     `- error: cannot infer contextual base in reference to member 'serial'
 79 |     }
 80 | }
[22/33] Compiling Threading QueueBarrier.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/Queue.swift:160:29: error: cannot find type 'DispatchQoS' in scope
158 |     /// ```
159 |     static func custom(label: String,
160 |                        qos: DispatchQoS = .default,
    |                             `- error: cannot find type 'DispatchQoS' in scope
161 |                        attributes: Attributes = .concurrent) -> Self {
162 |         return Queue(kind: .custom(label: label,
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:78:101: error: cannot infer contextual base in reference to member 'serial'
 76 |     /// ```
 77 |     public convenience init(initialValue value: Value) {
 78 |         self.init(initialValue: value, queue: Queue.custom(label: "Barrier_\(UUID())", attributes: .serial))
    |                                                                                                     `- error: cannot infer contextual base in reference to member 'serial'
 79 |     }
 80 | }
[23/33] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
[24/33] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
[25/33] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
[26/33] Compiling Threading SyncMutex.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
    |                                    `- warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
    | `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:28:31: error: cannot find type 'DispatchTime' in scope
 26 |     case async(Queueable)
 27 |     /// Executes work asynchronously on the specified queue after a given deadline.
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
    |                               `- error: cannot find type 'DispatchTime' in scope
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:30:40: error: cannot find type 'DispatchTime' in scope
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
    |                                        `- error: cannot find type 'DispatchTime' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:157:38: error: cannot find type 'DispatchTime' in scope
155 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 2, queue: .main)
156 |     /// ```
157 |     static func asyncAfter(deadline: DispatchTime, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
158 |         return .asyncAfter(deadline: deadline, queue: queue)
159 |     }
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:173:38: error: cannot find type 'DispatchTime' in scope
171 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 1, flags: .barrier, queue: .global())
172 |     /// ```
173 |     static func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
174 |         return .asyncAfterWithFlags(deadline: deadline, flags: flags, queue: queue)
175 |     }
[27/33] Compiling Threading Mutexing.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
    |                                    `- warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
    | `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:28:31: error: cannot find type 'DispatchTime' in scope
 26 |     case async(Queueable)
 27 |     /// Executes work asynchronously on the specified queue after a given deadline.
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
    |                               `- error: cannot find type 'DispatchTime' in scope
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:30:40: error: cannot find type 'DispatchTime' in scope
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
    |                                        `- error: cannot find type 'DispatchTime' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:157:38: error: cannot find type 'DispatchTime' in scope
155 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 2, queue: .main)
156 |     /// ```
157 |     static func asyncAfter(deadline: DispatchTime, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
158 |         return .asyncAfter(deadline: deadline, queue: queue)
159 |     }
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:173:38: error: cannot find type 'DispatchTime' in scope
171 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 1, flags: .barrier, queue: .global())
172 |     /// ```
173 |     static func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
174 |         return .asyncAfterWithFlags(deadline: deadline, flags: flags, queue: queue)
175 |     }
[28/33] Compiling Threading DelayedQueue.swift
/host/spi-builder-workspace/Source/Mutexes/SyncMutex.swift:121:36: warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
119 |
120 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
121 | extension QueueBarrier: @unchecked Sendable {}
    |                                    `- warning: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/Source/Mutexes/QueueBarrier.swift:139:1: note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
137 | }
138 |
139 | extension QueueBarrier: @unchecked Sendable {}
    | `- note: 'QueueBarrier<Value>' declares conformance to protocol 'Sendable' here
140 |
/host/spi-builder-workspace/Source/Queue/Queueable.swift:52:31: error: cannot find type 'DispatchTime' in scope
 50 |     /// }
 51 |     /// ```
 52 |     func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, execute work: @escaping WorkItem)
    |                               `- error: cannot find type 'DispatchTime' in scope
 53 |
 54 |     /// Executes a closure synchronously on the queue.
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:28:31: error: cannot find type 'DispatchTime' in scope
 26 |     case async(Queueable)
 27 |     /// Executes work asynchronously on the specified queue after a given deadline.
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
    |                               `- error: cannot find type 'DispatchTime' in scope
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:30:40: error: cannot find type 'DispatchTime' in scope
 28 |     case asyncAfter(deadline: DispatchTime, queue: Queueable)
 29 |     /// Executes work asynchronously on the specified queue after a given deadline with dispatch flags.
 30 |     case asyncAfterWithFlags(deadline: DispatchTime, flags: Queue.Flags, queue: Queueable)
    |                                        `- error: cannot find type 'DispatchTime' in scope
 31 | }
 32 |
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:157:38: error: cannot find type 'DispatchTime' in scope
155 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 2, queue: .main)
156 |     /// ```
157 |     static func asyncAfter(deadline: DispatchTime, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
158 |         return .asyncAfter(deadline: deadline, queue: queue)
159 |     }
/host/spi-builder-workspace/Source/Queue/DelayedQueue.swift:173:38: error: cannot find type 'DispatchTime' in scope
171 |     /// let queue = DelayedQueue.n.asyncAfter(deadline: .now() + 1, flags: .barrier, queue: .global())
172 |     /// ```
173 |     static func asyncAfter(deadline: DispatchTime, flags: Queue.Flags, queue: Queue) -> DelayedQueue {
    |                                      `- error: cannot find type 'DispatchTime' in scope
174 |         return .asyncAfterWithFlags(deadline: deadline, flags: flags, queue: queue)
175 |     }
BUILD FAILURE 6.2 wasm