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

Successful build of web3.swift, reference 1.6.1 (1e75f9), with Swift 6.0 for Linux on 30 Nov 2024 07:33:34 UTC.

Swift 6 data race errors: 70

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

342 |                 completionHandler(.success(result))
343 |             } catch {
/host/spi-builder-workspace/web3swift/src/ERC721/ERC721.swift:354:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
352 |         completionHandler: @escaping (Result<BigUInt, Error>) -> Void
353 |     ) {
354 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
355 |             do {
356 |                 let result = try await tokenByIndex(contract: contract, index: index)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
357 |                 completionHandler(.success(result))
358 |             } catch {
/host/spi-builder-workspace/web3swift/src/ERC721/ERC721.swift:370:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
368 |         completionHandler: @escaping (Result<BigUInt, Error>) -> Void
369 |     ) {
370 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
371 |             do {
372 |                 let result = try await tokenOfOwnerByIndex(contract: contract, owner: owner, index: index)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
373 |                 completionHandler(.success(result))
374 |             } catch {
[960/970] Compiling web3 EthereumAccount+SignTransaction.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[961/970] Compiling web3 EthereumAccount.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[962/970] Compiling web3 EthereumKeyStorage+Password.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[963/970] Compiling web3 EthereumKeyStorage.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[964/970] Compiling web3 Signature.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[965/970] Compiling web3 TypedData.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[966/970] Compiling web3 BaseEthereumClient+Call.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[967/970] Compiling web3 BaseEthereumClient.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[968/970] Compiling web3 EthereumHttpClient.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[969/970] Compiling web3 EthereumAddress.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[970/970] Compiling web3 EthereumBlock.swift
/host/spi-builder-workspace/web3swift/src/Account/Signature.swift:40:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct Signature: Equatable {
   |               `- note: consider making struct 'Signature' conform to the 'Sendable' protocol
 9 |     public let r: Data
10 |     public let s: Data
   :
38 |     }
39 |
40 |     public static let zero: Signature = .init(raw: Data(repeating: 0, count: 65))
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Signature' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/web3swift/src/Client/Models/EthereumAddress.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | import Foundation
 8 |
 9 | public struct EthereumAddress: Codable, Hashable {
   |               `- note: consider making struct 'EthereumAddress' conform to the 'Sendable' protocol
10 |     @available(*, deprecated, message: "Shouldn't rely on the actual String representation. Use asString() instead to get an unformatted representation")  public var value: String {
11 |         raw
   :
15 |     private let numberRepresentation: BigUInt?
16 |     private let numberRepresentationAsString: String?
17 |     public static let zero: Self = "0x0000000000000000000000000000000000000000"
   |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EthereumAddress' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public init(_ value: String) {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient+Call.swift:239:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
237 |         completionHandler: @escaping (Result<String, EthereumClientError>) -> Void
238 |     ) {
239 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
240 |             do {
241 |                 let result = try await eth_call(transaction, resolution: resolution, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
242 |                 completionHandler(.success(result))
243 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:48:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 46 | extension BaseEthereumClient {
 47 |     public func net_version(completionHandler: @escaping (Result<EthereumNetwork, EthereumClientError>) -> Void) {
 48 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 49 |             do {
 50 |                 let result = try await net_version()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 51 |                 completionHandler(.success(result))
 52 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:59:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |     public func eth_gasPrice(completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 59 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |             do {
 61 |                 let result = try await eth_gasPrice()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 62 |                 completionHandler(.success(result))
 63 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:70:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 68 |
 69 |     public func eth_blockNumber(completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
 70 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 71 |             do {
 72 |                 let result = try await eth_blockNumber()
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 73 |                 completionHandler(.success(result))
 74 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:81:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |
 80 |     public func eth_getBalance(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
 81 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |             do {
 83 |                 let result = try await eth_getBalance(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 84 |                 completionHandler(.success(result))
 85 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:92:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 90 |
 91 |     public func eth_getCode(address: EthereumAddress, block: EthereumBlock = .Latest, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
 92 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             do {
 94 |                 let result = try await eth_getCode(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
 95 |                 completionHandler(.success(result))
 96 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:103:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 |
102 |     public func eth_estimateGas(_ transaction: EthereumTransaction, completionHandler: @escaping (Result<BigUInt, EthereumClientError>) -> Void) {
103 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
104 |             do {
105 |                 let result = try await eth_estimateGas(transaction)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
106 |                 completionHandler(.success(result))
107 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:158:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
156 |
157 |     public func eth_sendRawTransaction(_ transaction: EthereumTransaction, withAccount account: EthereumAccountProtocol, completionHandler: @escaping (Result<String, EthereumClientError>) -> Void) {
158 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
159 |             do {
160 |                 let result = try await eth_sendRawTransaction(transaction, withAccount: account)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
161 |                 completionHandler(.success(result))
162 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:114:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
112 |
113 |     public func eth_getTransactionCount(address: EthereumAddress, block: EthereumBlock, completionHandler: @escaping (Result<Int, EthereumClientError>) -> Void) {
114 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
115 |             do {
116 |                 let result = try await eth_getTransactionCount(address: address, block: block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
117 |                 completionHandler(.success(result))
118 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:125:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
123 |
124 |     public func eth_getTransaction(byHash txHash: String, completionHandler: @escaping (Result<EthereumTransaction, EthereumClientError>) -> Void) {
125 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
126 |             do {
127 |                 let result = try await eth_getTransaction(byHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
128 |                 completionHandler(.success(result))
129 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:136:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |
135 |     public func eth_getTransactionReceipt(txHash: String, completionHandler: @escaping (Result<EthereumTransactionReceipt, EthereumClientError>) -> Void) {
136 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |             do {
138 |                 let result = try await eth_getTransactionReceipt(txHash: txHash)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
139 |                 completionHandler(.success(result))
140 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:169:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
167 |
168 |     public func eth_getLogs(addresses: [EthereumAddress]?, topics: [String?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
169 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |             do {
171 |                 let result = try await eth_getLogs(addresses: addresses, topics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
172 |                 completionHandler(.success(result))
173 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:180:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
178 |
179 |     public func eth_getLogs(addresses: [EthereumAddress]?, orTopics topics: [[String]?]?, fromBlock from: EthereumBlock = .Earliest, toBlock to: EthereumBlock = .Latest, completionHandler: @escaping (Result<[EthereumLog], EthereumClientError>) -> Void) {
180 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
181 |             do {
182 |                 let result = try await eth_getLogs(addresses: addresses, orTopics: topics, fromBlock: from, toBlock: to)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
183 |                 completionHandler(.success(result))
184 |             } catch {
/host/spi-builder-workspace/web3swift/src/Client/BaseEthereumClient.swift:147:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
145 |
146 |     public func eth_getBlockByNumber(_ block: EthereumBlock, completionHandler: @escaping (Result<EthereumBlockInfo, EthereumClientError>) -> Void) {
147 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
148 |             do {
149 |                 let result = try await eth_getBlockByNumber(block)
    |                                        `- note: closure captures 'self' which is accessible to code in the current task
150 |                 completionHandler(.success(result))
151 |             } catch {
[972/976] Compiling web3_zksync EthereumAccount+ZKSync.swift
[973/976] Compiling web3_zksync ABIFunction+ZKSync.swift
/host/spi-builder-workspace/web3swift/src/ZKSync/ZKSyncTransaction.swift:72:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
 55 |     }
 56 |
 57 |     public struct PaymasterParams: Equatable {
    |                   `- note: consider making struct 'PaymasterParams' conform to the 'Sendable' protocol
 58 |         public var paymaster: EthereumAddress
 59 |         public var input: Data
    :
 70 |         }
 71 |
 72 |         public static let none: PaymasterParams = .init(paymaster: .zero, input: Data())
    |                           |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     }
 74 |
[974/976] Emitting module web3_zksync
/host/spi-builder-workspace/web3swift/src/ZKSync/ZKSyncTransaction.swift:72:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
 55 |     }
 56 |
 57 |     public struct PaymasterParams: Equatable {
    |                   `- note: consider making struct 'PaymasterParams' conform to the 'Sendable' protocol
 58 |         public var paymaster: EthereumAddress
 59 |         public var input: Data
    :
 70 |         }
 71 |
 72 |         public static let none: PaymasterParams = .init(paymaster: .zero, input: Data())
    |                           |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     }
 74 |
[975/976] Compiling web3_zksync ZKSyncTransaction.swift
/host/spi-builder-workspace/web3swift/src/ZKSync/ZKSyncTransaction.swift:72:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
 55 |     }
 56 |
 57 |     public struct PaymasterParams: Equatable {
    |                   `- note: consider making struct 'PaymasterParams' conform to the 'Sendable' protocol
 58 |         public var paymaster: EthereumAddress
 59 |         public var input: Data
    :
 70 |         }
 71 |
 72 |         public static let none: PaymasterParams = .init(paymaster: .zero, input: Data())
    |                           |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ZKSyncTransaction.PaymasterParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     }
 74 |
[976/976] Compiling web3_zksync ZKSyncProvider.swift
Build complete! (106.03s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.3.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt"
    },
    {
      "identity" : "generic-json-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iwill/generic-json-swift"
    },
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
    },
    {
      "identity" : "websocket-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/websocket-kit.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "web3.swift",
  "name" : "web3.swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "web3.swift",
      "targets" : [
        "web3"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "web3-zksync.swift",
      "targets" : [
        "web3-zksync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "web3swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "web3swiftTests",
      "path" : "web3sTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/web3sTests/Account/cryptofights_712.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/web3sTests/Account/ethermail_signTypedDataV4.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/web3sTests/Account/real_word_opensea_signTypedDataV4.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/web3sTests/Resources/rlptests.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Account/EthereumAccount+SignTransactionTests.swift",
        "Account/EthereumAccount+SignTypedTests.swift",
        "Account/EthereumAccountTests.swift",
        "Account/EthereumKeyStorageTests.swift",
        "Address/EthereumAddressTests.swift",
        "Client/EthereumClientTests.swift",
        "Contract/ABIDecoderTests.swift",
        "Contract/ABIEncoderTests.swift",
        "Contract/ABIEventTests.swift",
        "Contract/ABIFunctionEncoderTests.swift",
        "Contract/ABIFunctionTests.swift",
        "ENS/ENSOffchainTests.swift",
        "ENS/ENSTests.swift",
        "ERC1271/ERC1271Tests.swift",
        "ERC165/ERC165Tests.swift",
        "ERC20/ERC20Tests.swift",
        "ERC721/ERC721Tests.swift",
        "Extensions/ByteExtensionsTests.swift",
        "Extensions/Data+RandomTests.swift",
        "Extensions/HexExtensionsTests.swift",
        "Extensions/KeccakExtensionsTests.swift",
        "Extensions/String+NumericTests.swift",
        "Mocks/TestEthereumKeyStorage.swift",
        "Multicall/MulticallTests.swift",
        "OffchainLookup/OffchainLookupTests.swift",
        "SIWE/SIWETests.swift",
        "SIWE/SiweMessageTests.swift",
        "SIWE/SiweVerifierTests.swift",
        "TestConfig.swift",
        "Transaction/TransactionTests.swift",
        "Utils/AesUtilTests.swift",
        "Utils/HexUtilTests.swift",
        "Utils/KeyDerivationTests.swift",
        "Utils/KeyUtilTests.swift",
        "Utils/KeystoreUtilTests.swift",
        "Utils/RLPTests.swift",
        "ZKSync/EthereumClient+ZKSyncTests.swift",
        "ZKSync/ZKSyncTransactionTests.swift"
      ],
      "target_dependencies" : [
        "web3",
        "web3-zksync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "web3_zksync",
      "module_type" : "SwiftTarget",
      "name" : "web3-zksync",
      "path" : "web3swift/src/ZKSync",
      "product_memberships" : [
        "web3-zksync.swift"
      ],
      "sources" : [
        "ABIFunction+ZKSync.swift",
        "EthereumAccount+ZKSync.swift",
        "ZKSyncProvider.swift",
        "ZKSyncTransaction.swift"
      ],
      "target_dependencies" : [
        "web3"
      ],
      "type" : "library"
    },
    {
      "c99name" : "web3",
      "module_type" : "SwiftTarget",
      "name" : "web3",
      "path" : "web3swift/src",
      "product_dependencies" : [
        "BigInt",
        "GenericJSON",
        "secp256k1",
        "WebSocketKit",
        "Logging"
      ],
      "product_memberships" : [
        "web3.swift",
        "web3-zksync.swift"
      ],
      "sources" : [
        "Account/EthereumAccount+SignTransaction.swift",
        "Account/EthereumAccount.swift",
        "Account/EthereumKeyStorage+Password.swift",
        "Account/EthereumKeyStorage.swift",
        "Account/Signature.swift",
        "Account/TypedData.swift",
        "Client/BaseEthereumClient+Call.swift",
        "Client/BaseEthereumClient.swift",
        "Client/HTTP/EthereumHttpClient.swift",
        "Client/Models/EthereumAddress.swift",
        "Client/Models/EthereumBlock.swift",
        "Client/Models/EthereumBlockInfo.swift",
        "Client/Models/EthereumHeader.swift",
        "Client/Models/EthereumLog.swift",
        "Client/Models/EthereumNetwork.swift",
        "Client/Models/EthereumSubscription.swift",
        "Client/Models/EthereumSyncStatus.swift",
        "Client/Models/EthereumTransaction.swift",
        "Client/Models/EthereumTransactionReceipt.swift",
        "Client/NetworkProviders/EventLoopGroupProvider.swift",
        "Client/NetworkProviders/HttpNetworkProvider.swift",
        "Client/NetworkProviders/JSONRPC.swift",
        "Client/NetworkProviders/NetworkProviderProtocol.swift",
        "Client/NetworkProviders/WebSocketConfiguration.swift",
        "Client/NetworkProviders/WebSocketNetworkProvider.swift",
        "Client/Protocols/EthereumClientProtocol.swift",
        "Client/Protocols/EthereumProvider.swift",
        "Client/RecursiveLogCollector.swift",
        "Client/WSS/EthereumWebSocketClient.swift",
        "Contract/ABIDecoder.swift",
        "Contract/ABIEncoder.swift",
        "Contract/ABIRawType.swift",
        "Contract/Statically Typed/ABIDecoder+Static.swift",
        "Contract/Statically Typed/ABIEncoder+Static.swift",
        "Contract/Statically Typed/ABIEvent.swift",
        "Contract/Statically Typed/ABIFunction.swift",
        "Contract/Statically Typed/ABIFunctionEncodable.swift",
        "Contract/Statically Typed/ABIFunctionEncoder.swift",
        "Contract/Statically Typed/ABIRawType+Static.swift",
        "Contract/Statically Typed/ABIRevertError.swift",
        "Contract/Statically Typed/ABITuple.swift",
        "Contract/Statically Typed/EthereumClient+Static.swift",
        "ENS/ENSContracts.swift",
        "ENS/ENSMultiResolver.swift",
        "ENS/ENSResolver.swift",
        "ENS/ENSResponses.swift",
        "ENS/EthereumNameService.swift",
        "ERC1271/ERC1271.swift",
        "ERC1271/ERC1271Error.swift",
        "ERC1271/ERC1271Functions.swift",
        "ERC1271/ERC1271Responses.swift",
        "ERC165/ERC165.swift",
        "ERC20/ERC20.swift",
        "ERC20/ERC20Events.swift",
        "ERC20/ERC20Functions.swift",
        "ERC20/ERC20Responses.swift",
        "ERC721/ERC721.swift",
        "ERC721/ERC721Events.swift",
        "ERC721/ERC721Functions.swift",
        "ERC721/ERC721Responses.swift",
        "Extensions/ByteExtensions.swift",
        "Extensions/Data+Random.swift",
        "Extensions/Extensions.swift",
        "Extensions/HexExtensions.swift",
        "Extensions/KeccakExtensions.swift",
        "Extensions/ResultExtensions.swift",
        "Extensions/String+Numeric.swift",
        "Extensions/URLSessionExtensions.swift",
        "Multicall/Multicall.swift",
        "Multicall/MulticallContract.swift",
        "OffchainLookup/OffchainLookup.swift",
        "SIWE/EthereumAccount+SignSIWERequest.swift",
        "SIWE/SiweMessage+Codable.swift",
        "SIWE/SiweMessage+RegEx.swift",
        "SIWE/SiweMessage+String.swift",
        "SIWE/SiweMessage+Validation.swift",
        "SIWE/SiweMessage.swift",
        "SIWE/SiweVerifier.swift",
        "Utils/AesUtil.swift",
        "Utils/HexUtil.swift",
        "Utils/KeyDerivation.swift",
        "Utils/KeyUtil.swift",
        "Utils/KeystoreUtil.swift",
        "Utils/PropertyWrappers.swift",
        "Utils/RLP.swift"
      ],
      "target_dependencies" : [
        "keccaktiny",
        "aes",
        "Internal_CryptoSwift_PBDKF2"
      ],
      "type" : "library"
    },
    {
      "c99name" : "keccaktiny",
      "module_type" : "ClangTarget",
      "name" : "keccaktiny",
      "path" : "web3swift/lib/keccak-tiny",
      "product_memberships" : [
        "web3.swift",
        "web3-zksync.swift"
      ],
      "sources" : [
        "keccak-tiny.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "aes",
      "module_type" : "ClangTarget",
      "name" : "aes",
      "path" : "web3swift/lib/aes",
      "product_memberships" : [
        "web3.swift",
        "web3-zksync.swift"
      ],
      "sources" : [
        "aes.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Internal_CryptoSwift_PBDKF2",
      "module_type" : "SwiftTarget",
      "name" : "Internal_CryptoSwift_PBDKF2",
      "path" : "web3swift/lib/CryptoSwift",
      "product_memberships" : [
        "web3.swift",
        "web3-zksync.swift"
      ],
      "sources" : [
        "Array+Extensions.swift",
        "BatchedCollection.swift",
        "Generics.swift",
        "HMAC.swift",
        "Int+Extensions.swift",
        "PBKDF2.swift",
        "SHA2.swift",
        "UInt32+Extensions.swift",
        "UInt64+Extensions.swift",
        "Utils.swift",
        "ZeroPadding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.