The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftExtras, reference main (5c2565), with Swift 6.1 for Wasm on 13 Oct 2026 11:38:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[104/209] Compiling SwiftExtras String+Quoted.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[105/209] Compiling SwiftExtras String+Split.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[106/209] Compiling SwiftExtras String+clean.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[107/209] Compiling SwiftExtras String+contains.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[108/209] Compiling SwiftExtras String+error.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[109/209] Compiling SwiftExtras String+fuzzyMatches.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[110/209] Compiling SwiftExtras String+hashed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[111/209] Compiling SwiftExtras String+slice.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[112/209] Compiling SwiftExtras String+slugified.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[113/209] Compiling SwiftExtras String+subscript.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[114/209] Compiling SwiftExtras String+trimmed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[115/209] Compiling SwiftExtras String+url.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[116/209] Compiling SwiftExtras StringProtocol+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[117/209] Compiling SwiftExtras Task+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[118/209] Compiling SwiftExtras Text+Gradient.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[119/209] Compiling SwiftExtras TimeInterval+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[120/209] Compiling SwiftExtras UIDevice+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[121/209] Compiling SwiftExtras URL+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[122/209] Compiling SwiftExtras URLSession.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:26:25: error: cannot find 'DispatchSemaphore' in scope
24 |         operation: @escaping @Sendable () async throws -> Success
25 |     ) {
26 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
27 |
28 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:49:23: error: cannot find 'URLRequest' in scope
47 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
48 |     public func isReachable() async -> Bool {
49 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
50 |         request.httpMethod = "HEAD"
51 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:53:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
55 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:54:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         do {
53 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
54 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |         } catch {
56 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:23: error: cannot find 'URLRequest' in scope
62 |     ///   - completion: A closure that is called with the result of the request.
63 |     public func isReachable(completion: @escaping (Bool) -> Void) {
64 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:66:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |         var request = URLRequest(url: self)
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
68 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:67:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         request.httpMethod = "HEAD"
66 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
67 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
68 |         }
69 |         .resume()
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:29:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 | #if os(Linux)
31 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:27:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     /// - Returns: The disposition and optional credential that the session should use.
26 |     public func urlSession(
27 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didReceive challenge: URLAuthenticationChallenge
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:28:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     public func urlSession(
27 |         _ session: URLSession,
28 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
30 | #if os(Linux)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:55: error: cannot find type 'URLSessionDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:20:75: error: cannot find type 'URLSessionTaskDelegate' in scope
18 | ///
19 | /// Use this delegate only when certificate validation is intentionally disabled.
20 | public final class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                           `- error: cannot find type 'URLSessionTaskDelegate' in scope
21 |     /// Handles a server-trust authentication challenge without certificate validation.
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 | ///
48 | /// The declarations in this scope provide focused utilities while preserving the type’s standard behavior.
49 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         return (.performDefaultHandling, nil)
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:35:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 | #else
34 |         switch challenge.protectionSpace.authenticationMethod {
35 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
38 |             return (.useCredential, cred)
39 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:37:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         case NSURLAuthenticationMethodServerTrust:
36 |             // No trust APIs on Linux
37 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
38 |             return (.useCredential, cred)
39 |         default:
[123/209] Compiling SwiftExtras NSPasteboard+string.swift
[124/209] Compiling SwiftExtras PlatformTypes.swift
[125/209] Compiling SwiftExtras PlatformViewRepresentable.swift
[126/209] Compiling SwiftExtras openURL.swift
[127/209] Compiling SwiftExtras RegularExpressionOperator.swift
[128/209] Compiling SwiftExtras optionalBinding.swift
[129/209] Compiling SwiftExtras PictureInPicture.swift
[130/209] Compiling SwiftExtras PictureInPictureController.swift
[131/209] Compiling SwiftExtras PictureInPictureLayerView.swift
[132/209] Compiling SwiftExtras PictureInPictureRenderer.swift
[133/209] Compiling SwiftExtras View+PictureInPicture.swift
[134/209] Compiling SwiftExtras AutoEquatable.swift
[135/209] Compiling SwiftExtras MailView.swift
[136/209] Compiling SwiftExtras SFSafari.swift
[137/209] Compiling SwiftExtras WebView.swift
[138/209] Compiling SwiftExtras HexShape.swift
[139/209] Compiling SwiftExtras AnyCodable.swift
[140/209] Compiling SwiftExtras DeviceInfo.swift
[141/209] Compiling SwiftExtras Dynamic.swift
[142/209] Compiling SwiftExtras DynamicJSON.swift
[143/209] Compiling SwiftExtras IslandToastCard.swift
[144/209] Compiling SwiftExtras SEAcknowledgement.swift
[145/209] Compiling SwiftExtras SEChangeLogEntry.swift
[146/209] Compiling SwiftExtras SocialIcons.swift
[147/209] Compiling SwiftExtras UbiquitousStorage.swift
[148/209] Compiling SwiftExtras BorderedToggleStyle.swift
[149/209] Compiling SwiftExtras ColoredButtonStyle.swift
[150/209] Compiling SwiftExtras GrayButtonStyle.swift
[151/209] Compiling SwiftExtras ListButtonStyle.swift
[152/209] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[153/209] Compiling SwiftExtras ToggleButtonStyle.swift
[154/209] Compiling SwiftExtras SwiftExtras.swift
[155/209] Compiling SwiftExtras AsyncTask.swift
[156/209] Compiling SwiftExtras AsyncView.swift
[157/209] Compiling SwiftExtras CardView.swift
[158/209] Compiling SwiftExtras CarouselView.swift
[159/209] Compiling SwiftExtras CloseButton.swift
[160/209] Compiling SwiftExtras Compat.swift
[161/209] Compiling SwiftExtras ConfettiView.swift
[162/209] Compiling SwiftExtras ConfirmationButton.swift
[163/209] Compiling SwiftExtras CopyableLabeledContent.swift
[164/209] Compiling SwiftExtras BackgroundRemover.swift
[165/209] Compiling SwiftExtras SensoryFeedback.swift
[166/209] Compiling SwiftExtras AppInfo.swift
[167/209] Compiling SwiftExtras Device.swift
[168/209] Compiling SwiftExtras Binding+onChange.swift
[169/209] Compiling SwiftExtras Binding+optional.swift
[170/209] Compiling SwiftExtras CGFloat+.swift
[171/209] Compiling SwiftExtras CGSize+device.swift
[172/209] Compiling SwiftExtras Collection+.swift
[173/209] Compiling SwiftExtras Collection+safeIndex.swift
[174/209] Compiling SwiftExtras Color+Codable.swift
[175/209] Compiling SwiftExtras Color+Identifiable.swift
[176/209] Compiling SwiftExtras Color+colorBlind.swift
[177/209] Compiling SwiftExtras Color+components.swift
[178/209] Compiling SwiftExtras Color+default.swift
[179/209] Compiling SwiftExtras Color+dynamicColor.swift
[180/209] Compiling SwiftExtras Color+init.swift
[181/209] Compiling SwiftExtras Color+random.swift
[182/209] Compiling SwiftExtras PlatformColor+.swift
[183/209] Compiling SwiftExtras Data.swift
[184/209] Compiling SwiftExtras Date+.swift
[185/209] Compiling SwiftExtras Date+Identifiable.swift
[186/209] Compiling SwiftExtras Date+getFormattedDate.swift
[187/209] Compiling SwiftExtras Dictionary+RawRepresentable.swift
[188/209] Compiling SwiftExtras Double+.swift
[189/209] Compiling SwiftExtras Error+errorCode.swift
[190/209] Compiling SwiftExtras Float.swift
[191/209] Compiling SwiftExtras Image+Platform.swift
[192/209] Compiling SwiftExtras Image+centerCropped.swift
[193/209] Compiling SwiftExtras PlatformImage+.swift
[194/209] Compiling SwiftExtras Int+.swift
[195/209] Compiling SwiftExtras Locale+Utilities.swift
[196/209] Compiling SwiftExtras LocalizedStringKey+.swift
[197/209] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
[198/209] Compiling SwiftExtras Logger+.swift
[199/209] Compiling SwiftExtras NotificationName+.swift
[200/209] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[201/209] Compiling SwiftExtras ProcessInfo+Utilities.swift
[202/209] Compiling SwiftExtras Sequence+.swift
[203/209] Compiling SwiftExtras String+ANSIColors.swift
[204/209] Compiling SwiftExtras String+Base64.swift
[205/209] Compiling SwiftExtras String+HTML.swift
BUILD FAILURE 6.1 wasm