The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftExtras, reference 1.2.8 (eb8f9d), with Swift 6.1 for Wasm on 29 Sep 2026 15:44:40 UTC.

Build Command

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

Build Log

   |                                                       `- error: cannot find type 'URLSessionDelegate' in scope
21 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[80/205] Compiling SwiftExtras String+Quoted.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[81/205] Compiling SwiftExtras String+Split.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[82/205] Compiling SwiftExtras String+clean.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[83/205] Compiling SwiftExtras String+contains.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[84/205] Compiling SwiftExtras String+error.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[85/205] Compiling SwiftExtras String+fuzzyMatches.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[86/205] Compiling SwiftExtras String+hashed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[87/205] Compiling SwiftExtras String+slice.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[88/205] Compiling SwiftExtras String+slugified.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[89/205] Compiling SwiftExtras String+subscript.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[90/205] Compiling SwiftExtras String+trimmed.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[91/205] Compiling SwiftExtras String+url.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[92/205] Compiling SwiftExtras StringProtocol+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[93/205] Compiling SwiftExtras Task+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[94/205] Compiling SwiftExtras Text+Gradient.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[95/205] Compiling SwiftExtras TimeInterval+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[96/205] Compiling SwiftExtras UIDevice+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[97/205] Compiling SwiftExtras URL+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[98/205] Compiling SwiftExtras URLSession.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Task+.swift:23:25: error: cannot find 'DispatchSemaphore' in scope
21 |         operation: @escaping @Sendable () async throws -> Success
22 |     ) {
23 |         let semaphore = DispatchSemaphore(value: 0)
   |                         `- error: cannot find 'DispatchSemaphore' in scope
