The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-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.2
Building package at path:  $PWD
https://github.com/BCSuite/AstraConnect.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/135] Compiling AstraConnect ACSolanaTokenAccountBalance.swift
[4/135] Compiling AstraConnect ACSolanaTokenBalance.swift
[5/135] Compiling AstraConnect ACSolanaCommitments.swift
[6/135] Compiling AstraConnect ACSolanaGetBlockCommitment.swift
[7/135] Compiling AstraConnect ACSolanaGetGenesisHash.swift
[8/135] Compiling AstraConnect ACSolanaGetLatestBlockInfo.swift
[9/135] Compiling AstraConnect ACSolanaIsBlockhashValid.swift
[10/135] Compiling AstraConnect ACSolanaLatestBlockInfo.swift
[11/135] Compiling AstraConnect ACSolanaGetBlockHeight.swift
[12/135] Compiling AstraConnect ACSolanaGetBlockProduction.swift
[13/135] Compiling AstraConnect ACSolanaProduction.swift
[14/135] Compiling AstraConnect ACSolanaGetBlockTime.swift
[15/135] Compiling AstraConnect ACSolanaGetBlocks.swift
[16/135] Compiling AstraConnect ACSolanaClusterNode.swift
[17/135] Compiling AstraConnect ACSolanaGetClusterNodes.swift
[18/135] Compiling AstraConnect ACSolanaDataFilter.swift
[19/135] Compiling AstraConnect ACSolanaDataSlice.swift
[20/135] Compiling AstraConnect ACSolanaEpochInfo.swift
[21/135] Compiling AstraConnect ACSolanaGetEpochInfo.swift
[22/153] Compiling AstraConnect ACSolanaGetIdentity.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[23/153] Compiling AstraConnect ACSolanaNodeIdentity.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[24/153] Compiling AstraConnect ACSolanaGetRecentPerformanceSamples.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[25/153] Compiling AstraConnect ACSolanaPerformanceSample.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[26/153] Compiling AstraConnect ACSolanaRPCAPI.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[27/153] Compiling AstraConnect ACSolanaRPCContext.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[28/153] Compiling AstraConnect ACSolanaRPC.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[29/153] Compiling AstraConnect ACSolanaBasicOptionalParams.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[30/153] Compiling AstraConnect ACSolanaJSONRPCRequest.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[31/153] Compiling AstraConnect ACSolanaJSONRPCRequestPayload.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[32/153] Compiling AstraConnect ACSolanaJSONReqBuilder.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[33/153] Compiling AstraConnect ACSolanaReqBuilderDefaultFactory.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[34/153] Compiling AstraConnect ACSolanaReqDataStreamParams.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[35/153] Compiling AstraConnect ACSolanaRequestBuildable.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[36/153] Compiling AstraConnect ACSolanaRequestSpace.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[37/153] Compiling AstraConnect ACSolanaJSONRPCError.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[38/153] Compiling AstraConnect ACSolanaJSONRPCResponse.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[39/153] Compiling AstraConnect ACSolanaJSONRPCResponseBuilder.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[40/153] Compiling AstraConnect ACSolanaResponsiveDefaultFactory.swift
/host/spi-builder-workspace/AstraConnect/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/153] Emitting module AstraConnect
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
/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/Solana/Request/ACSolanaReqBuilderDefaultFactory.swift:15:16: warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
13 |
14 |     /// Builder map store relationships betweeen  data type and  ACRPCRequestBuildable type.
15 |     static let buildersMap: [String: any ACRPCRequestBuildable.Type] = [ACRPCJSONData.typeName: ACSolanaJSONReqBuilder.self]
   |                |- warning: static property 'buildersMap' is not concurrency-safe because non-'Sendable' type '[String : any ACRPCRequestBuildable.Type]' may have shared mutable state [#MutableGlobalVariable]
   |                |- note: add '@MainActor' to make static property 'buildersMap' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     /// Generate any ACRPCRequestBuildable according to data type
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[61/153] Compiling AstraConnect ACSolanaEpochScheduleInformation.swift
[62/153] Compiling AstraConnect ACSolanaGetEpochSchedule.swift
[63/153] Compiling AstraConnect ACSolanaGetFeeForMessage.swift
[64/153] Compiling AstraConnect ACSolanaGetRecentPrioritizationFees.swift
[65/153] Compiling AstraConnect ACSolanaPrioritizationFeeInfo.swift
[66/153] Compiling AstraConnect ACSolanaGetHealth.swift
[67/153] Compiling AstraConnect ACSolanaGetInflationGovernor.swift
[68/153] Compiling AstraConnect ACSolanaGetInflationRate.swift
[69/153] Compiling AstraConnect ACSolanaGetInflationReward.swift
[70/153] Compiling AstraConnect ACSolanaInflationGovernor.swift
[71/153] Compiling AstraConnect ACSolanaInflationRate.swift
[72/153] Compiling AstraConnect ACSolanaInflationReward.swift
[73/153] Compiling AstraConnect ACSolanaInnerInstructions.swift
[74/153] Compiling AstraConnect ACSolanaInstruction.swift
[75/153] Compiling AstraConnect ACSolanaInstructionReturnData.swift
[76/153] Compiling AstraConnect ACSolanaInteractor.swift
[77/153] Compiling AstraConnect ACSolanaGetLeaderSchedule.swift
[78/153] Compiling AstraConnect ACSolanaGetVersion.swift
[79/153] Compiling AstraConnect ACSolanaNodeVersion.swift
[80/153] Compiling AstraConnect ACCoderDefaultFactory.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[81/153] Compiling AstraConnect ACDecodable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[82/153] Compiling AstraConnect ACDecoderDefaultFactory.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[83/153] Compiling AstraConnect ACDecoderGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[84/153] Compiling AstraConnect ACDynamicCodation.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[85/153] Compiling AstraConnect ACEncodable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[86/153] Compiling AstraConnect ACEncoderGeneratable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[87/153] Compiling AstraConnect ACJSONCoder.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[88/153] Compiling AstraConnect ACJSONDecoder.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[89/153] Compiling AstraConnect ACError.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[90/153] Compiling AstraConnect ACRPCProcessErrorKind.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[91/153] Compiling AstraConnect ACChainInteractable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[92/153] Compiling AstraConnect ACConsoleLogger.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[93/153] Compiling AstraConnect ACLoggable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[94/153] Compiling AstraConnect ACRPCDataRepresentable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[95/153] Compiling AstraConnect ACRPCJSONData.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[96/153] Compiling AstraConnect ACRPCPresentable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[97/153] Compiling AstraConnect ACHTTPContentFormattable.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[98/153] Compiling AstraConnect ACHTTPContentFormatterFactory.swift
/host/spi-builder-workspace/AstraConnect/Codable/ACDynamicCodation.swift:35:16: warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
 33 | // MARK: - Decodable
 34 | extension ACDynamicCodation  {
 35 |     static let basicDecodableTypes: [Decodable.Type] = [String.self,
    |                |- warning: static property 'basicDecodableTypes' is not concurrency-safe because non-'Sendable' type '[any Decodable.Type]' may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'basicDecodableTypes' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |                                                         Int.self,
 37 |                                                         Int8.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[99/153] Compiling AstraConnect ACSolanaUniRespResult.swift
[100/153] Compiling AstraConnect ACSolanaGetSignatureStatuses.swift
[101/153] Compiling AstraConnect ACSolanaGetSignaturesForAddress.swift
[102/153] Compiling AstraConnect ACSolanaSignatureInfo.swift
[103/153] Compiling AstraConnect ACSolanaSignatureStatus.swift
[104/153] Compiling AstraConnect ACSolanaGetBlock.swift
[105/153] Compiling AstraConnect ACSolanaGetFirstAvailableBlock.swift
[106/153] Compiling AstraConnect ACSolanaGetHighestSnapshotSlot.swift
[107/153] Compiling AstraConnect ACSolanaGetMaxRetransmitSlot.swift
[108/153] Compiling AstraConnect ACSolanaGetMaxShredInsertSlot.swift
[109/153] Compiling AstraConnect ACSolanaGetMinimumLedgerSlot.swift
[110/153] Compiling AstraConnect ACSolanaGetSlot.swift
[111/153] Compiling AstraConnect ACSolanaGetSlotLeader.swift
[112/153] Compiling AstraConnect ACSolanaGetSlotLeaders.swift
[113/153] Compiling AstraConnect ACSolanaSnapshotSlotInfo.swift
[114/153] Compiling AstraConnect ACSolanaLimitedSlotRange.swift
[115/153] Compiling AstraConnect ACSolanaSlotRange.swift
[116/153] Compiling AstraConnect ACSolanaCoreVersionKind.swift
[117/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.
[118/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.
[119/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.
[120/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.
[121/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.
[122/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.
[123/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.
[124/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.
[125/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.
[126/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.
[127/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.
[128/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.
[129/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.
[130/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.
[131/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.
[132/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.
[133/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.
[134/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.
[135/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.
[136/153] Compiling AstraConnect ACSolanaGetStakeMinimumDelegation.swift
[137/153] Compiling AstraConnect ACSolanaGetSupply.swift
[138/153] Compiling AstraConnect ACSolanaGetTokenSupply.swift
[139/153] Compiling AstraConnect ACSolanaSupplyInfo.swift
[140/153] Compiling AstraConnect ACSolanaTokenSupplyInfo.swift
[141/153] Compiling AstraConnect ACSolanaGetTransaction.swift
[142/153] Compiling AstraConnect ACSolanaSendTransaction.swift
[143/153] Compiling AstraConnect ACSolanaSimulateTransaction.swift
[144/153] Compiling AstraConnect ACSolanaTx.swift
[145/153] Compiling AstraConnect ACSolanaTxDetails.swift
[146/153] Compiling AstraConnect ACSolanaTxRequirementHeader.swift
[147/153] Compiling AstraConnect ACSolanaTxReward.swift
[148/153] Compiling AstraConnect ACSolanaTxStatus.swift
[149/153] Compiling AstraConnect ACSolanaTxStatusMetadata.swift
[150/153] Compiling AstraConnect ACSolanasimulationTxInfo.swift
[151/153] Compiling AstraConnect ACSolansTxMessage.swift
[152/153] Compiling AstraConnect ACSolanaUiTokenAmount.swift
[153/153] Compiling AstraConnect ACSolanaLoadedAddresses.swift
BUILD FAILURE 6.2 linux