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 Solana, reference 0.0.3 (fbd76e), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 22:52:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/solana-swift.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/crewshin/solana-swift
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at fbd76e7 Whoops. We're gonna need websockets lol
Cloned https://github.com/crewshin/solana-swift.git
Revision (git rev-parse @):
fbd76e723ba56b57e5b594a68a5d624bc5d87faf
SUCCESS checkout https://github.com/crewshin/solana-swift.git at 0.0.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/crewshin/solana-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[3/7] Write sources
[6/7] Write swift-version-1EA4D86E10B52AF.txt
[8/132] Emitting module BigInt
[9/134] Compiling CryptoSwift Bit.swift
[10/134] Compiling CryptoSwift BlockCipher.swift
[11/134] Compiling CryptoSwift BlockDecryptor.swift
[12/134] Compiling CryptoSwift BlockEncryptor.swift
[13/134] Compiling BigInt Subtraction.swift
[14/134] Compiling BigInt Words and Bits.swift
[15/134] Compiling CryptoSwift BlockMode.swift
[16/134] Compiling CryptoSwift BlockModeOptions.swift
[17/134] Compiling CryptoSwift CBC.swift
[18/134] Compiling CryptoSwift Shifts.swift
[19/134] Compiling CryptoSwift SquareRoot.swift
[20/134] Compiling CryptoSwift Strideable.swift
[21/134] Compiling CryptoSwift StringConversion.swift
[22/134] Compiling CryptoSwift Subtraction.swift
[23/134] Compiling CryptoSwift WordsAndBits.swift
[24/134] Compiling CryptoSwift ChaCha20.swift
[25/134] Compiling CryptoSwift Checksum.swift
[26/134] Compiling CryptoSwift Cipher.swift
[27/134] Compiling CryptoSwift Collection+Extension.swift
[28/134] Compiling CryptoSwift CompactMap.swift
[29/145] Emitting module CryptoSwift
[30/145] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[31/145] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[32/145] Compiling CryptoSwift ASN1Decoder.swift
[33/145] Compiling CryptoSwift ASN1Encoder.swift
[34/145] Compiling CryptoSwift AES.Cryptors.swift
[35/145] Compiling CryptoSwift AES.swift
[36/145] Compiling CryptoSwift ASN1.swift
[37/145] Compiling CryptoSwift ECB.swift
[38/145] Compiling CryptoSwift AEAD.swift
[39/145] Compiling CryptoSwift CTR.swift
[40/145] Compiling CryptoSwift CipherModeWorker.swift
[41/145] Compiling CryptoSwift CCM.swift
[42/145] Compiling CryptoSwift CFB.swift
[43/145] Compiling CryptoSwift Cryptor.swift
[44/145] Compiling CryptoSwift Cryptors.swift
[45/145] Compiling CryptoSwift Digest.swift
[46/145] Compiling CryptoSwift DigestType.swift
[47/145] Compiling CryptoSwift AES+Foundation.swift
[48/145] Compiling CryptoSwift Array+Foundation.swift
[49/145] Compiling CryptoSwift Blowfish+Foundation.swift
[50/145] Compiling CryptoSwift ChaCha20+Foundation.swift
[51/145] Compiling CryptoSwift Data+Extension.swift
[52/145] Compiling CryptoSwift HMAC+Foundation.swift
[53/145] Compiling CryptoSwift Rabbit+Foundation.swift
[54/145] Compiling CryptoSwift Codable.swift
[55/145] Compiling CryptoSwift Comparable.swift
[56/145] Compiling CryptoSwift DataConversion.swift
[57/145] Compiling CryptoSwift Division.swift
[58/145] Compiling CryptoSwift Exponentiation.swift
[59/145] Compiling CryptoSwift FloatingPointConversion.swift
[60/145] Compiling CryptoSwift GCD.swift
[61/145] Compiling CryptoSwift Hashable.swift
[62/145] Compiling CryptoSwift IntegerConversion.swift
[63/145] Compiling CryptoSwift Multiplication.swift
[64/145] Compiling CryptoSwift PrimeTest.swift
[65/145] Compiling CryptoSwift Random.swift
[88/147] Compiling CryptoSwift Authenticator.swift
[89/147] Compiling CryptoSwift BatchedCollection.swift
[90/147] Emitting module Base58Swift
[91/147] Compiling Base58Swift Base58.swift
[92/147] Compiling CryptoSwift String+Extension.swift
[93/147] Compiling CryptoSwift UInt128.swift
[94/147] Compiling CryptoSwift UInt16+Extension.swift
[95/147] Compiling CryptoSwift UInt32+Extension.swift
[96/147] Compiling CryptoSwift UInt64+Extension.swift
[97/147] Compiling CryptoSwift UInt8+Extension.swift
[98/147] Compiling CryptoSwift Updatable.swift
[99/147] Compiling CryptoSwift Utils.swift
[100/147] Compiling CryptoSwift XChaCha20.swift
[101/147] Compiling CryptoSwift ZeroPadding.swift
[102/147] Compiling CryptoSwift resource_bundle_accessor.swift
[103/147] Compiling CryptoSwift GCM.swift
[104/147] Compiling CryptoSwift OCB.swift
[105/147] Compiling CryptoSwift OFB.swift
[106/147] Compiling CryptoSwift PCBC.swift
[107/147] Compiling CryptoSwift Blowfish.swift
[108/147] Compiling CryptoSwift CBCMAC.swift
[109/147] Compiling CryptoSwift CMAC.swift
[110/147] Compiling CryptoSwift Addition.swift
[111/147] Compiling CryptoSwift BigInt.swift
[112/147] Compiling CryptoSwift BigUInt.swift
[113/147] Compiling CryptoSwift BitwiseOps.swift
[114/147] Compiling CryptoSwift CS.swift
[115/147] Compiling CryptoSwift String+FoundationExtension.swift
[116/147] Compiling CryptoSwift Utils+Foundation.swift
[117/147] Compiling CryptoSwift XChaCha20+Foundation.swift
[118/147] Compiling CryptoSwift Generics.swift
[119/147] Compiling CryptoSwift HKDF.swift
[120/147] Compiling CryptoSwift HMAC.swift
[121/147] Compiling CryptoSwift ISO10126Padding.swift
[122/147] Compiling CryptoSwift ISO78164Padding.swift
[123/147] Compiling CryptoSwift Int+Extension.swift
[124/147] Compiling CryptoSwift MD5.swift
[125/147] Compiling CryptoSwift NoPadding.swift
[126/147] Compiling CryptoSwift RSA+Signature.swift
[127/147] Compiling CryptoSwift RSA.swift
[128/147] Compiling CryptoSwift Rabbit.swift
[129/147] Compiling CryptoSwift SHA1.swift
[130/147] Compiling CryptoSwift SHA2.swift
[131/147] Compiling CryptoSwift SHA3.swift
[132/147] Compiling CryptoSwift Scrypt.swift
[133/147] Compiling CryptoSwift SecureBytes.swift
[134/147] Compiling CryptoSwift Signature.swift
[135/147] Compiling CryptoSwift StreamDecryptor.swift
[136/147] Compiling CryptoSwift StreamEncryptor.swift
[137/147] Compiling CryptoSwift Operators.swift
[138/147] Compiling CryptoSwift DER.swift
[139/147] Compiling CryptoSwift PBKDF1.swift
[140/147] Compiling CryptoSwift PBKDF2.swift
[141/147] Compiling CryptoSwift PKCS1v15.swift
[142/147] Compiling CryptoSwift PKCS5.swift
[143/147] Compiling CryptoSwift PKCS7.swift
[144/147] Compiling CryptoSwift PKCS7Padding.swift
[145/147] Compiling CryptoSwift Padding.swift
[146/147] Compiling CryptoSwift Poly1305.swift
[147/147] Compiling CryptoSwift RSA+Cipher.swift
[148/154] Compiling ed25519swift ed25519_verify.swift
[149/154] Compiling ed25519swift ed25519_sign.swift
[150/154] Compiling ed25519swift ed25519_utility.swift
[151/154] Compiling ed25519swift ed25519_sc.swift
[152/154] Compiling ed25519swift ed25519_fe.swift
[153/154] Emitting module ed25519swift
[154/154] Compiling ed25519swift ed25519_ge.swift
[155/187] Compiling Solana Double+.swift
[156/187] Compiling Solana Int+.swift
[157/187] Compiling Solana JSON+.swift
[158/187] Compiling Solana String+.swift
[159/190] Compiling Solana TransactionError.swift
[160/190] Compiling Solana ProgramSubscribe.swift
[161/190] Compiling Solana Network.swift
[162/190] Emitting module Solana
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:10:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 8 | import Foundation
 9 |
