The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build CryptoScraper, reference v0.3.0 (7be2a9), with Swift 6.1 for Wasm on 28 May 2025 13:18:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[91/128] Compiling CryptoScraper FTMScan.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/Etherscan/Etherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "Etherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FTMScan/FTMScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "FTMScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FantomChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class FantomChain: CryptoChain {
   |                    `- note: class 'FantomChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[92/128] Compiling CryptoScraper FantomChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/Etherscan/Etherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "Etherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FTMScan/FTMScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "FTMScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FantomChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class FantomChain: CryptoChain {
   |                    `- note: class 'FantomChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[93/128] Compiling CryptoScraper FantomContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/Etherscan/Etherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "Etherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FTMScan/FTMScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "FTMScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FantomChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class FantomChain: CryptoChain {
   |                    `- note: class 'FantomChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[94/128] Compiling CryptoScraper OptimismChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/Etherscan/Etherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "Etherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FTMScan/FTMScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "FTMScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FantomChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class FantomChain: CryptoChain {
   |                    `- note: class 'FantomChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[95/128] Compiling CryptoScraper OptimismContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/Etherscan/Etherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "Etherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FTMScan/FTMScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "FTMScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Fantom/FantomChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class FantomChain: CryptoChain {
   |                    `- note: class 'FantomChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ftmContractAddress = "FTM"
27 |
28 |     public static let `default`: FantomChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'FantomChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimismChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class OptimismChain: CryptoChain {
   |                    `- note: class 'OptimismChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let opContractAddress = "OP"
27 |
28 |     public static let `default`: OptimismChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OptimismChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[96/128] Compiling CryptoScraper Decodable.swift
[97/128] Compiling CryptoScraper DecodingError.swift
[98/128] Compiling CryptoScraper URL.swift
[99/128] Compiling CryptoScraper CryptoAmount.swift
[100/128] Compiling CryptoScraper CryptoChain.swift
[101/128] Compiling CryptoScraper CryptoContract.swift
[102/128] Compiling CryptoScraper TronScan+Transactions.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[103/128] Compiling CryptoScraper TronScan.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[104/128] Compiling CryptoScraper CryptoScraper.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[105/128] Compiling CryptoScraper CoinGeckoAggregator+Availability.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[106/128] Compiling CryptoScraper CoinGeckoAggregator+Coins.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[107/128] Compiling CryptoScraper CoinGeckoAggregator.swift
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator+Coins.swift:76:13: warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 | }
 75 |
 76 | private var unknownChain = Set<String>()
    |             |- warning: var 'unknownChain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'unknownChain' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'unknownChain' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 | private extension String {
