The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AstraConnect, reference main (b7b62e), with Swift 6.0 for Linux on 6 Nov 2025 18:48:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BCSuite/AstraConnect.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/BCSuite/AstraConnect
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7b62e4 README.md updation.
Cloned https://github.com/BCSuite/AstraConnect.git
Revision (git rev-parse @):
b7b62e45729936c0dbbb6e64de5d4534d1ce5f97
SUCCESS checkout https://github.com/BCSuite/AstraConnect.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BCSuite/AstraConnect.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/135] 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 |
[4/153] Compiling AstraConnect ACSolanaUniRespResult.swift
[5/153] Compiling AstraConnect ACSolanaGetSignatureStatuses.swift
[6/153] Compiling AstraConnect ACSolanaGetSignaturesForAddress.swift
[7/153] Compiling AstraConnect ACSolanaSignatureInfo.swift
[8/153] Compiling AstraConnect ACSolanaSignatureStatus.swift
[9/153] Compiling AstraConnect ACSolanaGetBlock.swift
[10/153] Compiling AstraConnect ACSolanaGetFirstAvailableBlock.swift
[11/153] Compiling AstraConnect ACSolanaGetHighestSnapshotSlot.swift
[12/153] Compiling AstraConnect ACSolanaGetMaxRetransmitSlot.swift
[13/153] Compiling AstraConnect ACSolanaGetMaxShredInsertSlot.swift
[14/153] Compiling AstraConnect ACSolanaGetMinimumLedgerSlot.swift
[15/153] Compiling AstraConnect ACSolanaGetSlot.swift
[16/153] Compiling AstraConnect ACSolanaGetSlotLeader.swift
[17/153] Compiling AstraConnect ACSolanaGetSlotLeaders.swift
[18/153] Compiling AstraConnect ACSolanaSnapshotSlotInfo.swift
[19/153] Compiling AstraConnect ACSolanaLimitedSlotRange.swift
[20/153] Compiling AstraConnect ACSolanaSlotRange.swift
[21/153] Compiling AstraConnect ACSolanaCoreVersionKind.swift
[22/153] Compiling AstraConnect ACSolanaTokenAccountBalance.swift
[23/153] Compiling AstraConnect ACSolanaTokenBalance.swift
[24/153] Compiling AstraConnect ACSolanaCommitments.swift
[25/153] Compiling AstraConnect ACSolanaGetBlockCommitment.swift
[26/153] Compiling AstraConnect ACSolanaGetGenesisHash.swift
[27/153] Compiling AstraConnect ACSolanaGetLatestBlockInfo.swift
[28/153] Compiling AstraConnect ACSolanaIsBlockhashValid.swift
[29/153] Compiling AstraConnect ACSolanaLatestBlockInfo.swift
[30/153] Compiling AstraConnect ACSolanaGetBlockHeight.swift
[31/153] Compiling AstraConnect ACSolanaGetBlockProduction.swift
[32/153] Compiling AstraConnect ACSolanaProduction.swift
[33/153] Compiling AstraConnect ACSolanaGetBlockTime.swift
[34/153] Compiling AstraConnect ACSolanaGetBlocks.swift
[35/153] Compiling AstraConnect ACSolanaClusterNode.swift
[36/153] Compiling AstraConnect ACSolanaGetClusterNodes.swift
[37/153] Compiling AstraConnect ACSolanaDataFilter.swift
[38/153] Compiling AstraConnect ACSolanaDataSlice.swift
[39/153] Compiling AstraConnect ACSolanaEpochInfo.swift
[40/153] Compiling AstraConnect ACSolanaGetEpochInfo.swift
[41/153] Compiling AstraConnect ACSolanaAccountOptionalParams.swift
[42/153] Compiling AstraConnect ACSolanaGetAccountInfo.swift
[43/153] Compiling AstraConnect ACSolanaGetLargestAccounts.swift
[44/153] Compiling AstraConnect ACSolanaGetMultipleAccounts.swift
[45/153] Compiling AstraConnect ACSolanaGetProgramAccounts.swift
[46/153] Compiling AstraConnect ACSolanaGetTokenAccountsByDelegate.swift
[47/153] Compiling AstraConnect ACSolanaGetTokenAccountsByOwner.swift
[48/153] Compiling AstraConnect ACSolanaGetTokenLargestAccounts.swift
[49/153] Compiling AstraConnect ACSolanaGetTransactionCount.swift
[50/153] Compiling AstraConnect ACSolanaGetVoteAccounts.swift
[51/153] Compiling AstraConnect ACSolanaProgramAccountInfo.swift
[52/153] Compiling AstraConnect ACSolanaTokenAccountInfo.swift
[53/153] Compiling AstraConnect ACSolanaTokenAccountOwnershipParams.swift
[54/153] Compiling AstraConnect ACSolanaVoteAccountInfo.swift
[55/153] Compiling AstraConnect ACSolanaAddressTableLookup.swift
[56/153] Compiling AstraConnect ACSolanaRequestAirdrop.swift
[57/153] Compiling AstraConnect ACSolanaGetBalance.swift
[58/153] Compiling AstraConnect ACSolanaGetMinBalanceForRentExemption.swift
[59/153] Compiling AstraConnect ACSolanaGetTokenAccountBalance.swift
[60/153] Compiling AstraConnect ACSolanaGetStakeMinimumDelegation.swift
[61/153] Compiling AstraConnect ACSolanaGetSupply.swift
[62/153] Compiling AstraConnect ACSolanaGetTokenSupply.swift
[63/153] Compiling AstraConnect ACSolanaSupplyInfo.swift
[64/153] Compiling AstraConnect ACSolanaTokenSupplyInfo.swift
[65/153] Compiling AstraConnect ACSolanaGetTransaction.swift
[66/153] Compiling AstraConnect ACSolanaSendTransaction.swift
[67/153] Compiling AstraConnect ACSolanaSimulateTransaction.swift
[68/153] Compiling AstraConnect ACSolanaTx.swift
[69/153] Compiling AstraConnect ACSolanaTxDetails.swift
[70/153] Compiling AstraConnect ACSolanaTxRequirementHeader.swift
[71/153] Compiling AstraConnect ACSolanaTxReward.swift
[72/153] Compiling AstraConnect ACSolanaTxStatus.swift
[73/153] Compiling AstraConnect ACSolanaTxStatusMetadata.swift
[74/153] Compiling AstraConnect ACSolanasimulationTxInfo.swift
[75/153] Compiling AstraConnect ACSolansTxMessage.swift
[76/153] Compiling AstraConnect ACSolanaUiTokenAmount.swift
[77/153] Compiling AstraConnect ACSolanaLoadedAddresses.swift
[78/153] Compiling AstraConnect ACCoderDefaultFactory.swift
[79/153] Compiling AstraConnect ACDecodable.swift
[80/153] Compiling AstraConnect ACDecoderDefaultFactory.swift
[81/153] Compiling AstraConnect ACDecoderGeneratable.swift
[82/153] Compiling AstraConnect ACDynamicCodation.swift
[83/153] Compiling AstraConnect ACEncodable.swift
[84/153] Compiling AstraConnect ACEncoderGeneratable.swift
[85/153] Compiling AstraConnect ACJSONCoder.swift
[86/153] Compiling AstraConnect ACJSONDecoder.swift
[87/153] Compiling AstraConnect ACError.swift
[88/153] Compiling AstraConnect ACRPCProcessErrorKind.swift
[89/153] Compiling AstraConnect ACChainInteractable.swift
[90/153] Compiling AstraConnect ACConsoleLogger.swift
[91/153] Compiling AstraConnect ACLoggable.swift
[92/153] Compiling AstraConnect ACRPCDataRepresentable.swift
[93/153] Compiling AstraConnect ACRPCJSONData.swift
[94/153] Compiling AstraConnect ACRPCPresentable.swift
[95/153] Compiling AstraConnect ACHTTPContentFormattable.swift
[96/153] Compiling AstraConnect ACHTTPContentFormatterFactory.swift
[97/153] Compiling AstraConnect ACSolanaEpochScheduleInformation.swift
[98/153] Compiling AstraConnect ACSolanaGetEpochSchedule.swift
[99/153] Compiling AstraConnect ACSolanaGetFeeForMessage.swift
[100/153] Compiling AstraConnect ACSolanaGetRecentPrioritizationFees.swift
[101/153] Compiling AstraConnect ACSolanaPrioritizationFeeInfo.swift
[102/153] Compiling AstraConnect ACSolanaGetHealth.swift
[103/153] Compiling AstraConnect ACSolanaGetInflationGovernor.swift
[104/153] Compiling AstraConnect ACSolanaGetInflationRate.swift
[105/153] Compiling AstraConnect ACSolanaGetInflationReward.swift
[106/153] Compiling AstraConnect ACSolanaInflationGovernor.swift
[107/153] Compiling AstraConnect ACSolanaInflationRate.swift
[108/153] Compiling AstraConnect ACSolanaInflationReward.swift
[109/153] Compiling AstraConnect ACSolanaInnerInstructions.swift
[110/153] Compiling AstraConnect ACSolanaInstruction.swift
[111/153] Compiling AstraConnect ACSolanaInstructionReturnData.swift
[112/153] Compiling AstraConnect ACSolanaInteractor.swift
[113/153] Compiling AstraConnect ACSolanaGetLeaderSchedule.swift
[114/153] Compiling AstraConnect ACSolanaGetVersion.swift
[115/153] Compiling AstraConnect ACSolanaNodeVersion.swift
[116/153] Compiling AstraConnect ACSolanaGetIdentity.swift
[117/153] Compiling AstraConnect ACSolanaNodeIdentity.swift
[118/153] Compiling AstraConnect ACSolanaGetRecentPerformanceSamples.swift
[119/153] Compiling AstraConnect ACSolanaPerformanceSample.swift
[120/153] Compiling AstraConnect ACSolanaRPCAPI.swift
[121/153] Compiling AstraConnect ACSolanaRPCContext.swift
[122/153] Compiling AstraConnect ACSolanaRPC.swift
[123/153] Compiling AstraConnect ACSolanaBasicOptionalParams.swift
[124/153] Compiling AstraConnect ACSolanaJSONRPCRequest.swift
[125/153] Compiling AstraConnect ACSolanaJSONRPCRequestPayload.swift
[126/153] Compiling AstraConnect ACSolanaJSONReqBuilder.swift
[127/153] Compiling AstraConnect ACSolanaReqBuilderDefaultFactory.swift
[128/153] Compiling AstraConnect ACSolanaReqDataStreamParams.swift
[129/153] Compiling AstraConnect ACSolanaRequestBuildable.swift
[130/153] Compiling AstraConnect ACSolanaRequestSpace.swift
[131/153] Compiling AstraConnect ACSolanaJSONRPCError.swift
[132/153] Compiling AstraConnect ACSolanaJSONRPCResponse.swift
[133/153] Compiling AstraConnect ACSolanaJSONRPCResponseBuilder.swift
[134/153] Compiling AstraConnect ACSolanaResponsiveDefaultFactory.swift
[135/153] 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.
[136/153] 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.
[137/153] 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.
[138/153] 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.
[139/153] 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.
[140/153] 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.
[141/153] 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.
[142/153] 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.
[143/153] 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.
[144/153] 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.
[145/153] 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.
[146/153] 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.
[147/153] 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.
[148/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.
[149/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.
[150/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.
[151/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.
[152/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.
[153/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.
BUILD FAILURE 6.0 linux