The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftExtras, reference main (ee47fa), with Swift 6.2 for Wasm on 14 Nov 2026 01:45:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[119/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[120/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[121/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[122/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[123/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[124/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[125/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[126/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[127/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[128/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[129/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[130/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[131/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[132/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[133/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[134/223] 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 [#NominalTypes]
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 [#NominalTypes]
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:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[135/223] Compiling SwiftExtras highlight.swift
[136/223] Compiling SwiftExtras NSPasteboard+string.swift
[137/223] Compiling SwiftExtras PlatformTypes.swift
[138/223] Compiling SwiftExtras PlatformViewRepresentable.swift
[139/223] Compiling SwiftExtras openURL.swift
[140/223] Compiling SwiftExtras RegularExpressionOperator.swift
[141/223] Compiling SwiftExtras optionalBinding.swift
[142/223] Compiling SwiftExtras PictureInPicture.swift
[143/223] Compiling SwiftExtras PictureInPictureController.swift
[144/223] Compiling SwiftExtras PictureInPictureLayerView.swift
[145/223] Compiling SwiftExtras PictureInPictureRenderer.swift
[146/223] Compiling SwiftExtras View+PictureInPicture.swift
[147/223] Compiling SwiftExtras AutoEquatable.swift
[148/223] Compiling SwiftExtras MailView.swift
[149/223] Compiling SwiftExtras SFSafari.swift
[150/223] Compiling SwiftExtras WebView.swift
[151/223] Compiling SwiftExtras HexShape.swift
[152/223] Compiling SwiftExtras AnyCodable.swift
[153/223] Compiling SwiftExtras DeviceInfo.swift
[154/223] Compiling SwiftExtras Dynamic.swift
[155/223] Compiling SwiftExtras DynamicJSON.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[156/223] Compiling SwiftExtras Date+Identifiable.swift
[157/223] Compiling SwiftExtras Date+getFormattedDate.swift
[158/223] Compiling SwiftExtras Dictionary+RawRepresentable.swift
[159/223] Compiling SwiftExtras Double+.swift
[160/223] Compiling SwiftExtras Error+errorCode.swift
[161/223] Compiling SwiftExtras Float.swift
[162/223] Compiling SwiftExtras Image+Platform.swift
[163/223] Compiling SwiftExtras Image+centerCropped.swift
[164/223] Compiling SwiftExtras PlatformImage+.swift
[165/223] Compiling SwiftExtras Int+.swift
[166/223] Compiling SwiftExtras Locale+Utilities.swift
[167/223] Compiling SwiftExtras LocalizedStringKey+.swift
[168/223] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
[169/223] Compiling SwiftExtras Logger+.swift
[170/223] Compiling SwiftExtras NotificationName+.swift
[171/223] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[172/223] Compiling SwiftExtras ProcessInfo+Utilities.swift
[173/223] Compiling SwiftExtras Sequence+.swift
[174/223] Compiling SwiftExtras String+ANSIColors.swift
[175/223] Compiling SwiftExtras String+Base64.swift
[176/223] Compiling SwiftExtras String+HTML.swift
[177/223] Compiling SwiftExtras BackgroundRemover.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[178/223] Compiling SwiftExtras SensoryFeedback.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[179/223] Compiling SwiftExtras AppInfo.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[180/223] Compiling SwiftExtras Device.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[181/223] Compiling SwiftExtras Binding+onChange.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[182/223] Compiling SwiftExtras Binding+optional.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[183/223] Compiling SwiftExtras CGFloat+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[184/223] Compiling SwiftExtras CGSize+device.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[185/223] Compiling SwiftExtras Collection+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[186/223] Compiling SwiftExtras Collection+safeIndex.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[187/223] Compiling SwiftExtras Color+Codable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[188/223] Compiling SwiftExtras Color+Identifiable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[189/223] Compiling SwiftExtras Color+colorBlind.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[190/223] Compiling SwiftExtras Color+components.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[191/223] Compiling SwiftExtras Color+default.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[192/223] Compiling SwiftExtras Color+dynamicColor.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[193/223] Compiling SwiftExtras Color+init.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[194/223] Compiling SwiftExtras Color+random.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[195/223] Compiling SwiftExtras PlatformColor+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[196/223] Compiling SwiftExtras Data.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[197/223] Compiling SwiftExtras Date+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[198/223] Compiling SwiftExtras View+subtitle.swift
[199/223] Compiling SwiftExtras GravatarAvatarImage.swift
[200/223] Compiling SwiftExtras kMeansCluster.swift
[201/223] Compiling SwiftExtras Flow.swift
[202/223] Compiling SwiftExtras StickySection.swift
[203/223] Compiling SwiftExtras WStack.swift
[204/223] Compiling SwiftExtras BorderBeamEffect.swift
[205/223] Compiling SwiftExtras Button+longPress.swift
[206/223] Compiling SwiftExtras CaptureScrollingOffset.swift
[207/223] Compiling SwiftExtras CustomBadge.swift
[208/223] Compiling SwiftExtras FloatingSafeAreaBar.swift
[209/223] Compiling SwiftExtras IslandToast.swift
[210/223] Compiling SwiftExtras KeyboardDismissModifier.swift
[211/223] Compiling SwiftExtras KeyboardDoneToolbar.swift
[212/223] Compiling SwiftExtras PulsatingEffect.swift
[213/223] Compiling SwiftExtras ShakeEffect.swift
[214/223] Compiling SwiftExtras Shimmer.swift
[215/223] Compiling SwiftExtras StretchyHeaderViewModifier.swift
[216/223] Compiling SwiftExtras TextFieldActions.swift
[217/223] Compiling SwiftExtras TextFieldWithAxisActionHelper.swift
[218/223] Compiling SwiftExtras Toast.swift
[219/223] Emitting module SwiftExtras
/host/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
236 |     /// - Parameter forceRefresh: forced refresh?
237 |     /// - Returns: AppStore information
238 |     public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
    |                                                                            `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions. [#DeprecatedDeclaration]
239 | #if os(macOS) || os(iOS)
240 |         let decoder = JSONDecoder()
/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 [#NominalTypes]
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 [#NominalTypes]
50 |     /// A URLSession that ignores SSL certificate errors.
51 |     public static let ignoreCertificateErrors: URLSession = {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 wasm