/host/spi-builder-workspace/Sources/CryptoScraper/DataAggregators/CoinGecko/CoinGeckoAggregator.swift:29:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |     }()
28 |
29 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static var apiKey: String? {
31 |         get { _apiKey ?? ProcessInfo.processInfo.environment["COIN_GECKO_KEY"] }
[108/128] Compiling CryptoScraper BNBContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[109/128] Compiling CryptoScraper BinanceSmartChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[110/128] Compiling CryptoScraper BscScan.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[111/128] Compiling CryptoScraper BitcoinChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[112/128] Compiling CryptoScraper BitcoinContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[113/128] Compiling CryptoScraper BlockChainInfo+Accounts.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[114/128] Compiling CryptoScraper BlockChainInfo+Transactions.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BinanceSmartChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BinanceSmartChain: CryptoChain {
   |                    `- note: class 'BinanceSmartChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let bnbContractAddress = "BNB"
27 |
28 |     public static let `default`: BinanceSmartChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BinanceSmartChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BinanceSmartChain/BscScan/BscScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "BscScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Bitcoin/BitcoinChain.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class BitcoinChain: CryptoChain {
   |                    `- note: class 'BitcoinChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
24 |     static let btcContractAddress = "BTC"
25 |
26 |     public static let `default`: BitcoinChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BitcoinChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     private init() {
[115/128] Compiling CryptoScraper BlockChainInfo.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[116/128] Compiling CryptoScraper BlockChains.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[117/128] Compiling CryptoScraper EthereumChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[118/128] Compiling CryptoScraper EthereumContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[119/128] Compiling CryptoScraper EthereumScanner+Accounts.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[120/128] Compiling CryptoScraper EthereumScanner+Tokens.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[121/128] Compiling CryptoScraper EthereumScanner+Transactions.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/BlockChains.swift:9:24: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum BlockChains {
 9 |     private static var initialized: Bool = false
   |                        |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     /// Initializes all of the supported block chains
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Ethereum/EthereumChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class EthereumChain: CryptoChain {
   |                    `- note: class 'EthereumChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let ethContractAddress = "ETH"
27 |
28 |     public static let `default`: EthereumChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EthereumChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[122/128] Compiling CryptoScraper OptimisticEtherscan.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[123/128] Compiling CryptoScraper MaticContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[124/128] Compiling CryptoScraper PolygonChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[125/128] Compiling CryptoScraper PolygonScan.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[126/128] Compiling CryptoScraper TronChain.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[127/128] Compiling CryptoScraper TronContract.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
[128/128] Compiling CryptoScraper TronScan+Accounts.swift
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Optimism/OptimisticEtherscan/OptimisticEtherscan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "OptimisticEtherscan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class PolygonChain: CryptoChain {
   |                    `- note: class 'PolygonChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let maticContractAddress = "Matic"
27 |
28 |     public static let `default`: PolygonChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PolygonChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Polygon/PolygonScan/PolygonScan.swift:16:24: warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public let userReadableName: String = "PolygonScan"
15 |
16 |     private static var _apiKey: String?
   |                        |- warning: static property '_apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_apiKey' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_apiKey' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var apiKey: String? {
18 |         get { _apiKey ?? ProcessInfo.processInfo.environment[apiKeyName] }
/host/spi-builder-workspace/Sources/CryptoScraper/BlockChains/Tron/TronChain.swift:28:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public final class TronChain: CryptoChain {
   |                    `- note: class 'TronChain' does not conform to the 'Sendable' protocol
 9 |     // MARK: CryptoChain
10 |
   :
26 |     static let trxContractAddress = "TRX"
27 |
28 |     public static let `default`: TronChain = .init()
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TronChain' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     private init() {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling ANKFoundation Aliases.swift
[3/15] Compiling ANKFoundation ANKSign.swift
[4/16] Compiling ANKFoundation ANKBigEndianTextCodable.swift
[5/16] Compiling ANKFoundation ANKBinaryInteger.swift
[6/16] Compiling ANKFoundation Text.swift
[7/16] Compiling ANKFoundation ANKLargeFixedWidthInteger.swift
[8/16] Compiling ANKFoundation ANKWords.swift
[9/16] Compiling ANKFoundation ANKBitPatternConvertible.swift
[10/16] Compiling ANKFoundation ANKContiguousBytes.swift
[11/16] Compiling ANKFoundation ANKIntOrUInt.swift
[12/16] Compiling ANKFoundation ANKLargeBinaryInteger.swift
[13/16] Compiling ANKFoundation ANKSigned.swift
[14/16] Compiling ANKFoundation ANKCoreInteger.swift
[15/16] Compiling ANKFoundation ANKFixedWidthInteger.swift
[16/16] Emitting module ANKFoundation
[18/60] Compiling ANKFullWidthKit ANKFullWidth+0064.swift
[19/60] Compiling ANKFullWidthKit ANKFullWidth+0128.swift
[20/61] Compiling ANKSignedKit Exports.swift
[21/61] Compiling ANKSignedKit ANKSigned+Text.swift
[22/61] Compiling ANKFullWidthKit ANKFullWidth+0192.swift
[23/61] Compiling ANKFullWidthKit ANKFullWidth+0256.swift
[24/61] Compiling ANKFullWidthKit ANKFullWidth+0384.swift
[25/61] Compiling ANKFullWidthKit ANKFullWidth+0512.swift
[26/61] Compiling ANKSignedKit ANKSigned.swift
[27/61] Compiling ANKFullWidthKit ANKFullWidth+1024.swift
[28/61] Compiling ANKFullWidthKit ANKFullWidth+2048.swift
[29/61] Compiling ANKFullWidthKit ANKFullWidth+4096.swift
[30/61] Compiling ANKFullWidthKit ANKFullWidth+Bitwise.swift
[31/61] Emitting module ANKSignedKit
[43/66] Compiling ANKFullWidthKit ANKFullWidth+Comparisons.swift
[44/66] Compiling ANKFullWidthKit ANKFullWidth+Complements.swift
[45/66] Compiling ANKFullWidthKit ANKFullWidth+Division+Digit.swift
[46/66] Compiling ANKFullWidthKit ANKFullWidth+Negation.swift
[47/66] Compiling ANKFullWidthKit ANKFullWidth+Numbers.swift
[48/66] Compiling ANKFullWidthKit ANKFullWidth+Shifts.swift
[49/66] Compiling ANKFullWidthKit ANKFullWidth+Subtraction+Digit.swift
[50/66] Compiling ANKFullWidthKit ANKFullWidth+Subtraction.swift
[51/66] Compiling ANKFullWidthKit ANKFullWidth+Text.swift
[52/66] Compiling ANKFullWidthKit ANKFullWidth+Words+Pointers.swift
[53/66] Compiling ANKFullWidthKit ANKFullWidth+Words.swift
[54/66] Compiling ANKFullWidthKit ANKFullWidth+Addition+Digit.swift
[55/66] Compiling ANKFullWidthKit ANKFullWidth+Addition.swift
[56/66] Compiling ANKFullWidthKit ANKFullWidth+Arithmetic.swift
[57/66] Compiling ANKFullWidthKit ANKFullWidth+Bits.swift
[58/66] Compiling ANKFullWidthKit ANKFullWidth+Division.swift
[59/66] Compiling ANKFullWidthKit ANKFullWidth+Endianness.swift
[60/66] Compiling ANKFullWidthKit ANKFullWidth+Multiplication+Digit.swift
[61/66] Compiling ANKFullWidthKit ANKFullWidth+Multiplication.swift
[62/66] Compiling ANKFullWidthKit ANKFullWidth.swift
[63/66] Compiling ANKFullWidthKit Aliases.swift
[64/66] Compiling ANKFullWidthKit Arithmetic.swift
[65/66] Compiling ANKFullWidthKit Text.swift
[66/66] Emitting module ANKFullWidthKit
[68/69] Compiling AwesomeNumbersKit Exports.swift
[69/69] Emitting module AwesomeNumbersKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/117] Emitting module CryptoScraper
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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
[72/123] Compiling CryptoScraper CryptoDataAggregator.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[73/123] Compiling CryptoScraper CryptoInfo.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[74/123] Compiling CryptoScraper CryptoScanner.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[75/123] Compiling CryptoScraper CryptoTransaction.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[76/123] Compiling CryptoScraper FoundationDataFetch.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[77/123] Compiling CryptoScraper JSONDecoder.swift
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:26:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |
 25 | final class FoundationDataFetch {
 26 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     static let `default`: FoundationDataFetch = .init(urlSession: FoundationDataFetch.UrlSession())
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:155:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |     // MARK: Initialization Methods
154 |
155 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |         self.urlSession = urlSession
157 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:159:60: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     }
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
    |                                                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let sessionConfig = URLSessionConfiguration.default
161 |         sessionConfig.allowsCellularAccess = true
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:169:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
    |                                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let httpResponse: HTTPURLResponse
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:198:88: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     }
197 |
198 |     private static func checkResponse(response: URLResponse?, error: Swift.Error?) -> (HTTPURLResponse?, DataFetchError?) {
    |                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |         if let error {
200 |             return (nil, .message(error.localizedDescription))
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:70:26: error: cannot find 'URLRequest' in scope
 68 |         }
 69 |
 70 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 71 |         urlRequest.httpMethod = "Get"
 72 |         urlRequest.setValue("application/json;charset=utf-8", forHTTPHeaderField: "Accept")
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:84:18: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 82 |         return try await withCheckedThrowingContinuation { continuation in
 83 |             urlSession
 84 |                 .dataTask(with: urlRequest) { data, _, e in
    |                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 85 |                     var result: ResultValue?
 86 |                     var error: Error?
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:129:26: error: cannot find 'URLRequest' in scope
127 |         }
128 |
129 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
130 |         urlRequest.httpMethod = httpMethod
131 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:142:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
140 |
141 |         urlSession
142 |             .dataTask(with: urlRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
143 |                 Self.completionHandler(
144 |                     responseData: data,
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:160:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |
159 |     static func UrlSession(forUserToken: String? = nil) -> URLSession {
160 |         let sessionConfig = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |         sessionConfig.allowsCellularAccess = true
162 |         sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:164:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
162 |         sessionConfig.isDiscretionary = false
163 |
164 |         return URLSession(configuration: sessionConfig)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
165 |     }
166 | }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:170:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 | private extension FoundationDataFetch {
169 |     private static func completionHandler<ResultValue: Decodable>(responseData: Data?, response: URLResponse?, error: Error?, callback: (Result<ResultValue, DataFetchError>) -> Void) {
170 |         let httpResponse: HTTPURLResponse
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |         let checkedResponse = Self.checkResponse(response: response, error: error)
172 |
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:183:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
181 |         }
182 |
183 |         if let mimeType = httpResponse.mimeType, mimeType == "application/json" {
    |                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
184 |             if let data = responseData {
185 |                 do {
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:194:94: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
192 |             }
193 |         } else {
194 |             callback(.failure(.message("Unknown mime type: \(String(describing: httpResponse.mimeType))")))
    |                                                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
195 |         }
196 |     }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
201 |         }
202 |
203 |         guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:203:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |         }
202 |
203 |         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.
204 |             return (nil, .message("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'"))
205 |         }
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/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:207:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |         }
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |             return (nil, .badStatus(httpResponse.statusCode))
209 |         }
/host/spi-builder-workspace/Sources/CryptoScraper/Utility/FoundationDataFetch.swift:208:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
206 |
207 |         guard (200...299).contains(httpResponse.statusCode) else {
208 |             return (nil, .badStatus(httpResponse.statusCode))
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
209 |         }
210 |
[78/123] Compiling CryptoScraper TronScan+Transactions.swift
[79/123] Compiling CryptoScraper TronScan.swift
[80/123] Compiling CryptoScraper CryptoScraper.swift
[81/123] Compiling CryptoScraper CoinGeckoAggregator+Availability.swift
[82/123] Compiling CryptoScraper CoinGeckoAggregator+Coins.swift
[83/123] Compiling CryptoScraper CoinGeckoAggregator.swift
[84/123] Compiling CryptoScraper Decodable.swift
[85/123] Compiling CryptoScraper DecodingError.swift
[86/123] Compiling CryptoScraper URL.swift
[87/123] Compiling CryptoScraper CryptoAmount.swift
[88/123] Compiling CryptoScraper CryptoChain.swift
[89/123] Compiling CryptoScraper CryptoContract.swift
[90/123] Compiling CryptoScraper EthereumScanner.swift
[91/123] Compiling CryptoScraper Etherscan.swift
[92/123] Compiling CryptoScraper FTMScan.swift
[93/123] Compiling CryptoScraper FantomChain.swift
[94/123] Compiling CryptoScraper FantomContract.swift
[95/123] Compiling CryptoScraper OptimismChain.swift
[96/123] Compiling CryptoScraper OptimismContract.swift
[97/123] Compiling CryptoScraper OptimisticEtherscan.swift
[98/123] Compiling CryptoScraper MaticContract.swift
[99/123] Compiling CryptoScraper PolygonChain.swift
[100/123] Compiling CryptoScraper PolygonScan.swift
[101/123] Compiling CryptoScraper TronChain.swift
[102/123] Compiling CryptoScraper TronContract.swift
[103/123] Compiling CryptoScraper TronScan+Accounts.swift
[104/123] Compiling CryptoScraper CoinGeckoError.swift
[105/123] Compiling CryptoScraper CoinMarketCapAggregator+Coins.swift
[106/123] Compiling CryptoScraper CoinMarketCapAggregator.swift
[107/123] Compiling CryptoScraper CoinMarketCapError.swift
[108/123] Compiling CryptoScraper Exports.swift
[109/123] Compiling CryptoScraper DateFormatter.swift
[110/123] Compiling CryptoScraper BNBContract.swift
[111/123] Compiling CryptoScraper BinanceSmartChain.swift
[112/123] Compiling CryptoScraper BscScan.swift
[113/123] Compiling CryptoScraper BitcoinChain.swift
[114/123] Compiling CryptoScraper BitcoinContract.swift
[115/123] Compiling CryptoScraper BlockChainInfo+Accounts.swift
[116/123] Compiling CryptoScraper BlockChainInfo+Transactions.swift
[117/123] Compiling CryptoScraper BlockChainInfo.swift
[118/123] Compiling CryptoScraper BlockChains.swift
[119/123] Compiling CryptoScraper EthereumChain.swift
[120/123] Compiling CryptoScraper EthereumContract.swift
[121/123] Compiling CryptoScraper EthereumScanner+Accounts.swift
[122/123] Compiling CryptoScraper EthereumScanner+Tokens.swift
[123/123] Compiling CryptoScraper EthereumScanner+Transactions.swift
BUILD FAILURE 6.1 wasm