The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftExtras, reference main (5c6dcf), with Swift 6.1 for Wasm on 15 Mar 2026 21:00:23 UTC.

Build Command

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

Build Log

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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[32/143] Compiling SwiftExtras DisclosureSection.swift
[33/143] Compiling SwiftExtras FloatingTextField.swift
[34/143] Compiling SwiftExtras HorizontalStepper.swift
[35/143] Compiling SwiftExtras IndexedList.swift
[36/143] Compiling SwiftExtras LimitedTextField.swift
[37/143] Compiling SwiftExtras MonthYearPickerView.swift
[38/143] Compiling SwiftExtras MultiSelectPickerView.swift
[39/143] Compiling SwiftExtras MultiSelectView.swift
[40/143] Compiling SwiftExtras NavigationViewIfNeeded.swift
[41/143] Compiling SwiftExtras NotificationOnboarding.swift
[42/143] Compiling SwiftExtras NotificationView.swift
[43/143] Compiling SwiftExtras Onboarding.swift
[44/143] Compiling SwiftExtras SEAcknowledgementView.swift
[45/143] Compiling SwiftExtras SEChangeLogView.swift
[46/143] Compiling SwiftExtras SESettingsView.swift
[47/143] Compiling SwiftExtras resource_bundle_accessor.swift
[48/143] Compiling SwiftExtras SEChangeLogEntry.swift
[49/143] Compiling SwiftExtras SocialIcons.swift
[50/143] Compiling SwiftExtras BorderedToggleStyle.swift
[51/143] Compiling SwiftExtras ColoredButtonStyle.swift
[52/143] Compiling SwiftExtras GrayButtonStyle.swift
[53/143] Compiling SwiftExtras ListButtonStyle.swift
[54/143] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[55/143] Compiling SwiftExtras ToggleButtonStyle.swift
[56/143] Compiling SwiftExtras SwiftExtras.swift
[57/143] Compiling SwiftExtras AsyncTask.swift
[58/143] Compiling SwiftExtras AsyncView.swift
[59/143] Compiling SwiftExtras CardView.swift
[60/143] Compiling SwiftExtras CarouselView.swift
[61/143] Compiling SwiftExtras ConfettiView.swift
[62/143] Compiling SwiftExtras ConfirmationButton.swift
[63/143] Compiling SwiftExtras CopyableLabeledContent.swift
[64/143] Compiling SwiftExtras BackgroundRemover.swift
[65/143] Compiling SwiftExtras SensoryFeedback.swift
[66/143] Compiling SwiftExtras AppInfo.swift
[67/143] Compiling SwiftExtras Device.swift
[68/143] Compiling SwiftExtras Binding+for.swift
[69/143] Compiling SwiftExtras Binding+onChange.swift
[70/143] Compiling SwiftExtras Binding+optional.swift
[71/143] Compiling SwiftExtras CGFloat+.swift
[72/143] Compiling SwiftExtras CGSize+device.swift
[73/143] Compiling SwiftExtras Collection+.swift
[74/143] Compiling SwiftExtras Collection+safeIndex.swift
[75/143] Compiling SwiftExtras Color+Codable.swift
[76/143] Compiling SwiftExtras Color+Identifiable.swift
[77/143] Compiling SwiftExtras Color+colorBlind.swift
[78/143] Compiling SwiftExtras Color+components.swift
[79/143] Compiling SwiftExtras Color+default.swift
[80/143] Compiling SwiftExtras View+View+onChange.swift.swift
[81/143] Compiling SwiftExtras View+adaptiveColor.swift
[82/143] Compiling SwiftExtras View+colorScheme.swift
[83/143] Compiling SwiftExtras View+getRootViewController.swift
[84/143] Compiling SwiftExtras View+horizontallyCentered.swift
[85/143] Compiling SwiftExtras View+modifier.swift
[86/143] Compiling SwiftExtras View+onFirstAppear.swift
[87/143] Compiling SwiftExtras View+onLandscape.swift
[88/143] Compiling SwiftExtras View+onNotification.swift
[89/143] Compiling SwiftExtras View+onboarding.swift
[90/143] Compiling SwiftExtras View+readOffsetX.swift
[91/143] Compiling SwiftExtras View+render.swift
[92/143] Compiling SwiftExtras View+sizeSaver.swift
[93/143] Compiling SwiftExtras View+snapshot.swift
[94/143] Compiling SwiftExtras View+stretchy.swift
[95/143] Compiling SwiftExtras kMeansCluster.swift
[96/143] Compiling SwiftExtras Logger+.swift
[97/143] Compiling SwiftExtras NotificationName+.swift
[98/143] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[99/143] Compiling SwiftExtras PlatformColor+.swift
[100/143] Compiling SwiftExtras PlatformImage+.swift
[101/143] Compiling SwiftExtras ProcessInfo+Utilities.swift
[102/143] Compiling SwiftExtras Sequence+.swift
[103/143] Compiling SwiftExtras String+ANSIColors.swift
[104/143] Compiling SwiftExtras String+Base64.swift
[105/143] Compiling SwiftExtras String+HTML.swift
[106/143] Compiling SwiftExtras String+IdentifiableString.swift
[107/143] Compiling SwiftExtras String+clean.swift
[108/143] Compiling SwiftExtras String+contains.swift
[109/143] Compiling SwiftExtras String+error.swift
[110/143] Compiling SwiftExtras String+hashed.swift
[111/143] Compiling SwiftExtras String+slice.swift
[112/143] Compiling SwiftExtras WStack.swift
[113/143] Compiling SwiftExtras Button+longPress.swift
[114/143] Compiling SwiftExtras KeyboardDismissModifier.swift
[115/143] Compiling SwiftExtras PulsatingEffect.swift
[116/143] Compiling SwiftExtras ShakeEffect.swift
[117/143] Compiling SwiftExtras NSPasteboard+string.swift
[118/143] Compiling SwiftExtras PlatformTypes.swift
[119/143] Compiling SwiftExtras PlatformViewRepresentable.swift
[120/143] Compiling SwiftExtras openURL.swift
[121/143] Compiling SwiftExtras RegularExpressionOperator.swift
[122/143] Compiling SwiftExtras optionalBinding.swift
[123/143] Compiling SwiftExtras MailView.swift
[124/143] Compiling SwiftExtras SFSafari.swift
[125/143] Compiling SwiftExtras WebView.swift
[126/143] Compiling SwiftExtras HexShape.swift
[127/143] Compiling SwiftExtras SEAcknowledgement.swift
[128/143] Compiling SwiftExtras Color+dynamicColor.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[129/143] Compiling SwiftExtras Color+init.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[130/143] Compiling SwiftExtras Color+random.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[131/143] Compiling SwiftExtras Data+Compression.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[132/143] Compiling SwiftExtras Date+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[133/143] Compiling SwiftExtras Date+Identifiable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[134/143] Compiling SwiftExtras Date+getFormattedDate.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[135/143] Compiling SwiftExtras Double+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[136/143] Compiling SwiftExtras Error+errorCode.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[137/143] Compiling SwiftExtras Float.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[138/143] Compiling SwiftExtras Image+Platform.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[139/143] Compiling SwiftExtras Image+centerCropped.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[140/143] Compiling SwiftExtras Int+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[141/143] Compiling SwiftExtras Locale+Utilities.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[142/143] Compiling SwiftExtras LocalizedStringKey+.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
[143/143] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 |     /// First day of the week
134 |     public static var firstDayOfWeek = Calendar.current.firstWeekday
    |                       |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Array of capitalized first letters of the weekdays
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling OSLogViewer OSLogViewer.swift
[3/6] Compiling OSLogViewer resource_bundle_accessor.swift
[4/6] Compiling OSLogViewer OSLogViewer.Colors.swift
[5/6] Compiling OSLogViewer OSLogExtractor.swift
[6/6] Emitting module OSLogViewer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/120] Emitting module SwiftExtras
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
[9/136] Compiling SwiftExtras SEChangeLogEntry.swift
[10/136] Compiling SwiftExtras SocialIcons.swift
[11/136] Compiling SwiftExtras BorderedToggleStyle.swift
[12/136] Compiling SwiftExtras ColoredButtonStyle.swift
[13/136] Compiling SwiftExtras GrayButtonStyle.swift
[14/136] Compiling SwiftExtras ListButtonStyle.swift
[15/136] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[16/136] Compiling SwiftExtras ToggleButtonStyle.swift
[17/136] Compiling SwiftExtras SwiftExtras.swift
[18/136] Compiling SwiftExtras AsyncTask.swift
[19/136] Compiling SwiftExtras AsyncView.swift
[20/136] Compiling SwiftExtras CardView.swift
[21/136] Compiling SwiftExtras CarouselView.swift
[22/136] Compiling SwiftExtras ConfettiView.swift
[23/136] Compiling SwiftExtras ConfirmationButton.swift
[24/136] Compiling SwiftExtras CopyableLabeledContent.swift
[25/136] Compiling SwiftExtras View+View+onChange.swift.swift
[26/136] Compiling SwiftExtras View+adaptiveColor.swift
[27/136] Compiling SwiftExtras View+colorScheme.swift
[28/136] Compiling SwiftExtras View+getRootViewController.swift
[29/136] Compiling SwiftExtras View+horizontallyCentered.swift
[30/136] Compiling SwiftExtras View+modifier.swift
[31/136] Compiling SwiftExtras View+onFirstAppear.swift
[32/136] Compiling SwiftExtras View+onLandscape.swift
[33/136] Compiling SwiftExtras View+onNotification.swift
[34/136] Compiling SwiftExtras View+onboarding.swift
[35/136] Compiling SwiftExtras View+readOffsetX.swift
[36/136] Compiling SwiftExtras View+render.swift
[37/136] Compiling SwiftExtras View+sizeSaver.swift
[38/136] Compiling SwiftExtras View+snapshot.swift
[39/136] Compiling SwiftExtras View+stretchy.swift
[40/136] Compiling SwiftExtras kMeansCluster.swift
[41/136] Compiling SwiftExtras WStack.swift
[42/136] Compiling SwiftExtras Button+longPress.swift
[43/136] Compiling SwiftExtras KeyboardDismissModifier.swift
[44/136] Compiling SwiftExtras PulsatingEffect.swift
[45/136] Compiling SwiftExtras ShakeEffect.swift
[46/136] Compiling SwiftExtras NSPasteboard+string.swift
[47/136] Compiling SwiftExtras PlatformTypes.swift
[48/136] Compiling SwiftExtras PlatformViewRepresentable.swift
[49/136] Compiling SwiftExtras openURL.swift
[50/136] Compiling SwiftExtras RegularExpressionOperator.swift
[51/136] Compiling SwiftExtras optionalBinding.swift
[52/136] Compiling SwiftExtras MailView.swift
[53/136] Compiling SwiftExtras SFSafari.swift
[54/136] Compiling SwiftExtras WebView.swift
[55/136] Compiling SwiftExtras HexShape.swift
[56/136] Compiling SwiftExtras SEAcknowledgement.swift
[57/136] Compiling SwiftExtras DisclosureSection.swift
[58/136] Compiling SwiftExtras FloatingTextField.swift
[59/136] Compiling SwiftExtras HorizontalStepper.swift
[60/136] Compiling SwiftExtras IndexedList.swift
[61/136] Compiling SwiftExtras LimitedTextField.swift
[62/136] Compiling SwiftExtras MonthYearPickerView.swift
[63/136] Compiling SwiftExtras MultiSelectPickerView.swift
[64/136] Compiling SwiftExtras MultiSelectView.swift
[65/136] Compiling SwiftExtras NavigationViewIfNeeded.swift
[66/136] Compiling SwiftExtras NotificationOnboarding.swift
[67/136] Compiling SwiftExtras NotificationView.swift
[68/136] Compiling SwiftExtras Onboarding.swift
[69/136] Compiling SwiftExtras SEAcknowledgementView.swift
[70/136] Compiling SwiftExtras SEChangeLogView.swift
[71/136] Compiling SwiftExtras SESettingsView.swift
[72/136] Compiling SwiftExtras resource_bundle_accessor.swift
[73/136] Compiling SwiftExtras Logger+.swift
[74/136] Compiling SwiftExtras NotificationName+.swift
[75/136] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[76/136] Compiling SwiftExtras PlatformColor+.swift
[77/136] Compiling SwiftExtras PlatformImage+.swift
[78/136] Compiling SwiftExtras ProcessInfo+Utilities.swift
[79/136] Compiling SwiftExtras Sequence+.swift
[80/136] Compiling SwiftExtras String+ANSIColors.swift
[81/136] Compiling SwiftExtras String+Base64.swift
[82/136] Compiling SwiftExtras String+HTML.swift
[83/136] Compiling SwiftExtras String+IdentifiableString.swift
[84/136] Compiling SwiftExtras String+clean.swift
[85/136] Compiling SwiftExtras String+contains.swift
[86/136] Compiling SwiftExtras String+error.swift
[87/136] Compiling SwiftExtras String+hashed.swift
[88/136] Compiling SwiftExtras String+slice.swift
[89/136] Compiling SwiftExtras BackgroundRemover.swift
[90/136] Compiling SwiftExtras SensoryFeedback.swift
[91/136] Compiling SwiftExtras AppInfo.swift
[92/136] Compiling SwiftExtras Device.swift
[93/136] Compiling SwiftExtras Binding+for.swift
[94/136] Compiling SwiftExtras Binding+onChange.swift
[95/136] Compiling SwiftExtras Binding+optional.swift
[96/136] Compiling SwiftExtras CGFloat+.swift
[97/136] Compiling SwiftExtras CGSize+device.swift
[98/136] Compiling SwiftExtras Collection+.swift
[99/136] Compiling SwiftExtras Collection+safeIndex.swift
[100/136] Compiling SwiftExtras Color+Codable.swift
[101/136] Compiling SwiftExtras Color+Identifiable.swift
[102/136] Compiling SwiftExtras Color+colorBlind.swift
[103/136] Compiling SwiftExtras Color+components.swift
[104/136] Compiling SwiftExtras Color+default.swift
[105/136] Compiling SwiftExtras Color+dynamicColor.swift
[106/136] Compiling SwiftExtras Color+init.swift
[107/136] Compiling SwiftExtras Color+random.swift
[108/136] Compiling SwiftExtras Data+Compression.swift
[109/136] Compiling SwiftExtras Date+.swift
[110/136] Compiling SwiftExtras Date+Identifiable.swift
[111/136] Compiling SwiftExtras Date+getFormattedDate.swift
[112/136] Compiling SwiftExtras Double+.swift
[113/136] Compiling SwiftExtras Error+errorCode.swift
[114/136] Compiling SwiftExtras Float.swift
[115/136] Compiling SwiftExtras Image+Platform.swift
[116/136] Compiling SwiftExtras Image+centerCropped.swift
[117/136] Compiling SwiftExtras Int+.swift
[118/136] Compiling SwiftExtras Locale+Utilities.swift
[119/136] Compiling SwiftExtras LocalizedStringKey+.swift
[120/136] Compiling SwiftExtras LocalizedStringKey+Identifiable.swift
[121/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[122/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[123/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[124/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[125/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[126/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[127/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[128/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[129/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[130/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[131/136] 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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[132/136] Compiling SwiftExtras UserDefaults+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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[133/136] Compiling SwiftExtras View+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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[134/136] Compiling SwiftExtras View+Frame.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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[135/136] Compiling SwiftExtras View+Log.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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
[136/136] Compiling SwiftExtras View+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:26:28: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
   |                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 | #if os(Linux)
28 |         // Not available on linux.
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:24:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ///   - completionHandler: The completion handler to call with the disposition and credential.
23 |     public func urlSession(
24 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         didReceive challenge: URLAuthenticationChallenge
26 |     ) 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:25:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     public func urlSession(
24 |         _ session: URLSession,
25 |         didReceive challenge: URLAuthenticationChallenge
   |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |     ) async -> (URLSession.AuthChallengeDisposition, URLCredential?) {
27 | #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:17:49: error: cannot find type 'URLSessionDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                 `- error: cannot find type 'URLSessionDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:17:69: error: cannot find type 'URLSessionTaskDelegate' in scope
15 | #endif
16 |
17 | public class IgnoreSSLErrorsDelegate: NSObject, URLSessionDelegate, URLSessionTaskDelegate {
   |                                                                     `- error: cannot find type 'URLSessionTaskDelegate' in scope
18 |     /// urlSession(_:didReceive:completionHandler:) - Ignore SSL certificate errors
19 |     /// - Parameters:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:43:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
41 | }
42 |
43 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
44 |     /// A URLSession that ignores SSL certificate errors.
45 |     public static let ignoreCertificateErrors: URLSession = {
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:31:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
29 |         return (.performDefaultHandling, nil)
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
   |                          `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:32:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
30 | #else
31 |         switch challenge.protectionSpace.authenticationMethod {
32 |         case NSURLAuthenticationMethodServerTrust:
   |              `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:34: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                  `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
35 |             return (.useCredential, cred)
36 |         default:
/host/spi-builder-workspace/Sources/SwiftExtras/Extensions/URLSession.swift:34:68: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |         case NSURLAuthenticationMethodServerTrust:
33 |             // No trust APIs on Linux
34 |             let cred = challenge.protectionSpace.serverTrust.map { URLCredential(trust: $0) }
   |                                                                    `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |             return (.useCredential, cred)
36 |         default:
BUILD FAILURE 6.1 wasm