The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Buildkite, reference 0.3.2 (4c5f2d), with Swift 6.1 for Wasm on 28 May 2025 07:36:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 |         self.content = content
25 |         self.response = response
26 |         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
27 |             page = Page(for: link)
28 |         } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         self.content = content
25 |         self.response = response
26 |         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.
27 |             page = Page(for: link)
28 |         } 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:26:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
24 |         self.content = content
25 |         self.response = response
26 |         if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
   |                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
27 |             page = Page(for: link)
28 |         } else {
[15/42] Compiling Buildkite JSONValue.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:78:11: error: cannot find type 'URLRequest' in scope
76 | }
77 |
78 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
79 |     mutating func appendPageOptions(_ options: PageOptions) {
80 |         guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:34:51: error: cannot find type 'URLRequest' in scope
 32 |     }
 33 |
 34 |     public func transformRequest(_ request: inout URLRequest) {}
    |                                                   `- error: cannot find type 'URLRequest' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:45:11: error: cannot find type 'URLRequest' in scope
 43 | public protocol PaginatedResource: Resource where Content: Decodable {}
 44 |
 45 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 46 |     init<R: Resource>(
 47 |         _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public struct Response<T> {
16 |     public let content: T
17 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public let page: Page?
19 |
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:22:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     init(
21 |         content: T,
22 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ) {
24 |         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:34:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
32 | }
33 |
34 | extension Response: Equatable where T: Equatable {}
   | |- error: type 'Response<T>' does not conform to protocol 'Equatable'
   | `- note: add stubs for conformance
35 | extension Response: Hashable where T: Hashable {}
36 | 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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 |         self.content = content
25 |         self.response = response
26 |         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
27 |             page = Page(for: link)
28 |         } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         self.content = content
25 |         self.response = response
26 |         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.
27 |             page = Page(for: link)
28 |         } 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:26:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
24 |         self.content = content
25 |         self.response = response
26 |         if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
   |                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
27 |             page = Page(for: link)
28 |         } else {
[16/42] Compiling Buildkite Pagination.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:78:11: error: cannot find type 'URLRequest' in scope
76 | }
77 |
78 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
79 |     mutating func appendPageOptions(_ options: PageOptions) {
80 |         guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:34:51: error: cannot find type 'URLRequest' in scope
 32 |     }
 33 |
 34 |     public func transformRequest(_ request: inout URLRequest) {}
    |                                                   `- error: cannot find type 'URLRequest' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:45:11: error: cannot find type 'URLRequest' in scope
 43 | public protocol PaginatedResource: Resource where Content: Decodable {}
 44 |
 45 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 46 |     init<R: Resource>(
 47 |         _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public struct Response<T> {
16 |     public let content: T
17 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public let page: Page?
19 |
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:22:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     init(
21 |         content: T,
22 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ) {
24 |         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:34:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
32 | }
33 |
34 | extension Response: Equatable where T: Equatable {}
   | |- error: type 'Response<T>' does not conform to protocol 'Equatable'
   | `- note: add stubs for conformance
35 | extension Response: Hashable where T: Hashable {}
36 | 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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 |         self.content = content
25 |         self.response = response
26 |         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
27 |             page = Page(for: link)
28 |         } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         self.content = content
25 |         self.response = response
26 |         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.
27 |             page = Page(for: link)
28 |         } 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:26:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
24 |         self.content = content
25 |         self.response = response
26 |         if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
   |                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
27 |             page = Page(for: link)
28 |         } else {
[17/42] Compiling Buildkite Resource.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:78:11: error: cannot find type 'URLRequest' in scope
76 | }
77 |
78 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
79 |     mutating func appendPageOptions(_ options: PageOptions) {
80 |         guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:34:51: error: cannot find type 'URLRequest' in scope
 32 |     }
 33 |
 34 |     public func transformRequest(_ request: inout URLRequest) {}
    |                                                   `- error: cannot find type 'URLRequest' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:45:11: error: cannot find type 'URLRequest' in scope
 43 | public protocol PaginatedResource: Resource where Content: Decodable {}
 44 |
 45 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 46 |     init<R: Resource>(
 47 |         _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public struct Response<T> {
16 |     public let content: T
17 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public let page: Page?
19 |
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:22:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     init(
21 |         content: T,
22 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ) {
24 |         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:34:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
32 | }
33 |
34 | extension Response: Equatable where T: Equatable {}
   | |- error: type 'Response<T>' does not conform to protocol 'Equatable'
   | `- note: add stubs for conformance