24 |
25 |         _ = Task(priority: priority) {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:46:23: error: cannot find 'URLRequest' in scope
44 |     /// - Returns: A Boolean value indicating whether the URL is reachable.
45 |     public func isReachable() async -> Bool {
46 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
47 |         request.httpMethod = "HEAD"
48 |
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:50:54: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
48 |
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
   |                                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
52 |         } catch {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:51:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
49 |         do {
50 |             let (_, response) = try await URLSession.ignoreCertificateErrors.data(for: request)
51 |             return (response as? HTTPURLResponse)?.statusCode == 200
   |                                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
52 |         } catch {
53 |             return false
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:61:23: error: cannot find 'URLRequest' in scope
59 |     ///   - completion: A closure that is called with the result of the request.
60 |     public func isReachable(completion: @escaping (Bool) -> Void) {
61 |         var request = URLRequest(url: self)
   |                       `- error: cannot find 'URLRequest' in scope
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:63:20: error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
61 |         var request = URLRequest(url: self)
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
   |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'ignoreCertificateErrors'
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
65 |         }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URL+.swift:64:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |         request.httpMethod = "HEAD"
63 |         URLSession.ignoreCertificateErrors.dataTask(with: request) { _, response, _ in
64 |             completion((response as? HTTPURLResponse)?.statusCode == 200)
   |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
65 |         }
66 |         .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 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
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 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
22 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:46:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 | }
45 |
46 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
47 |     /// A URLSession that ignores SSL certificate errors.
48 |     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:
[99/205] Compiling SwiftExtras Date+Identifiable.swift
[100/205] Compiling SwiftExtras Date+getFormattedDate.swift
[101/205] Compiling SwiftExtras Dictionary+RawRepresentable.swift
[102/205] Compiling SwiftExtras Double+.swift
[103/205] Compiling SwiftExtras Error+errorCode.swift
[104/205] Compiling SwiftExtras Float.swift
[105/205] Compiling SwiftExtras Image+Platform.swift
[106/205] Compiling SwiftExtras Image+centerCropped.swift
[107/205] Compiling SwiftExtras PlatformImage+.swift
[108/205] Compiling SwiftExtras Int+.swift
[109/205] Compiling SwiftExtras Locale+Utilities.swift
[110/205] Compiling SwiftExtras LocalizedStringKey+.swift
[111/205] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
[112/205] Compiling SwiftExtras Logger+.swift
[113/205] Compiling SwiftExtras NotificationName+.swift
[114/205] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[115/205] Compiling SwiftExtras ProcessInfo+Utilities.swift
[116/205] Compiling SwiftExtras Sequence+.swift
[117/205] Compiling SwiftExtras String+ANSIColors.swift
[118/205] Compiling SwiftExtras String+Base64.swift
[119/205] Compiling SwiftExtras String+HTML.swift
[120/205] Compiling SwiftExtras View+subtitle.swift
[121/205] Compiling SwiftExtras GravatarAvatarImage.swift
[122/205] Compiling SwiftExtras kMeansCluster.swift
[123/205] Compiling SwiftExtras Flow.swift
[124/205] Compiling SwiftExtras StickySection.swift
[125/205] Compiling SwiftExtras WStack.swift
[126/205] Compiling SwiftExtras BorderBeamEffect.swift
[127/205] Compiling SwiftExtras Button+longPress.swift
[128/205] Compiling SwiftExtras CaptureScrollingOffset.swift
[129/205] Compiling SwiftExtras CustomBadge.swift
[130/205] Compiling SwiftExtras FloatingSafeAreaBar.swift
[131/205] Compiling SwiftExtras IslandToast.swift
[132/205] Compiling SwiftExtras KeyboardDismissModifier.swift
[133/205] Compiling SwiftExtras KeyboardDoneToolbar.swift
[134/205] Compiling SwiftExtras PulsatingEffect.swift
[135/205] Compiling SwiftExtras ShakeEffect.swift
[136/205] Compiling SwiftExtras Shimmer.swift
[137/205] Compiling SwiftExtras StretchyHeaderViewModifier.swift
[138/205] Compiling SwiftExtras TextFieldActions.swift
[139/205] Compiling SwiftExtras Toast.swift
[140/205] Compiling SwiftExtras BackgroundRemover.swift
[141/205] Compiling SwiftExtras SensoryFeedback.swift
[142/205] Compiling SwiftExtras AppInfo.swift
[143/205] Compiling SwiftExtras Device.swift
[144/205] Compiling SwiftExtras Binding+onChange.swift
[145/205] Compiling SwiftExtras Binding+optional.swift
[146/205] Compiling SwiftExtras CGFloat+.swift
[147/205] Compiling SwiftExtras CGSize+device.swift
[148/205] Compiling SwiftExtras Collection+.swift
[149/205] Compiling SwiftExtras Collection+safeIndex.swift
[150/205] Compiling SwiftExtras Color+Codable.swift
[151/205] Compiling SwiftExtras Color+Identifiable.swift
[152/205] Compiling SwiftExtras Color+colorBlind.swift
[153/205] Compiling SwiftExtras Color+components.swift
[154/205] Compiling SwiftExtras Color+default.swift
[155/205] Compiling SwiftExtras Color+dynamicColor.swift
[156/205] Compiling SwiftExtras Color+init.swift
[157/205] Compiling SwiftExtras Color+random.swift
[158/205] Compiling SwiftExtras PlatformColor+.swift
[159/205] Compiling SwiftExtras Data.swift
[160/205] Compiling SwiftExtras Date+.swift
[161/205] Compiling SwiftExtras NSPasteboard+string.swift
[162/205] Compiling SwiftExtras PlatformTypes.swift
[163/205] Compiling SwiftExtras PlatformViewRepresentable.swift
[164/205] Compiling SwiftExtras openURL.swift
[165/205] Compiling SwiftExtras RegularExpressionOperator.swift
[166/205] Compiling SwiftExtras optionalBinding.swift
[167/205] Compiling SwiftExtras PictureInPicture.swift
[168/205] Compiling SwiftExtras PictureInPictureController.swift
[169/205] Compiling SwiftExtras PictureInPictureLayerView.swift
[170/205] Compiling SwiftExtras PictureInPictureRenderer.swift
[171/205] Compiling SwiftExtras View+PictureInPicture.swift
[172/205] Compiling SwiftExtras AutoEquatable.swift
[173/205] Compiling SwiftExtras MailView.swift
[174/205] Compiling SwiftExtras SFSafari.swift
[175/205] Compiling SwiftExtras WebView.swift
[176/205] Compiling SwiftExtras HexShape.swift
[177/205] Compiling SwiftExtras AnyCodable.swift
[178/205] Compiling SwiftExtras DeviceInfo.swift
[179/205] Compiling SwiftExtras Dynamic.swift
[180/205] Compiling SwiftExtras DynamicJSON.swift
[181/205] Compiling SwiftExtras UserDefaults+subscript.swift
[182/205] Compiling SwiftExtras View+Error.swift
[183/205] Compiling SwiftExtras View+Frame.swift
[184/205] Compiling SwiftExtras View+Log.swift
[185/205] Compiling SwiftExtras View+Task.swift
[186/205] Compiling SwiftExtras View+adaptiveColor.swift
[187/205] Compiling SwiftExtras View+colorScheme.swift
[188/205] Compiling SwiftExtras View+getRootViewController.swift
[189/205] Compiling SwiftExtras View+horizontallyCentered.swift
[190/205] Compiling SwiftExtras View+modifier.swift
[191/205] Compiling SwiftExtras View+onChange.swift
[192/205] Compiling SwiftExtras View+onFirstAppear.swift
[193/205] Compiling SwiftExtras View+onLandscape.swift
[194/205] Compiling SwiftExtras View+onNotification.swift
[195/205] Compiling SwiftExtras View+onboarding.swift
[196/205] Compiling SwiftExtras View+readOffsetX.swift
[197/205] Compiling SwiftExtras View+render.swift
[198/205] Compiling SwiftExtras View+sizeSaver.swift
[199/205] Compiling SwiftExtras View+snapshot.swift
[200/205] Compiling SwiftExtras View+stretchableView.swift
[201/205] Compiling SwiftExtras View+stretchy.swift
BUILD FAILURE 6.1 wasm