Build Information
Successful build of Solana, reference main (61a53d
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 10:42:17 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/solana-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/crewshin/solana-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 61a53de Merge pull request #5 from crewshin/feature/get-identity
Cloned https://github.com/crewshin/solana-swift.git
Revision (git rev-parse @):
61a53dee2a371127bb1998a62a5ec9aa9c419acb
SUCCESS checkout https://github.com/crewshin/solana-swift.git at main
Fetching https://github.com/crewshin/ed25519swift
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/keefertaylor/Base58Swift
[1/4771] Fetching bigint
[2/5305] Fetching bigint, base58swift
[151/18239] Fetching bigint, base58swift, cryptoswift
[2113/19191] Fetching bigint, base58swift, cryptoswift, ed25519swift
Fetched https://github.com/crewshin/ed25519swift from cache (1.66s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.66s)
Fetched https://github.com/keefertaylor/Base58Swift from cache (1.66s)
Computing version for https://github.com/crewshin/ed25519swift
Fetched https://github.com/attaswift/BigInt.git from cache (1.66s)
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (2.25s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (0.57s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.57s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.2.1 (0.56s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
Creating working copy for https://github.com/crewshin/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.2.1
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "solana-swift",
"name": "Solana",
"url": "https://github.com/crewshin/solana-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/solana-swift",
"dependencies": [
{
"identity": "base58swift",
"name": "Base58Swift",
"url": "https://github.com/keefertaylor/Base58Swift",
"version": "2.1.14",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Base58Swift",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/attaswift/BigInt.git",
"version": "5.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
}
]
},
{
"identity": "ed25519swift",
"name": "ed25519swift",
"url": "https://github.com/crewshin/ed25519swift",
"version": "1.2.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ed25519swift",
"dependencies": [
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.8.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/crewshin/solana-swift.git
[1/377] Fetching solana-swift
Fetched https://github.com/crewshin/solana-swift.git from cache (0.90s)
Fetching https://github.com/keefertaylor/Base58Swift from cache
Fetching https://github.com/crewshin/ed25519swift from cache
Fetched https://github.com/crewshin/ed25519swift from cache (0.45s)
Fetched https://github.com/keefertaylor/Base58Swift from cache (0.45s)
Computing version for https://github.com/crewshin/ed25519swift
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (0.50s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.51s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (0.56s)
Fetching https://github.com/attaswift/BigInt.git from cache
Fetched https://github.com/attaswift/BigInt.git from cache (0.41s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.1 (0.88s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.59s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/crewshin/solana-swift.git
Working copy of https://github.com/crewshin/solana-swift.git resolved at main (61a53de)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.1
Creating working copy for https://github.com/crewshin/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
warning: '.resolve-product-dependencies': dependency 'solana-swift' is not used by any target
Found 2 product dependencies
- Base58Swift
- ed25519swift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/crewshin/solana-swift.git
https://github.com/crewshin/solana-swift.git
{
"dependencies" : [
{
"identity" : "base58swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.14",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/keefertaylor/Base58Swift"
},
{
"identity" : "ed25519swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/crewshin/ed25519swift"
}
],
"manifest_display_name" : "Solana",
"name" : "Solana",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Solana",
"targets" : [
"Solana"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SolanaTests",
"module_type" : "SwiftTarget",
"name" : "SolanaTests",
"path" : "Tests/SolanaTests",
"sources" : [
"SolanaTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Solana"
],
"type" : "test"
},
{
"c99name" : "Solana",
"module_type" : "SwiftTarget",
"name" : "Solana",
"path" : "Sources/Solana",
"product_dependencies" : [
"Base58Swift",
"ed25519swift"
],
"product_memberships" : [
"Solana"
],
"sources" : [
"Extensions/Double+.swift",
"Extensions/Int+.swift",
"Extensions/JSON+.swift",
"Extensions/String+.swift",
"Models/Account.swift",
"Models/Block.swift",
"Models/Commitment.swift",
"Models/Encoding.swift",
"Models/Filter.swift",
"Models/Hash.swift",
"Models/Identity.swift",
"Models/Instruction.swift",
"Models/Requests and Responses/GetAccountInfo.swift",
"Models/Requests and Responses/GetBalanace.swift",
"Models/Requests and Responses/GetBlockCommitment.swift",
"Models/Requests and Responses/GetBlockProduction.swift",
"Models/Requests and Responses/GetBlockTime.swift",
"Models/Requests and Responses/GetClusterNodes.swift",
"Models/Requests and Responses/GetConfirmedBlock.swift",
"Models/Requests and Responses/GetConfirmedBlocks.swift",
"Models/Requests and Responses/GetConfirmedBlocksWithLimit.swift",
"Models/Requests and Responses/GetConfirmedSignaturesForAddress.swift",
"Models/Requests and Responses/GetConfirmedSignaturesForAddress2.swift",
"Models/Requests and Responses/GetConfirmedTransaction.swift",
"Models/Requests and Responses/GetEpochInfo.swift",
"Models/Requests and Responses/GetEpochSchedule.swift",
"Models/Requests and Responses/GetFeeCalculatorForBlockhash.swift",
"Models/Requests and Responses/GetFeeRateGovernor.swift",
"Models/Requests and Responses/GetFees.swift",
"Models/Requests and Responses/RPCResponse.swift",
"Models/Requests and Responses/SimulateTransaction.swift",
"Models/RewardType.swift",
"Models/RpcError.swift",
"Models/SlotRange.swift",
"Models/TokenBalance.swift",
"Models/Transaction.swift",
"Models/TransactionError.swift",
"Models/WebSockets/ProgramSubscribe.swift",
"Network.swift",
"NetworkRequestType.swift",
"Networking.swift",
"Solana.swift",
"SolanaErrors.swift",
"SolanaSockets.swift",
"WebSockets.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/97] Emitting module BigInt
[8/99] Emitting module CryptoSwift
[9/106] Compiling CryptoSwift ChaCha20.swift
[10/106] Compiling CryptoSwift Checksum.swift
[11/106] Compiling BigInt Subtraction.swift
[12/106] Compiling BigInt Words and Bits.swift
[13/106] Compiling CryptoSwift CBCMAC.swift
[14/106] Compiling CryptoSwift CMAC.swift
[19/106] Compiling CryptoSwift CompactMap.swift
[20/106] Compiling CryptoSwift Cryptor.swift
[21/106] Compiling CryptoSwift UInt16+Extension.swift
[22/106] Compiling CryptoSwift UInt32+Extension.swift
[23/106] Compiling CryptoSwift UInt64+Extension.swift
[24/106] Compiling CryptoSwift UInt8+Extension.swift
[25/106] Compiling CryptoSwift Updatable.swift
[26/106] Compiling CryptoSwift Utils.swift
[27/106] Compiling CryptoSwift ZeroPadding.swift
[28/106] Compiling CryptoSwift PKCS7.swift
[29/106] Compiling CryptoSwift PKCS7Padding.swift
[30/106] Compiling CryptoSwift Padding.swift
[31/106] Compiling CryptoSwift Poly1305.swift
[32/106] Compiling CryptoSwift Rabbit.swift
[33/106] Compiling CryptoSwift SHA1.swift
[34/106] Compiling CryptoSwift SHA2.swift
[35/106] Compiling CryptoSwift AEAD.swift
[36/106] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[37/106] Compiling CryptoSwift AES.Cryptors.swift
[38/106] Compiling CryptoSwift AES.swift
[39/106] Compiling CryptoSwift Array+Extension.swift
[40/106] Compiling CryptoSwift Authenticator.swift
[41/106] Compiling CryptoSwift BatchedCollection.swift
[42/106] Compiling CryptoSwift Bit.swift
[43/106] Compiling CryptoSwift Blowfish.swift
[46/106] Compiling CryptoSwift GCM.swift
[47/106] Compiling CryptoSwift OCB.swift
[48/106] Compiling CryptoSwift OFB.swift
[49/106] Compiling CryptoSwift PCBC.swift
[56/106] Compiling CryptoSwift CTR.swift
[59/106] Compiling CryptoSwift CipherModeWorker.swift
[60/106] Compiling CryptoSwift ECB.swift
[69/106] Compiling CryptoSwift BlockCipher.swift
[70/106] Compiling CryptoSwift BlockDecryptor.swift
[71/106] Compiling CryptoSwift BlockEncryptor.swift
[72/106] Compiling CryptoSwift BlockMode.swift
[73/106] Compiling CryptoSwift BlockModeOptions.swift
[74/106] Compiling CryptoSwift CBC.swift
[75/106] Compiling CryptoSwift CCM.swift
[76/106] Compiling CryptoSwift CFB.swift
[77/106] Compiling CryptoSwift Int+Extension.swift
[78/106] Compiling CryptoSwift MD5.swift
[79/106] Compiling CryptoSwift NoPadding.swift
[80/106] Compiling CryptoSwift Operators.swift
[81/106] Compiling CryptoSwift PBKDF1.swift
[82/106] Compiling CryptoSwift PBKDF2.swift
[83/106] Compiling CryptoSwift PKCS5.swift
[84/106] Compiling CryptoSwift HMAC+Foundation.swift
[85/106] Compiling CryptoSwift Rabbit+Foundation.swift
[86/106] Compiling CryptoSwift String+FoundationExtension.swift
[87/106] Compiling CryptoSwift Utils+Foundation.swift
[88/106] Compiling CryptoSwift Generics.swift
[89/106] Compiling CryptoSwift HKDF.swift
[90/106] Compiling CryptoSwift HMAC.swift
[91/106] Compiling CryptoSwift ISO78164Padding.swift
[92/108] Compiling CryptoSwift Cryptors.swift
[93/108] Compiling CryptoSwift Digest.swift
[94/108] Compiling CryptoSwift DigestType.swift
[95/108] Compiling CryptoSwift AES+Foundation.swift
[96/108] Compiling CryptoSwift Array+Foundation.swift
[97/108] Compiling CryptoSwift Blowfish+Foundation.swift
[98/108] Compiling CryptoSwift ChaCha20+Foundation.swift
[99/108] Compiling CryptoSwift Data+Extension.swift
[100/108] Compiling CryptoSwift SHA3.swift
[101/108] Compiling CryptoSwift Scrypt.swift
[102/108] Compiling CryptoSwift SecureBytes.swift
[103/108] Compiling CryptoSwift StreamDecryptor.swift
[104/108] Compiling CryptoSwift StreamEncryptor.swift
[105/108] Compiling CryptoSwift String+Extension.swift
[106/108] Compiling CryptoSwift UInt128.swift
[107/115] Emitting module Base58Swift
[108/115] Compiling Base58Swift Base58.swift
[109/115] Compiling ed25519swift ed25519_sign.swift
[110/115] Compiling ed25519swift ed25519_verify.swift
[111/115] Compiling ed25519swift ed25519_utility.swift
[112/115] Compiling ed25519swift ed25519_fe.swift
[113/115] Emitting module ed25519swift
[114/115] Compiling ed25519swift ed25519_ge.swift
[115/115] Compiling ed25519swift ed25519_sc.swift
[116/157] Compiling Solana GetBlockProduction.swift
[117/157] Compiling Solana GetBlockTime.swift
[118/157] Compiling Solana GetClusterNodes.swift
[119/157] Compiling Solana GetConfirmedBlock.swift
[120/157] Compiling Solana GetConfirmedBlocks.swift
[121/161] Compiling Solana GetConfirmedBlocksWithLimit.swift
[122/161] Compiling Solana GetConfirmedSignaturesForAddress.swift
[123/161] Compiling Solana GetConfirmedSignaturesForAddress2.swift
[124/161] Compiling Solana GetConfirmedTransaction.swift
[125/161] Compiling Solana GetEpochInfo.swift
[126/161] Emitting module Solana
[127/161] Compiling Solana Identity.swift
[128/161] Compiling Solana Instruction.swift
[129/161] Compiling Solana GetAccountInfo.swift
[130/161] Compiling Solana GetBalanace.swift
[131/161] Compiling Solana GetBlockCommitment.swift
[132/161] Compiling Solana Block.swift
[133/161] Compiling Solana Commitment.swift
[134/161] Compiling Solana Encoding.swift
[135/161] Compiling Solana Filter.swift
[136/161] Compiling Solana Hash.swift
[137/161] Compiling Solana RPCResponse.swift
[138/161] Compiling Solana SimulateTransaction.swift
[139/161] Compiling Solana RewardType.swift
[140/161] Compiling Solana RpcError.swift
[141/161] Compiling Solana ProgramSubscribe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:36:17: warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
34 | URLSession.shared.dataTask(with: tmpRequest) { (data, response, error) in
35 | guard let data = data, error == nil, let response = response else {
36 | completion(.failure(SolanaAPIError.generic(message: "API Call guard failed.")))
| |- warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
37 | return
38 | }
[142/161] Compiling Solana Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:36:17: warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
34 | URLSession.shared.dataTask(with: tmpRequest) { (data, response, error) in
35 | guard let data = data, error == nil, let response = response else {
36 | completion(.failure(SolanaAPIError.generic(message: "API Call guard failed.")))
| |- warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
37 | return
38 | }
[143/161] Compiling Solana NetworkRequestType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:36:17: warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
34 | URLSession.shared.dataTask(with: tmpRequest) { (data, response, error) in
35 | guard let data = data, error == nil, let response = response else {
36 | completion(.failure(SolanaAPIError.generic(message: "API Call guard failed.")))
| |- warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
37 | return
38 | }
[144/161] Compiling Solana Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:36:17: warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
34 | URLSession.shared.dataTask(with: tmpRequest) { (data, response, error) in
35 | guard let data = data, error == nil, let response = response else {
36 | completion(.failure(SolanaAPIError.generic(message: "API Call guard failed.")))
| |- warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
37 | return
38 | }
[145/161] Compiling Solana GetEpochSchedule.swift
[146/161] Compiling Solana GetFeeCalculatorForBlockhash.swift
[147/161] Compiling Solana GetFeeRateGovernor.swift
[148/161] Compiling Solana GetFees.swift
[149/161] Compiling Solana Double+.swift
[150/161] Compiling Solana Int+.swift
[151/161] Compiling Solana JSON+.swift
[152/161] Compiling Solana String+.swift
[153/161] Compiling Solana Account.swift
[154/161] Compiling Solana SlotRange.swift
[155/161] Compiling Solana TokenBalance.swift
[156/161] Compiling Solana Transaction.swift
[157/161] Compiling Solana TransactionError.swift
[158/161] Compiling Solana Solana.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:44:17: warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
13 | }
14 |
15 | public class WebSockets {
| `- note: class 'WebSockets' does not conform to the 'Sendable' protocol
16 |
17 | var task: URLSessionWebSocketTask?
:
42 | switch result {
43 | case .failure:
44 | self.disconnect()
| `- warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
45 | self.delegate?.disconnected()
46 | case .success(let message):
[159/161] Compiling Solana SolanaErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:44:17: warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
13 | }
14 |
15 | public class WebSockets {
| `- note: class 'WebSockets' does not conform to the 'Sendable' protocol
16 |
17 | var task: URLSessionWebSocketTask?
:
42 | switch result {
43 | case .failure:
44 | self.disconnect()
| `- warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
45 | self.delegate?.disconnected()
46 | case .success(let message):
[160/161] Compiling Solana SolanaSockets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:44:17: warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
13 | }
14 |
15 | public class WebSockets {
| `- note: class 'WebSockets' does not conform to the 'Sendable' protocol
16 |
17 | var task: URLSessionWebSocketTask?
:
42 | switch result {
43 | case .failure:
44 | self.disconnect()
| `- warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
45 | self.delegate?.disconnected()
46 | case .success(let message):
[161/161] Compiling Solana WebSockets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:44:17: warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
13 | }
14 |
15 | public class WebSockets {
| `- note: class 'WebSockets' does not conform to the 'Sendable' protocol
16 |
17 | var task: URLSessionWebSocketTask?
:
42 | switch result {
43 | case .failure:
44 | self.disconnect()
| `- warning: capture of 'self' with non-sendable type 'WebSockets' in a '@Sendable' closure
45 | self.delegate?.disconnected()
46 | case .success(let message):
Build complete! (17.91s)
Build complete.
{
"dependencies" : [
{
"identity" : "base58swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.14",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/keefertaylor/Base58Swift"
},
{
"identity" : "ed25519swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/crewshin/ed25519swift"
}
],
"manifest_display_name" : "Solana",
"name" : "Solana",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Solana",
"targets" : [
"Solana"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SolanaTests",
"module_type" : "SwiftTarget",
"name" : "SolanaTests",
"path" : "Tests/SolanaTests",
"sources" : [
"SolanaTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Solana"
],
"type" : "test"
},
{
"c99name" : "Solana",
"module_type" : "SwiftTarget",
"name" : "Solana",
"path" : "Sources/Solana",
"product_dependencies" : [
"Base58Swift",
"ed25519swift"
],
"product_memberships" : [
"Solana"
],
"sources" : [
"Extensions/Double+.swift",
"Extensions/Int+.swift",
"Extensions/JSON+.swift",
"Extensions/String+.swift",
"Models/Account.swift",
"Models/Block.swift",
"Models/Commitment.swift",
"Models/Encoding.swift",
"Models/Filter.swift",
"Models/Hash.swift",
"Models/Identity.swift",
"Models/Instruction.swift",
"Models/Requests and Responses/GetAccountInfo.swift",
"Models/Requests and Responses/GetBalanace.swift",
"Models/Requests and Responses/GetBlockCommitment.swift",
"Models/Requests and Responses/GetBlockProduction.swift",
"Models/Requests and Responses/GetBlockTime.swift",
"Models/Requests and Responses/GetClusterNodes.swift",
"Models/Requests and Responses/GetConfirmedBlock.swift",
"Models/Requests and Responses/GetConfirmedBlocks.swift",
"Models/Requests and Responses/GetConfirmedBlocksWithLimit.swift",
"Models/Requests and Responses/GetConfirmedSignaturesForAddress.swift",
"Models/Requests and Responses/GetConfirmedSignaturesForAddress2.swift",
"Models/Requests and Responses/GetConfirmedTransaction.swift",
"Models/Requests and Responses/GetEpochInfo.swift",
"Models/Requests and Responses/GetEpochSchedule.swift",
"Models/Requests and Responses/GetFeeCalculatorForBlockhash.swift",
"Models/Requests and Responses/GetFeeRateGovernor.swift",
"Models/Requests and Responses/GetFees.swift",
"Models/Requests and Responses/RPCResponse.swift",
"Models/Requests and Responses/SimulateTransaction.swift",
"Models/RewardType.swift",
"Models/RpcError.swift",
"Models/SlotRange.swift",
"Models/TokenBalance.swift",
"Models/Transaction.swift",
"Models/TransactionError.swift",
"Models/WebSockets/ProgramSubscribe.swift",
"Network.swift",
"NetworkRequestType.swift",
"Networking.swift",
"Solana.swift",
"SolanaErrors.swift",
"SolanaSockets.swift",
"WebSockets.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.