35 | extension Response: Hashable where T: Hashable {}
36 | 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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 |         self.content = content
25 |         self.response = response
26 |         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
27 |             page = Page(for: link)
28 |         } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         self.content = content
25 |         self.response = response
26 |         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.
27 |             page = Page(for: link)
28 |         } 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:26:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
24 |         self.content = content
25 |         self.response = response
26 |         if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
   |                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
27 |             page = Page(for: link)
28 |         } else {
[18/42] Compiling Buildkite Response.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:78:11: error: cannot find type 'URLRequest' in scope
76 | }
77 |
78 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
79 |     mutating func appendPageOptions(_ options: PageOptions) {
80 |         guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:34:51: error: cannot find type 'URLRequest' in scope
 32 |     }
 33 |
 34 |     public func transformRequest(_ request: inout URLRequest) {}
    |                                                   `- error: cannot find type 'URLRequest' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:45:11: error: cannot find type 'URLRequest' in scope
 43 | public protocol PaginatedResource: Resource where Content: Decodable {}
 44 |
 45 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 46 |     init<R: Resource>(
 47 |         _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public struct Response<T> {
16 |     public let content: T
17 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public let page: Page?
19 |
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:22:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     init(
21 |         content: T,
22 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ) {
24 |         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:34:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
32 | }
33 |
34 | extension Response: Equatable where T: Equatable {}
   | |- error: type 'Response<T>' does not conform to protocol 'Equatable'
   | `- note: add stubs for conformance