10 | protocol WebSocketsDelegate: class {
   |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
11 |     func recievedMessage<T: Codable>(message: T)
12 |     func disconnected()
[163/190] Compiling Solana GetBlockTime.swift
[164/190] Compiling Solana GetClusterNodes.swift
[165/190] Compiling Solana GetConfirmedBlock.swift
[166/190] Compiling Solana GetConfirmedBlocks.swift
[167/190] Compiling Solana SolanaErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:10:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 8 | import Foundation
 9 |
10 | protocol WebSocketsDelegate: class {
   |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
11 |     func recievedMessage<T: Codable>(message: T)
12 |     func disconnected()
[168/190] Compiling Solana SolanaSockets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:10:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 8 | import Foundation
 9 |
10 | protocol WebSocketsDelegate: class {
   |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
11 |     func recievedMessage<T: Codable>(message: T)
12 |     func disconnected()
[169/190] Compiling Solana WebSockets.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/WebSockets.swift:10:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 8 | import Foundation
 9 |
10 | protocol WebSocketsDelegate: class {
   |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
11 |     func recievedMessage<T: Codable>(message: T)
12 |     func disconnected()
[170/190] Compiling Solana Instruction.swift
[171/190] Compiling Solana GetAccountInfo.swift
[172/190] Compiling Solana GetBalanace.swift
[173/190] Compiling Solana GetBlockCommitment.swift
[174/190] Compiling Solana RpcError.swift
[175/190] Compiling Solana TokenBalance.swift
[176/190] Compiling Solana Transaction.swift
[177/190] Compiling Solana NetworkRequestType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:38:57: warning: capture of non-sendable type 'T.Type' in an isolated closure
36 |                   error == nil,
37 |                   let response = response,
38 |                   let objectOutput = try? JSONDecoder().decode(T.self, from: data)
   |                                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure
39 |             else {
40 |                 completion(.failure(SolanaAPIError.generic(message: "There was an issue decoding the response.")))
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:26:104: warning: capture of non-sendable type 'T.Type' in an isolated closure
24 |     }
25 |
26 |     public func decodableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
   |                                                                                                        `- warning: capture of non-sendable type 'T.Type' in an isolated closure
27 |
28 |         var tmpRequest = request
[178/190] Compiling Solana Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:38:57: warning: capture of non-sendable type 'T.Type' in an isolated closure
36 |                   error == nil,
37 |                   let response = response,
38 |                   let objectOutput = try? JSONDecoder().decode(T.self, from: data)
   |                                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure
39 |             else {
40 |                 completion(.failure(SolanaAPIError.generic(message: "There was an issue decoding the response.")))
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:26:104: warning: capture of non-sendable type 'T.Type' in an isolated closure
24 |     }
25 |
26 |     public func decodableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
   |                                                                                                        `- warning: capture of non-sendable type 'T.Type' in an isolated closure
27 |
28 |         var tmpRequest = request
[179/190] Compiling Solana Solana.swift
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:38:57: warning: capture of non-sendable type 'T.Type' in an isolated closure
36 |                   error == nil,
37 |                   let response = response,
38 |                   let objectOutput = try? JSONDecoder().decode(T.self, from: data)
   |                                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure
39 |             else {
40 |                 completion(.failure(SolanaAPIError.generic(message: "There was an issue decoding the response.")))
/Users/admin/builder/spi-builder-workspace/Sources/Solana/Networking.swift:26:104: warning: capture of non-sendable type 'T.Type' in an isolated closure
24 |     }
25 |
26 |     public func decodableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
   |                                                                                                        `- warning: capture of non-sendable type 'T.Type' in an isolated closure
27 |
28 |         var tmpRequest = request
[180/190] Compiling Solana GetEpochInfo.swift
[181/190] Compiling Solana SimulateTransaction.swift
[182/190] Compiling Solana RewardType.swift
[183/190] Compiling Solana Account.swift
[184/190] Compiling Solana Commitment.swift
[185/190] Compiling Solana Encoding.swift
[186/190] Compiling Solana Filter.swift
[187/190] Compiling Solana GetConfirmedBlocksWithLimit.swift
[188/190] Compiling Solana GetConfirmedSignaturesForAddress.swift
[189/190] Compiling Solana GetConfirmedSignaturesForAddress2.swift
[190/190] Compiling Solana GetConfirmedTransaction.swift
Build complete! (19.28s)
Fetching https://github.com/crewshin/ed25519swift
Fetching https://github.com/keefertaylor/Base58Swift
[1/534] Fetching base58swift
[103/1486] Fetching base58swift, ed25519swift
Fetched https://github.com/crewshin/ed25519swift from cache (0.97s)
Fetched https://github.com/keefertaylor/Base58Swift from cache (0.97s)
Computing version for https://github.com/keefertaylor/Base58Swift
Computed https://github.com/keefertaylor/Base58Swift at 2.1.14 (1.49s)
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.22s)
Computing version for https://github.com/crewshin/ed25519swift
Computed https://github.com/crewshin/ed25519swift at 1.2.6 (1.73s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.57s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (1.97s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.48s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/keefertaylor/Base58Swift
Working copy of https://github.com/keefertaylor/Base58Swift resolved at 2.1.14
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/ed25519swift
Working copy of https://github.com/crewshin/ed25519swift resolved at 1.2.6
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.5",
            "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/Commitment.swift",
        "Models/Encoding.swift",
        "Models/Filter.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/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/SimulateTransaction.swift",
        "Models/RewardType.swift",
        "Models/RpcError.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.