Build Information
Failed to build Buildkite, reference main (c217a3
), with Swift 6.1 for Wasm on 28 May 2025 07:35:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterTokens.swift:103:55: error: cannot find type 'URLRequest' in scope
101 | }
102 |
103 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
104 | request.httpMethod = "POST"
105 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterTokens.swift:147:55: error: cannot find type 'URLRequest' in scope
145 | }
146 |
147 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
148 | request.httpMethod = "PUT"
149 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterTokens.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Clusters.swift:103:55: error: cannot find type 'URLRequest' in scope
101 | }
102 |
103 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
104 | request.httpMethod = "POST"
105 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Clusters.swift:167:55: error: cannot find type 'URLRequest' in scope
165 | }
166 |
167 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
168 | request.httpMethod = "PUT"
169 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Clusters.swift:191:55: error: cannot find type 'URLRequest' in scope
189 | }
190 |
191 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
192 | request.httpMethod = "DELETE"
193 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Followable.swift:51:51: error: cannot find type 'URLRequest' in scope
49 | }
50 |
51 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
52 | request.url = url
53 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Jobs.swift:50:55: error: cannot find type 'URLRequest' in scope
48 | }
49 |
50 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
51 | request.httpMethod = "PUT"
52 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Jobs.swift:102:55: error: cannot find type 'URLRequest' in scope
100 | }
101 |
102 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
103 | request.httpMethod = "PUT"
104 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Jobs.swift:163:55: error: cannot find type 'URLRequest' in scope
161 | }
162 |
163 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
164 | request.httpMethod = "DELETE"
165 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[89/127] Compiling Buildkite Metas.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[90/127] Compiling Buildkite Organizations.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[91/127] Compiling Buildkite Pipelines.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[92/127] Compiling Buildkite Teams.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[93/127] Compiling Buildkite Users.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[94/127] Compiling Buildkite TestAnalyticsUpload.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:137:55: error: cannot find type 'URLRequest' in scope
135 | }
136 |
137 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
138 | request.httpMethod = "POST"
139 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:222:55: error: cannot find type 'URLRequest' in scope
220 | }
221 |
222 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
223 | request.httpMethod = "POST"
224 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:333:55: error: cannot find type 'URLRequest' in scope
331 | }
332 |
333 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
334 | request.httpMethod = "POST"
335 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:358:55: error: cannot find type 'URLRequest' in scope
356 | }
357 |
358 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
359 | request.httpMethod = "POST"
360 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Pipelines.swift:402:55: error: cannot find type 'URLRequest' in scope
400 | }
401 |
402 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
403 | request.httpMethod = "POST"
404 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Teams.swift:41:55: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
42 | guard let url = request.url,
43 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/TestAnalytics/TestAnalyticsUpload.swift:119:55: error: cannot find type 'URLRequest' in scope
117 | }
118 |
119 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
120 | request.httpMethod = "POST"
121 | }
[95/127] Compiling Buildkite AccessTokens.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[96/127] Compiling Buildkite Agents.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[97/127] Compiling Buildkite Annotations.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[98/127] Compiling Buildkite Artifacts.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[99/127] Compiling Buildkite Builds.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[100/127] Compiling Buildkite ClusterQueues.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/AccessTokens.swift:39:55: error: cannot find type 'URLRequest' in scope
37 | public init() {}
38 |
39 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
40 | request.httpMethod = "DELETE"
41 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:46:55: error: cannot find type 'URLRequest' in scope
44 | }
45 |
46 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
47 | guard let url = request.url,
48 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Agents.swift:118:55: error: cannot find type 'URLRequest' in scope
116 | }
117 |
118 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
119 | request.httpMethod = "PUT"
120 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Artifacts.swift:175:55: error: cannot find type 'URLRequest' in scope
173 | }
174 |
175 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
176 | request.httpMethod = "DELETE"
177 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:36:55: error: cannot find type 'URLRequest' in scope
34 | }
35 |
36 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | guard let url = request.url,
38 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:74:55: error: cannot find type 'URLRequest' in scope
72 | }
73 |
74 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
75 | guard let url = request.url,
76 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:115:55: error: cannot find type 'URLRequest' in scope
113 | }
114 |
115 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
116 | guard let url = request.url,
117 | var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:245:55: error: cannot find type 'URLRequest' in scope
243 | }
244 |
245 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
246 | request.httpMethod = "POST"
247 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:276:55: error: cannot find type 'URLRequest' in scope
274 | }
275 |
276 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
277 | request.httpMethod = "PUT"
278 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/Builds.swift:307:55: error: cannot find type 'URLRequest' in scope
305 | }
306 |
307 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
308 | request.httpMethod = "PUT"
309 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:107:55: error: cannot find type 'URLRequest' in scope
105 | }
106 |
107 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
108 | request.httpMethod = "POST"
109 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:146:55: error: cannot find type 'URLRequest' in scope
144 | }
145 |
146 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
147 | request.httpMethod = "PUT"
148 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:174:55: error: cannot find type 'URLRequest' in scope
172 | }
173 |
174 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
175 | request.httpMethod = "DELETE"
176 | }
/host/spi-builder-workspace/Sources/Buildkite/Resources/REST/ClusterQueues.swift:202:55: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
203 | request.httpMethod = "POST"
204 | }
[101/127] Compiling Buildkite StatusCode.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[102/127] Compiling Buildkite TokenProvider.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[103/127] Compiling Buildkite Transport.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[104/127] Compiling Buildkite URL+Buildkite.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[105/127] Compiling Buildkite AgentMetrics.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[106/127] Compiling Buildkite GraphQL.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:23:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// Interface for the asynchronous communication layer the ``BuildkiteClient`` uses.
22 | public protocol Transport: Sendable {
23 | typealias Output = (data: Data, response: URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:26:24: error: cannot find type 'URLRequest' in scope
24 |
25 | /// Send the request and receive the ``Output`` asynchronously.
26 | func send(request: URLRequest) async throws -> Output
| `- error: cannot find type 'URLRequest' in scope
27 | }
28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:29:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
27 | }
28 |
29 | extension URLSession: Transport {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
30 | public func send(request: URLRequest) async throws -> Output {
31 | // These depend on swift-corelibs-foundation, which have not implemented the
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:85:51: error: cannot find type 'URLRequest' in scope
83 | }
84 |
85 | public func transformRequest(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | request.httpMethod = "POST"
87 | }
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:59: error: cannot find type 'Output' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'Output' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:30:31: error: cannot find type 'URLRequest' in scope
28 |
29 | extension URLSession: Transport {
30 | public func send(request: URLRequest) async throws -> Output {
| `- error: cannot find type 'URLRequest' in scope
31 | // These depend on swift-corelibs-foundation, which have not implemented the
32 | // Task-based API for URLSession.
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:32: error: cannot find type 'URLRequest' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:52:84: error: cannot find type 'Output' in scope
50 | }
51 |
52 | private func send(request: URLRequest, completion: @Sendable @escaping (Result<Output, Error>) -> Void) {
| `- error: cannot find type 'Output' in scope
53 | let task = dataTask(with: request) { data, response, error in
54 | if let error = error {
[107/127] Compiling Buildkite BuildkiteClient+Webhooks.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[108/127] Compiling Buildkite Configuration.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[109/127] Compiling Buildkite Formatters.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[110/127] Compiling Buildkite JSONValue.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[111/127] Compiling Buildkite Pagination.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[112/127] Compiling Buildkite Resource.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[113/127] Compiling Buildkite Response.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |
45 | func transformRequest(
46 | _ request: inout URLRequest,
| `- error: cannot find type 'URLRequest' in scope
47 | tokens: TokenProvider?,
48 | version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:86:11: error: cannot find type 'URLRequest' in scope
84 | }
85 |
86 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
87 | mutating func appendPageOptions(_ options: PageOptions) {
88 | guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:35:44: error: cannot find type 'URLRequest' in scope
33 | var body: Body { get }
34 | /// Transform the given URLRequest to fit the resource.
35 | func transformRequest(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:43:51: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | public func transformRequest(_ request: inout URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | public protocol PaginatedResource: Resource where Content: Decodable {}
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | init<R: Resource>(
57 | _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | /// The page of the response, if paginated.
22 | public let page: Page?
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | init(
25 | content: T,
26 | response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | ) {
28 | self.content = content
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:38:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<T>' to 'Equatable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
36 | }
37 |
38 | extension Response: Equatable where T: Equatable {}
| |- error: type 'Response<T>' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
39 | extension Response: Hashable where T: Hashable {}
40 | extension Response: Sendable where T: Sendable {}
Swift.==:1:24: note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'Response<T>' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'Response<T>' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'Response<T>' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'Response<T>' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'Response<T>' 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 'Response<T>' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'Response<T>' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'Response<T>' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'Response<T>' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(Response<T>, Response<T>) -> Bool'
3 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:1: error: type 'Response' does not conform to protocol 'Hashable'
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- note: stored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Hashable', preventing synthesized conformance of 'Response<T>' to 'Hashable'
21 | /// The page of the response, if paginated.
22 | public let page: Page?
:
37 |
38 | extension Response: Equatable where T: Equatable {}
39 | extension Response: Hashable where T: Hashable {}
| `- error: type 'Response' does not conform to protocol 'Hashable'
40 | extension Response: Sendable where T: Sendable {}
41 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:20:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
18 | public let content: T
19 | /// The response metadata and headers from the network.
20 | public let response: URLResponse
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-sendable type 'URLResponse' (aka 'AnyObject'); this is an error in the Swift 6 language mode
21 | /// The page of the response, if paginated.
22 | public let page: Page?
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:44:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// Error thrown when the response from the ``Transport`` cannot be interpreted.
43 | public enum ResponseError: Error {
44 | case incompatibleResponse(URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
31 | page = Page(for: link)
32 | } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | page = Page(for: link)
32 | } else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:30:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
28 | self.content = content
29 | self.response = response
30 | if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
31 | page = Page(for: link)
32 | } else {
[114/127] Compiling Buildkite Cluster.swift
[115/127] Compiling Buildkite ClusterQueue.swift
[116/127] Compiling Buildkite ClusterToken.swift
[117/127] Compiling Buildkite Emoji.swift
[118/127] Compiling Buildkite FlakyTest.swift
[119/127] Compiling Buildkite Job.swift
[120/127] Compiling Buildkite Meta.swift
[121/127] Compiling Buildkite Organization.swift
[122/127] Compiling Buildkite Pipeline.swift
[123/127] Compiling Buildkite Team.swift
[124/127] Compiling Buildkite Trace.swift
[125/127] Compiling Buildkite User.swift
[126/127] Compiling Buildkite WebhookEvent.swift
[127/127] Compiling Buildkite APIVersion.swift
BUILD FAILURE 6.1 wasm