35 | extension Response: Hashable where T: Hashable {}
36 | 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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
24 |         self.content = content
25 |         self.response = response
26 |         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
27 |             page = Page(for: link)
28 |         } else {
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:26:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         self.content = content
25 |         self.response = response
26 |         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.
27 |             page = Page(for: link)
28 |         } 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:26:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
24 |         self.content = content
25 |         self.response = response
26 |         if let response = response as? HTTPURLResponse, let link = response.allHeaderFields["Link"] as? String {
   |                                                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
27 |             page = Page(for: link)
28 |         } else {
[19/47] Compiling Buildkite Team.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[20/47] Compiling Buildkite Trace.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[21/47] Compiling Buildkite User.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[22/47] Compiling Buildkite WebhookEvent.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[23/47] Compiling Buildkite APIVersion.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[24/47] Compiling Buildkite Configuration.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
[25/47] Compiling Buildkite Builds.swift
/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/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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 |         }
[26/47] Compiling Buildkite Emojis.swift
/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/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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 |         }
[27/47] Compiling Buildkite Followable.swift
/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/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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 |         }
[28/47] Compiling Buildkite Jobs.swift
/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/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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 |         }
[29/47] Compiling Buildkite Metas.swift
/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/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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 |         }
[30/47] Compiling Buildkite BuildkiteClient.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
[31/47] Compiling Buildkite AccessToken.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
[32/47] Compiling Buildkite Agent.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
[33/47] Compiling Buildkite AgentMetric.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
[34/47] Compiling Buildkite Annotation.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
[35/47] Compiling Buildkite Artifact.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/BuildkiteClient.swift:75:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |             }
 74 |             let content: Content
 75 |             let response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |             do {
 77 |                 let data: Data
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/BuildkiteClient.swift:96:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                 return
 95 |             }
 96 |             var response: URLResponse
    |                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |             do {
 98 |                 (_, response) = try result.get()
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/BuildkiteClient.swift:109:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         else {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:109:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
111 |         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/BuildkiteClient.swift:110:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
    |                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 |         else {
112 |             throw ResponseError.incompatibleResponse(response)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:135:31: error: cannot find 'URLRequest' in scope
133 |     where R: Resource, R.Content: Decodable {
134 |         do {
135 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
136 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
137 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:153:31: error: cannot find 'URLRequest' in scope
151 |     ) where R: PaginatedResource {
152 |         do {
153 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
154 |                 resource,
155 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:172:31: error: cannot find 'URLRequest' in scope
170 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
171 |         do {
172 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
173 |             transport.send(request: request, completion: handleContentfulResponse(completion: completion))
174 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:190:31: error: cannot find 'URLRequest' in scope
188 |     ) where R: PaginatedResource, R.Body: Encodable {
189 |         do {
190 |             let request = try URLRequest(
    |                               `- error: cannot find 'URLRequest' in scope
191 |                 resource,
192 |                 configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:210:31: error: cannot find 'URLRequest' in scope
208 |     where R: Resource, R.Content == Void {
209 |         do {
210 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                               `- error: cannot find 'URLRequest' in scope
211 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
212 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:224:31: error: cannot find 'URLRequest' in scope
222 |     where R: Resource, R.Body: Encodable, R.Content == Void {
223 |         do {
224 |             let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                               `- error: cannot find 'URLRequest' in scope
225 |             transport.send(request: request, completion: handleEmptyResponse(completion: completion))
226 |         } catch {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:387:27: error: cannot find 'URLRequest' in scope
385 |     /// - Throws: An error describing the manner in which the resource failed to complete.
386 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content: Decodable {
387 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
388 |         let (data, response) = try await transport.send(request: request)
389 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:402:27: error: cannot find 'URLRequest' in scope
400 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
401 |     where R: PaginatedResource {
402 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, pageOptions: pageOptions)
    |                           `- error: cannot find 'URLRequest' in scope
403 |         let (data, response) = try await transport.send(request: request)
404 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:415:27: error: cannot find 'URLRequest' in scope
413 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
414 |     where R: Resource, R.Body: Encodable, R.Content: Decodable {
415 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
416 |         let (data, response) = try await transport.send(request: request)
417 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:430:27: error: cannot find 'URLRequest' in scope
428 |     public func send<R>(_ resource: R, pageOptions: PageOptions? = nil) async throws -> Response<R.Content>
429 |     where R: PaginatedResource, R.Body: Encodable {
430 |         let request = try URLRequest(
    |                           `- error: cannot find 'URLRequest' in scope
431 |             resource,
432 |             configuration: configuration,
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:449:27: error: cannot find 'URLRequest' in scope
447 |     /// - Throws: An error describing the manner in which the resource failed to complete.
448 |     public func send<R>(_ resource: R) async throws -> Response<R.Content> where R: Resource, R.Content == Void {
449 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens)
    |                           `- error: cannot find 'URLRequest' in scope
450 |         let (data, response) = try await transport.send(request: request)
451 |         try checkResponseForIssues(response, data: data)
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:461:27: error: cannot find 'URLRequest' in scope
459 |     public func send<R>(_ resource: R) async throws -> Response<R.Content>
460 |     where R: Resource, R.Body: Encodable, R.Content == Void {
461 |         let request = try URLRequest(resource, configuration: configuration, tokens: tokens, encoder: encoder)
    |                           `- error: cannot find 'URLRequest' in scope
462 |         let (data, response) = try await transport.send(request: request)
463 |         try checkResponseForIssues(response, data: data)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/47] Emitting module Buildkite
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:27:24: error: cannot find type 'URLRequest' in scope
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
27 |     func send(request: URLRequest, completion: @escaping Completion)
   |                        `- error: cannot find type 'URLRequest' in scope
28 |
29 |     #if canImport(Combine)
/host/spi-builder-workspace/Sources/Buildkite/Networking/Transport.swift:34:24: error: cannot find type 'URLRequest' in scope
32 |     #endif
33 |
34 |     func send(request: URLRequest) async throws -> Output
   |                        `- error: cannot find type 'URLRequest' in scope
35 | }
36 |
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:46:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 44 |     public init(
 45 |         configuration: Configuration = .default,
 46 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 47 |         tokens: TokenProvider? = nil
 48 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:61:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     public convenience init(
 60 |         configuration: Configuration = .default,
 61 |         transport: Transport = URLSession.shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 62 |         token: String
 63 |     ) {
/host/spi-builder-workspace/Sources/Buildkite/BuildkiteClient.swift:108:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     private func checkResponseForIssues(_ response: URLResponse, data: Data? = nil) throws {
    |                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 |         guard let httpResponse = response as? HTTPURLResponse,
110 |             let statusCode = StatusCode(rawValue: httpResponse.statusCode)
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/Configuration.swift:44:26: error: cannot find type 'URLRequest' in scope
42 |
43 |     func transformRequest(
44 |         _ request: inout URLRequest,
   |                          `- error: cannot find type 'URLRequest' in scope
45 |         tokens: TokenProvider?,
46 |         version: APIVersion
/host/spi-builder-workspace/Sources/Buildkite/Networking/Pagination.swift:78:11: error: cannot find type 'URLRequest' in scope
76 | }
77 |
78 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
79 |     mutating func appendPageOptions(_ options: PageOptions) {
80 |         guard let url = self.url,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:34:51: error: cannot find type 'URLRequest' in scope
 32 |     }
 33 |
 34 |     public func transformRequest(_ request: inout URLRequest) {}
    |                                                   `- error: cannot find type 'URLRequest' in scope
 35 | }
 36 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:45:11: error: cannot find type 'URLRequest' in scope
 43 | public protocol PaginatedResource: Resource where Content: Decodable {}
 44 |
 45 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
 46 |     init<R: Resource>(
 47 |         _ resource: R,
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public struct Response<T> {
16 |     public let content: T
17 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public let page: Page?
19 |
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:22:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     init(
21 |         content: T,
22 |         response: URLResponse
   |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     ) {
24 |         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:34:1: error: type 'Response<T>' does not conform to protocol 'Equatable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
32 | }
33 |
34 | extension Response: Equatable where T: Equatable {}
   | |- error: type 'Response<T>' does not conform to protocol 'Equatable'
   | `- note: add stubs for conformance
35 | extension Response: Hashable where T: Hashable {}
36 | 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:35:1: error: type 'Response' does not conform to protocol 'Hashable'
15 | public struct Response<T> {
16 |     public let content: T
17 |     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'
18 |     public let page: Page?
19 |
   :
33 |
34 | extension Response: Equatable where T: Equatable {}
35 | extension Response: Hashable where T: Hashable {}
   | `- error: type 'Response' does not conform to protocol 'Hashable'
36 | extension Response: Sendable where T: Sendable {}
37 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:17: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
15 | public struct Response<T> {
16 |     public let content: T
17 |     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
18 |     public let page: Page?
19 |
/host/spi-builder-workspace/Sources/Buildkite/Networking/Response.swift:39:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 | public enum ResponseError: Error {
39 |     case incompatibleResponse(URLResponse)
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | }
41 |
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:24:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | public protocol Transport {
24 |     typealias Output = (data: Data, response: URLResponse)
   |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     typealias Completion = (Result<Output, Error>) -> Void
26 |
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:37:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
35 | }
36 |
37 | extension URLSession: Transport {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
38 |     public func send(request: URLRequest, completion: @escaping Completion) {
39 |         let task = dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/Buildkite/Networking/URL+Buildkite.swift:69:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
67 | }
68 |
69 | extension Date: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
70 |     public init?(
71 |         _ description: String
/host/spi-builder-workspace/Sources/Buildkite/Networking/URL+Buildkite.swift:80:1: warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
78 | }
79 |
80 | extension UUID: LosslessStringConvertible {
   | |- warning: extension declares a conformance of imported type 'UUID' to imported protocol 'LosslessStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
81 |     public init?(
82 |         _ description: String
/host/spi-builder-workspace/Sources/Buildkite/Resources/GraphQL/GraphQL.swift:81:51: error: cannot find type 'URLRequest' in scope
 79 |     }
 80 |
 81 |     public func transformRequest(_ request: inout URLRequest) {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 82 |         request.httpMethod = "POST"
 83 |     }
/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:179:55: error: cannot find type 'URLRequest' in scope
177 |         }
178 |
179 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
180 |             request.httpMethod = "DELETE"
181 |         }
/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/Followable.swift:52:51: error: cannot find type 'URLRequest' in scope
50 |     }
51 |
52 |     public func transformRequest(_ request: inout URLRequest) {
   |                                                   `- error: cannot find type 'URLRequest' in scope
53 |         request.url = url
54 |     }
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[37/47] Compiling Buildkite Organizations.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[38/47] Compiling Buildkite Pipelines.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[39/47] Compiling Buildkite Teams.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[40/47] Compiling Buildkite Users.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[41/47] Compiling Buildkite TestAnalyticsUpload.swift
/host/spi-builder-workspace/Sources/Buildkite/Networking/Resource.swift:26:44: error: cannot find type 'URLRequest' in scope
 24 |     var path: String { get }
 25 |     var body: Body { get }
 26 |     func transformRequest(_ request: inout URLRequest)
    |                                            `- error: cannot find type 'URLRequest' in scope
 27 | }
 28 |
/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:90:55: error: cannot find type 'URLRequest' in scope
 88 |         }
 89 |
 90 |         public func transformRequest(_ request: inout URLRequest) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 91 |             request.httpMethod = "POST"
 92 |         }
[42/47] Compiling Buildkite Build.swift
[43/47] Compiling Buildkite Emoji.swift
[44/47] Compiling Buildkite Job.swift
[45/47] Compiling Buildkite Meta.swift
[46/47] Compiling Buildkite Organization.swift
[47/47] Compiling Buildkite Pipeline.swift
BUILD FAILURE 6.1 wasm