The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AstraConnect, reference 1.0.0 (c4ba76), with Swift 6.1 for Android on 5 Nov 2025 13:30:33 UTC.

Build Command

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

Build Log

1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[36/153] Compiling AstraConnect ACRequestCapability.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[37/153] Compiling AstraConnect URLSessionRequester.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[38/153] Compiling AstraConnect ACRPCResponseBuildable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[39/153] Compiling AstraConnect ACRPCResponsive.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[40/153] Compiling AstraConnect ACRPCResponsiveGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[41/153] Compiling AstraConnect ACSolanaAccountInfo.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[42/153] Compiling AstraConnect ACSolanaGetIdentity.swift
[43/153] Compiling AstraConnect ACSolanaNodeIdentity.swift
[44/153] Compiling AstraConnect ACSolanaGetRecentPerformanceSamples.swift
[45/153] Compiling AstraConnect ACSolanaPerformanceSample.swift
[46/153] Compiling AstraConnect ACSolanaRPCAPI.swift
[47/153] Compiling AstraConnect ACSolanaRPCContext.swift
[48/153] Compiling AstraConnect ACSolanaRPC.swift
[49/153] Compiling AstraConnect ACSolanaBasicOptionalParams.swift
[50/153] Compiling AstraConnect ACSolanaJSONRPCRequest.swift
[51/153] Compiling AstraConnect ACSolanaJSONRPCRequestPayload.swift
[52/153] Compiling AstraConnect ACSolanaJSONReqBuilder.swift
[53/153] Compiling AstraConnect ACSolanaReqBuilderDefaultFactory.swift
[54/153] Compiling AstraConnect ACSolanaReqDataStreamParams.swift
[55/153] Compiling AstraConnect ACSolanaRequestBuildable.swift
[56/153] Compiling AstraConnect ACSolanaRequestSpace.swift
[57/153] Compiling AstraConnect ACSolanaJSONRPCError.swift
[58/153] Compiling AstraConnect ACSolanaJSONRPCResponse.swift
[59/153] Compiling AstraConnect ACSolanaJSONRPCResponseBuilder.swift
[60/153] Compiling AstraConnect ACSolanaResponsiveDefaultFactory.swift
[61/153] Compiling AstraConnect ACSolanaGetStakeMinimumDelegation.swift
[62/153] Compiling AstraConnect ACSolanaGetSupply.swift
[63/153] Compiling AstraConnect ACSolanaGetTokenSupply.swift
[64/153] Compiling AstraConnect ACSolanaSupplyInfo.swift
[65/153] Compiling AstraConnect ACSolanaTokenSupplyInfo.swift
[66/153] Compiling AstraConnect ACSolanaGetTransaction.swift
[67/153] Compiling AstraConnect ACSolanaSendTransaction.swift
[68/153] Compiling AstraConnect ACSolanaSimulateTransaction.swift
[69/153] Compiling AstraConnect ACSolanaTx.swift
[70/153] Compiling AstraConnect ACSolanaTxDetails.swift
[71/153] Compiling AstraConnect ACSolanaTxRequirementHeader.swift
[72/153] Compiling AstraConnect ACSolanaTxReward.swift
[73/153] Compiling AstraConnect ACSolanaTxStatus.swift
[74/153] Compiling AstraConnect ACSolanaTxStatusMetadata.swift
[75/153] Compiling AstraConnect ACSolanasimulationTxInfo.swift
[76/153] Compiling AstraConnect ACSolansTxMessage.swift
[77/153] Compiling AstraConnect ACSolanaUiTokenAmount.swift
[78/153] Compiling AstraConnect ACSolanaLoadedAddresses.swift
[79/153] Compiling AstraConnect ACSolanaAccountOptionalParams.swift
[80/153] Compiling AstraConnect ACSolanaGetAccountInfo.swift
[81/153] Compiling AstraConnect ACSolanaGetLargestAccounts.swift
[82/153] Compiling AstraConnect ACSolanaGetMultipleAccounts.swift
[83/153] Compiling AstraConnect ACSolanaGetProgramAccounts.swift
[84/153] Compiling AstraConnect ACSolanaGetTokenAccountsByDelegate.swift
[85/153] Compiling AstraConnect ACSolanaGetTokenAccountsByOwner.swift
[86/153] Compiling AstraConnect ACSolanaGetTokenLargestAccounts.swift
[87/153] Compiling AstraConnect ACSolanaGetTransactionCount.swift
[88/153] Compiling AstraConnect ACSolanaGetVoteAccounts.swift
[89/153] Compiling AstraConnect ACSolanaProgramAccountInfo.swift
[90/153] Compiling AstraConnect ACSolanaTokenAccountInfo.swift
[91/153] Compiling AstraConnect ACSolanaTokenAccountOwnershipParams.swift
[92/153] Compiling AstraConnect ACSolanaVoteAccountInfo.swift
[93/153] Compiling AstraConnect ACSolanaAddressTableLookup.swift
[94/153] Compiling AstraConnect ACSolanaRequestAirdrop.swift
[95/153] Compiling AstraConnect ACSolanaGetBalance.swift
[96/153] Compiling AstraConnect ACSolanaGetMinBalanceForRentExemption.swift
[97/153] Compiling AstraConnect ACSolanaGetTokenAccountBalance.swift
[98/153] Compiling AstraConnect ACSolanaTokenAccountBalance.swift
[99/153] Compiling AstraConnect ACSolanaTokenBalance.swift
[100/153] Compiling AstraConnect ACSolanaCommitments.swift
[101/153] Compiling AstraConnect ACSolanaGetBlockCommitment.swift
[102/153] Compiling AstraConnect ACSolanaGetGenesisHash.swift
[103/153] Compiling AstraConnect ACSolanaGetLatestBlockInfo.swift
[104/153] Compiling AstraConnect ACSolanaIsBlockhashValid.swift
[105/153] Compiling AstraConnect ACSolanaLatestBlockInfo.swift
[106/153] Compiling AstraConnect ACSolanaGetBlockHeight.swift
[107/153] Compiling AstraConnect ACSolanaGetBlockProduction.swift
[108/153] Compiling AstraConnect ACSolanaProduction.swift
[109/153] Compiling AstraConnect ACSolanaGetBlockTime.swift
[110/153] Compiling AstraConnect ACSolanaGetBlocks.swift
[111/153] Compiling AstraConnect ACSolanaClusterNode.swift
[112/153] Compiling AstraConnect ACSolanaGetClusterNodes.swift
[113/153] Compiling AstraConnect ACSolanaDataFilter.swift
[114/153] Compiling AstraConnect ACSolanaDataSlice.swift
[115/153] Compiling AstraConnect ACSolanaEpochInfo.swift
[116/153] Compiling AstraConnect ACSolanaGetEpochInfo.swift
[117/153] Compiling AstraConnect ACSolanaEpochScheduleInformation.swift
[118/153] Compiling AstraConnect ACSolanaGetEpochSchedule.swift
[119/153] Compiling AstraConnect ACSolanaGetFeeForMessage.swift
[120/153] Compiling AstraConnect ACSolanaGetRecentPrioritizationFees.swift
[121/153] Compiling AstraConnect ACSolanaPrioritizationFeeInfo.swift
[122/153] Compiling AstraConnect ACSolanaGetHealth.swift
[123/153] Compiling AstraConnect ACSolanaGetInflationGovernor.swift
[124/153] Compiling AstraConnect ACSolanaGetInflationRate.swift
[125/153] Compiling AstraConnect ACSolanaGetInflationReward.swift
[126/153] Compiling AstraConnect ACSolanaInflationGovernor.swift
[127/153] Compiling AstraConnect ACSolanaInflationRate.swift
[128/153] Compiling AstraConnect ACSolanaInflationReward.swift
[129/153] Compiling AstraConnect ACSolanaInnerInstructions.swift
[130/153] Compiling AstraConnect ACSolanaInstruction.swift
[131/153] Compiling AstraConnect ACSolanaInstructionReturnData.swift
[132/153] Compiling AstraConnect ACSolanaInteractor.swift
[133/153] Compiling AstraConnect ACSolanaGetLeaderSchedule.swift
[134/153] Compiling AstraConnect ACSolanaGetVersion.swift
[135/153] Compiling AstraConnect ACSolanaNodeVersion.swift
[136/153] Compiling AstraConnect ACSolanaUniRespResult.swift
[137/153] Compiling AstraConnect ACSolanaGetSignatureStatuses.swift
[138/153] Compiling AstraConnect ACSolanaGetSignaturesForAddress.swift
[139/153] Compiling AstraConnect ACSolanaSignatureInfo.swift
[140/153] Compiling AstraConnect ACSolanaSignatureStatus.swift
[141/153] Compiling AstraConnect ACSolanaGetBlock.swift
[142/153] Compiling AstraConnect ACSolanaGetFirstAvailableBlock.swift
[143/153] Compiling AstraConnect ACSolanaGetHighestSnapshotSlot.swift
[144/153] Compiling AstraConnect ACSolanaGetMaxRetransmitSlot.swift
[145/153] Compiling AstraConnect ACSolanaGetMaxShredInsertSlot.swift
[146/153] Compiling AstraConnect ACSolanaGetMinimumLedgerSlot.swift
[147/153] Compiling AstraConnect ACSolanaGetSlot.swift
[148/153] Compiling AstraConnect ACSolanaGetSlotLeader.swift
[149/153] Compiling AstraConnect ACSolanaGetSlotLeaders.swift
[150/153] Compiling AstraConnect ACSolanaSnapshotSlotInfo.swift
[151/153] Compiling AstraConnect ACSolanaLimitedSlotRange.swift
[152/153] Compiling AstraConnect ACSolanaSlotRange.swift
[153/153] Compiling AstraConnect ACSolanaCoreVersionKind.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/134] Emitting module AstraConnect
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
[3/152] Compiling AstraConnect ACSolanaUniRespResult.swift
[4/152] Compiling AstraConnect ACSolanaGetSignatureStatuses.swift
[5/152] Compiling AstraConnect ACSolanaGetSignaturesForAddress.swift
[6/152] Compiling AstraConnect ACSolanaSignatureInfo.swift
[7/152] Compiling AstraConnect ACSolanaSignatureStatus.swift
[8/152] Compiling AstraConnect ACSolanaGetBlock.swift
[9/152] Compiling AstraConnect ACSolanaGetFirstAvailableBlock.swift
[10/152] Compiling AstraConnect ACSolanaGetHighestSnapshotSlot.swift
[11/152] Compiling AstraConnect ACSolanaGetMaxRetransmitSlot.swift
[12/152] Compiling AstraConnect ACSolanaGetMaxShredInsertSlot.swift
[13/152] Compiling AstraConnect ACSolanaGetMinimumLedgerSlot.swift
[14/152] Compiling AstraConnect ACSolanaGetSlot.swift
[15/152] Compiling AstraConnect ACSolanaGetSlotLeader.swift
[16/152] Compiling AstraConnect ACSolanaGetSlotLeaders.swift
[17/152] Compiling AstraConnect ACSolanaSnapshotSlotInfo.swift
[18/152] Compiling AstraConnect ACSolanaLimitedSlotRange.swift
[19/152] Compiling AstraConnect ACSolanaSlotRange.swift
[20/152] Compiling AstraConnect ACSolanaCoreVersionKind.swift
[21/152] Compiling AstraConnect ACSolanaEpochScheduleInformation.swift
[22/152] Compiling AstraConnect ACSolanaGetEpochSchedule.swift
[23/152] Compiling AstraConnect ACSolanaGetFeeForMessage.swift
[24/152] Compiling AstraConnect ACSolanaGetRecentPrioritizationFees.swift
[25/152] Compiling AstraConnect ACSolanaPrioritizationFeeInfo.swift
[26/152] Compiling AstraConnect ACSolanaGetHealth.swift
[27/152] Compiling AstraConnect ACSolanaGetInflationGovernor.swift
[28/152] Compiling AstraConnect ACSolanaGetInflationRate.swift
[29/152] Compiling AstraConnect ACSolanaGetInflationReward.swift
[30/152] Compiling AstraConnect ACSolanaInflationGovernor.swift
[31/152] Compiling AstraConnect ACSolanaInflationRate.swift
[32/152] Compiling AstraConnect ACSolanaInflationReward.swift
[33/152] Compiling AstraConnect ACSolanaInnerInstructions.swift
[34/152] Compiling AstraConnect ACSolanaInstruction.swift
[35/152] Compiling AstraConnect ACSolanaInstructionReturnData.swift
[36/152] Compiling AstraConnect ACSolanaInteractor.swift
[37/152] Compiling AstraConnect ACSolanaGetLeaderSchedule.swift
[38/152] Compiling AstraConnect ACSolanaGetVersion.swift
[39/152] Compiling AstraConnect ACSolanaNodeVersion.swift
[40/152] Compiling AstraConnect ACHTTPContentFormatterGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[41/152] Compiling AstraConnect ACJSONFormatter.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[42/152] Compiling AstraConnect ACPOSTRequestWay.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[43/152] Compiling AstraConnect ACPOSTURLRequestBuilder.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[44/152] Compiling AstraConnect ACRPCReqBuilderGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[45/152] Compiling AstraConnect ACRPCRequestBuildable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[46/152] Compiling AstraConnect ACRequestDataStreamAssociation.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[47/152] Compiling AstraConnect ACRequestSpace.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[48/152] Compiling AstraConnect ACRequestWay.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[49/152] Compiling AstraConnect ACRequestable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[50/152] Compiling AstraConnect ACURLRequestBuildable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[51/152] Compiling AstraConnect ACURLRequestBuilderFactory.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[52/152] Compiling AstraConnect ACURLRequestBuilderGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[53/152] Compiling AstraConnect ACRequestCapability.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[54/152] Compiling AstraConnect URLSessionRequester.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[55/152] Compiling AstraConnect ACRPCResponseBuildable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[56/152] Compiling AstraConnect ACRPCResponsive.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[57/152] Compiling AstraConnect ACRPCResponsiveGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[58/152] Compiling AstraConnect ACSolanaAccountInfo.swift
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:34:63: error: cannot find type 'URLRequest' in scope
32 |     ///   - info: Information described by a Requestable.
33 |     /// - Returns: A URLRequest instance.
34 |     public func build(from info: any ACRequestable) throws -> URLRequest {
   |                                                               `- error: cannot find type 'URLRequest' in scope
35 |         let address = info.rpcInfo.address
36 |         //1.Generate related URL.
/host/spi-builder-workspace/AstraConnect/Request/ACURLRequestBuildable.swift:17:56: error: cannot find type 'URLRequest' in scope
15 |     ///   - info: Information described by a Requestable.
16 |     /// - Returns: A URLRequest instance.
17 |     func build(from info: any ACRequestable) throws -> URLRequest
   |                                                        `- error: cannot find type 'URLRequest' in scope
18 | }
19 |
/host/spi-builder-workspace/AstraConnect/Request/ACPOSTURLRequestBuilder.swift:42:21: error: cannot find 'URLRequest' in scope
40 |         }
41 |         //2.Generate the URLRequest instance.
42 |         var urlRq = URLRequest(url: url)
   |                     `- error: cannot find 'URLRequest' in scope
43 |         //3.Set the way of sending a request.
44 |         urlRq.httpMethod = ACPOSTRequestWay.POSTMethodDesc
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:44:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         let urlRequest = try urlRequestBuilder.build(from: request)
43 |         // 2.Send a request
44 |         let (respData, response): (Data, URLResponse)
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:46:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |         let (respData, response): (Data, URLResponse)
45 |         do {
46 |             (respData, response) = try await URLSession.shared.data(for: urlRequest)
   |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |         } catch {
48 |             throw ACRPCProcessErrorKind.urlSessionTaskException.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:52:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |         }
51 |         // 3.Check the status code.
52 |         guard let httpResponse = response as? HTTPURLResponse else {
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:55:82: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
53 |             // Non-HTTP Response
54 |             throw ACRPCProcessErrorKind.nonHTTPResponse.buildError(entity: String(describing: Self.self),
55 |                                                                    msg: response.description)
   |                                                                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
56 |         }
57 |         let statusCode = httpResponse.statusCode
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:57:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
55 |                                                                    msg: response.description)
56 |         }
57 |         let statusCode = httpResponse.statusCode
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
58 |         guard statusCode == ACRequestSpace.ACHTTPReuqestSuccessCode else {
59 |             // Request failure.
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:61:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
59 |             // Request failure.
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
   |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
63 |         }
/host/spi-builder-workspace/AstraConnect/Requester/URLSessionRequester.swift:62:48: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
60 |             throw ACError(module: String(describing: self),
61 |                           code: httpResponse.statusCode,
62 |                           msg: HTTPURLResponse.localizedString(forStatusCode: statusCode))
   |                                                `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
