Build Information
Failed to build EventDispatcherKit, reference main (817b75
), with Swift 6.1 for Wasm on 11 Jun 2025 23:02:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
| `- error: cannot infer contextual base in reference to member 'main'
76 | sdk: .main)
77 | }
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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()))
[9/30] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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()))
[10/30] Compiling Threading Queueable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[11/30] Compiling Threading USendable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[12/30] Compiling Threading resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[13/30] Compiling Threading UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[14/30] Compiling Threading Locking.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[15/30] Compiling Threading MutexInitializable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[16/30] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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.
[17/30] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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.
[18/30] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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.
[19/30] Compiling Threading IsolatedMain.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[20/30] Compiling Threading NSLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[21/30] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[22/30] Compiling Threading LockedValue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/30] Compiling Threading OSAllocatedUnfairMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[24/30] Compiling Threading QueueBarrier.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[25/30] Compiling Threading SyncMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[26/30] Compiling Threading Mutexing.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/30] Compiling Threading DelayedQueue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/30] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[29/30] Compiling Threading PThread.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[30/30] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling Threading DispatchTime+Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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()))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Compiling Threading Queue+Queueable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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()))
[4/23] Compiling Threading Queue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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()))
[5/23] Emitting module Threading
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[6/26] Compiling Threading SyncMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[7/26] Compiling Threading Mutexing.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[8/26] Compiling Threading DelayedQueue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Mutexes/SyncMutex.swift:121:36: error: 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 {}
| `- error: redundant conformance of 'QueueBarrier<Value>' to protocol 'Sendable'
122 | #endif
123 |
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[9/26] Compiling Threading LockedValue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[10/26] Compiling Threading OSAllocatedUnfairMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[11/26] Compiling Threading QueueBarrier.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[12/26] Compiling Threading UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[13/26] Compiling Threading Locking.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[14/26] Compiling Threading MutexInitializable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:20:25: error: cannot find 'os_unfair_lock' in scope
18 | /// ```
19 | public final class UnfairLock {
20 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
21 |
22 | /// Creates a new `UnfairLock` instance.
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:40:9: error: cannot find 'os_unfair_lock_lock' in scope
38 | /// ```
39 | public func lock() {
40 | os_unfair_lock_lock(&_lock)
| `- error: cannot find 'os_unfair_lock_lock' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:55:16: error: cannot find 'os_unfair_lock_trylock' in scope
53 | /// ```
54 | public func tryLock() -> Bool {
55 | return os_unfair_lock_trylock(&_lock)
| `- error: cannot find 'os_unfair_lock_trylock' in scope
56 | }
57 |
/host/spi-builder-workspace/.build/checkouts/Threading/Source/Lockers/UnfairLock.swift:69:9: error: cannot find 'os_unfair_lock_unlock' in scope
67 | /// ```
68 | public func unlock() {
69 | os_unfair_lock_unlock(&_lock)
| `- error: cannot find 'os_unfair_lock_unlock' in scope
70 | }
71 | }
[15/26] Compiling Threading OSAllocatedUnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[16/26] Compiling Threading PThread.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[17/26] Compiling Threading Semaphore.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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/26] Compiling Threading IsolatedMain.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[19/26] Compiling Threading NSLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[20/26] Compiling Threading NSRecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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 |
[21/26] Compiling Threading AnyLock.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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.
[22/26] Compiling Threading AnyMutex.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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.
[23/26] Compiling Threading AtomicValue.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/26] Compiling Threading Queueable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[25/26] Compiling Threading USendable.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
[26/26] Compiling Threading resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Threading/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/.build/checkouts/Threading/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/.build/checkouts/Threading/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 | }
BUILD FAILURE 6.1 wasm