63 |         }
64 |         //4.Decode the response data.
[59/152] Compiling AstraConnect ACSolanaGetIdentity.swift
[60/152] Compiling AstraConnect ACSolanaNodeIdentity.swift
[61/152] Compiling AstraConnect ACSolanaGetRecentPerformanceSamples.swift
[62/152] Compiling AstraConnect ACSolanaPerformanceSample.swift
[63/152] Compiling AstraConnect ACSolanaRPCAPI.swift
[64/152] Compiling AstraConnect ACSolanaRPCContext.swift
[65/152] Compiling AstraConnect ACSolanaRPC.swift
[66/152] Compiling AstraConnect ACSolanaBasicOptionalParams.swift
[67/152] Compiling AstraConnect ACSolanaJSONRPCRequest.swift
[68/152] Compiling AstraConnect ACSolanaJSONRPCRequestPayload.swift
[69/152] Compiling AstraConnect ACSolanaJSONReqBuilder.swift
[70/152] Compiling AstraConnect ACSolanaReqBuilderDefaultFactory.swift
[71/152] Compiling AstraConnect ACSolanaReqDataStreamParams.swift
[72/152] Compiling AstraConnect ACSolanaRequestBuildable.swift
[73/152] Compiling AstraConnect ACSolanaRequestSpace.swift
[74/152] Compiling AstraConnect ACSolanaJSONRPCError.swift
[75/152] Compiling AstraConnect ACSolanaJSONRPCResponse.swift
[76/152] Compiling AstraConnect ACSolanaJSONRPCResponseBuilder.swift
[77/152] Compiling AstraConnect ACSolanaResponsiveDefaultFactory.swift
[78/152] Compiling AstraConnect ACCoderDefaultFactory.swift
[79/152] Compiling AstraConnect ACDecodable.swift
[80/152] Compiling AstraConnect ACDecoderDefaultFactory.swift
[81/152] Compiling AstraConnect ACDecoderGeneratable.swift
[82/152] Compiling AstraConnect ACDynamicCodation.swift
[83/152] Compiling AstraConnect ACEncodable.swift
[84/152] Compiling AstraConnect ACEncoderGeneratable.swift
[85/152] Compiling AstraConnect ACJSONCoder.swift
[86/152] Compiling AstraConnect ACJSONDecoder.swift
[87/152] Compiling AstraConnect ACError.swift
[88/152] Compiling AstraConnect ACRPCProcessErrorKind.swift
[89/152] Compiling AstraConnect ACChainInteractable.swift
[90/152] Compiling AstraConnect ACConsoleLogger.swift
[91/152] Compiling AstraConnect ACLoggable.swift
[92/152] Compiling AstraConnect ACRPCDataRepresentable.swift
[93/152] Compiling AstraConnect ACRPCJSONData.swift
[94/152] Compiling AstraConnect ACRPCPresentable.swift
[95/152] Compiling AstraConnect ACHTTPContentFormattable.swift
[96/152] Compiling AstraConnect ACHTTPContentFormatterFactory.swift
[97/152] Compiling AstraConnect ACSolanaTokenAccountBalance.swift
[98/152] Compiling AstraConnect ACSolanaTokenBalance.swift
[99/152] Compiling AstraConnect ACSolanaCommitments.swift
[100/152] Compiling AstraConnect ACSolanaGetBlockCommitment.swift
[101/152] Compiling AstraConnect ACSolanaGetGenesisHash.swift
[102/152] Compiling AstraConnect ACSolanaGetLatestBlockInfo.swift
[103/152] Compiling AstraConnect ACSolanaIsBlockhashValid.swift
[104/152] Compiling AstraConnect ACSolanaLatestBlockInfo.swift
[105/152] Compiling AstraConnect ACSolanaGetBlockHeight.swift
[106/152] Compiling AstraConnect ACSolanaGetBlockProduction.swift
[107/152] Compiling AstraConnect ACSolanaProduction.swift
[108/152] Compiling AstraConnect ACSolanaGetBlockTime.swift
[109/152] Compiling AstraConnect ACSolanaGetBlocks.swift
[110/152] Compiling AstraConnect ACSolanaClusterNode.swift
[111/152] Compiling AstraConnect ACSolanaGetClusterNodes.swift
[112/152] Compiling AstraConnect ACSolanaDataFilter.swift
[113/152] Compiling AstraConnect ACSolanaDataSlice.swift
[114/152] Compiling AstraConnect ACSolanaEpochInfo.swift
[115/152] Compiling AstraConnect ACSolanaGetEpochInfo.swift
[116/152] Compiling AstraConnect ACSolanaAccountOptionalParams.swift
[117/152] Compiling AstraConnect ACSolanaGetAccountInfo.swift
[118/152] Compiling AstraConnect ACSolanaGetLargestAccounts.swift
[119/152] Compiling AstraConnect ACSolanaGetMultipleAccounts.swift
[120/152] Compiling AstraConnect ACSolanaGetProgramAccounts.swift
[121/152] Compiling AstraConnect ACSolanaGetTokenAccountsByDelegate.swift
[122/152] Compiling AstraConnect ACSolanaGetTokenAccountsByOwner.swift
[123/152] Compiling AstraConnect ACSolanaGetTokenLargestAccounts.swift
[124/152] Compiling AstraConnect ACSolanaGetTransactionCount.swift
[125/152] Compiling AstraConnect ACSolanaGetVoteAccounts.swift
[126/152] Compiling AstraConnect ACSolanaProgramAccountInfo.swift
[127/152] Compiling AstraConnect ACSolanaTokenAccountInfo.swift
[128/152] Compiling AstraConnect ACSolanaTokenAccountOwnershipParams.swift
[129/152] Compiling AstraConnect ACSolanaVoteAccountInfo.swift
[130/152] Compiling AstraConnect ACSolanaAddressTableLookup.swift
[131/152] Compiling AstraConnect ACSolanaRequestAirdrop.swift
[132/152] Compiling AstraConnect ACSolanaGetBalance.swift
[133/152] Compiling AstraConnect ACSolanaGetMinBalanceForRentExemption.swift
[134/152] Compiling AstraConnect ACSolanaGetTokenAccountBalance.swift
[135/152] Compiling AstraConnect ACSolanaGetStakeMinimumDelegation.swift
[136/152] Compiling AstraConnect ACSolanaGetSupply.swift
[137/152] Compiling AstraConnect ACSolanaGetTokenSupply.swift
[138/152] Compiling AstraConnect ACSolanaSupplyInfo.swift
[139/152] Compiling AstraConnect ACSolanaTokenSupplyInfo.swift
[140/152] Compiling AstraConnect ACSolanaGetTransaction.swift
[141/152] Compiling AstraConnect ACSolanaSendTransaction.swift
[142/152] Compiling AstraConnect ACSolanaSimulateTransaction.swift
[143/152] Compiling AstraConnect ACSolanaTx.swift
[144/152] Compiling AstraConnect ACSolanaTxDetails.swift
[145/152] Compiling AstraConnect ACSolanaTxRequirementHeader.swift
[146/152] Compiling AstraConnect ACSolanaTxReward.swift
[147/152] Compiling AstraConnect ACSolanaTxStatus.swift
[148/152] Compiling AstraConnect ACSolanaTxStatusMetadata.swift
[149/152] Compiling AstraConnect ACSolanasimulationTxInfo.swift
[150/152] Compiling AstraConnect ACSolansTxMessage.swift
[151/152] Compiling AstraConnect ACSolanaUiTokenAmount.swift
[152/152] Compiling AstraConnect ACSolanaLoadedAddresses.swift
BUILD FAILURE 6.1 android