The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TonSdkSwift, reference 1.6.0 (2c41a4), with Swift 6.4 for macOS (SPM) on 8 Oct 2026 19:47:11 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/ton-sdk-swift.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/ton-sdk-swift
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at 2c41a4b Use SwiftExtensionsPack crypto primitives and fix Linux test compatibility
Cloned https://github.com/nerzh/ton-sdk-swift.git
Revision (git rev-parse @):
2c41a4b46feec8dabac104c1a5d9ee9221fbc798
SUCCESS checkout https://github.com/nerzh/ton-sdk-swift.git at 1.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nerzh/ton-sdk-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 512]
[Planning deferred tasks]
[123 / 602] swift-crypto_Crypto
[131 / 602]
[146 / 608] Crypto
[152 / 616] CCryptoBoringSSL
[153 / 626]
[161 / 726]
[172 / 740] CCryptoBoringSSL
[182 / 740] Ed25519
[185 / 740] Ed25519
[194 / 740]
[198 / 740]
[210 / 740] CCryptoBoringSSL
[218 / 740]
[219 / 740]
[224 / 740] CCryptoBoringSSL
[230 / 740] CCryptoBoringSSL
[231 / 740]
[243 / 740] CCryptoBoringSSL
[255 / 740] CCryptoBoringSSL
[257 / 740]
[261 / 740]
[264 / 740]
[271 / 740]
[275 / 740]
[280 / 740]
[282 / 740] CCryptoBoringSSL
[288 / 740]
[291 / 740]
[293 / 740]
[300 / 740]
[303 / 740] CCryptoBoringSSL
[306 / 740] CCryptoBoringSSL
[310 / 740] CCryptoBoringSSL
[313 / 740] CCryptoBoringSSL
[316 / 740] BigInt
[321 / 740] SwiftRegularExpression
[324 / 740] SwiftRegularExpression
[341 / 740] CCryptoBoringSSL
[346 / 740] CCryptoBoringSSL
[360 / 740] CCryptoBoringSSL
[379 / 740] CCryptoBoringSSL
[389 / 740] CCryptoBoringSSL
[393 / 740] CCryptoBoringSSL
[405 / 740] CCryptoBoringSSL
[410 / 740] CCryptoBoringSSL
[412 / 740] CCryptoBoringSSL
[417 / 740] CCryptoBoringSSL
[418 / 740] CCryptoBoringSSL
[421 / 740] CCryptoBoringSSL
[425 / 740] CCryptoBoringSSL
[428 / 740] CCryptoBoringSSL
[433 / 740] CCryptoBoringSSL
[437 / 740] CCryptoBoringSSL
[438 / 740] CCryptoBoringSSL
[445 / 740] CCryptoBoringSSL
[457 / 740] CCryptoBoringSSL
[460 / 740] CCryptoBoringSSL
[465 / 740] CCryptoBoringSSL
[473 / 740] CCryptoBoringSSL
[481 / 740] CCryptoBoringSSL
[491 / 740] CCryptoBoringSSL
[498 / 740] CCryptoBoringSSL
[504 / 740] CCryptoBoringSSL
[508 / 740] CCryptoBoringSSL
[511 / 740] CCryptoBoringSSL
[515 / 740] CCryptoBoringSSL
[517 / 740] CCryptoBoringSSL
[520 / 740] CCryptoBoringSSL
[525 / 740] CCryptoBoringSSL
[527 / 740] CCryptoBoringSSL
[530 / 740] CCryptoBoringSSL
[535 / 740] CCryptoBoringSSL
[539 / 740] CCryptoBoringSSL
[545 / 740] CCryptoBoringSSL
[555 / 740] CCryptoBoringSSL
[563 / 740] CCryptoBoringSSL
[567 / 740] CCryptoBoringSSL
[572 / 740] CCryptoBoringSSL
[575 / 740] CCryptoBoringSSL
[578 / 740] CCryptoBoringSSL
[583 / 740] CCryptoBoringSSL
[589 / 740] CCryptoBoringSSL
[599 / 740] CCryptoBoringSSL
[611 / 740] CCryptoBoringSSL
[614 / 740] CCryptoBoringSSL
[616 / 740] CCryptoBoringSSL
[622 / 740] CCryptoBoringSSL
[625 / 740]
[634 / 740] SwiftASN1-product
[638 / 740] SwiftASN1
[642 / 740] SwiftASN1
[643 / 740] CEd25519
[652 / 740] Ed25519-product
[656 / 740] CryptoBoringWrapper
[661 / 740] Ed25519
[664 / 740] CryptoBoringWrapper
[665 / 740] Crypto
[666 / 740] Crypto
[676 / 740] CryptoBoringWrapper
[690 / 740] CEd25519
[698 / 740] BigInt
[701 / 740] SwiftASN1
[705 / 741] Crypto
[706 / 741] BigInt
[708 / 741] CryptoExtras
[720 / 753] CryptoExtras
[727 / 754] CryptoExtras
[740 / 766] SwiftExtensionsPack
[741 / 766] SwiftExtensionsPack
[748 / 767] SwiftExtensionsPack
[761 / 778] SwiftNetLayer
[768 / 779] SwiftNetLayer
[770 / 779] TonSdkSwift
[781 / 790] TonSdkSwift
[787 / 790] TonSdkSwift
Build complete! (22.68 sec)
Fetching https://github.com/nerzh/swift-net-layer
Fetching https://github.com/nerzh/swift-extensions-pack
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/bytehubio/BigInt
[1/61] Fetching swift-regular-expression
[49/1420] Fetching swift-regular-expression, swift-extensions-pack
[90/1887] Fetching swift-regular-expression, swift-extensions-pack, swift-net-layer
[296/6353] Fetching swift-regular-expression, swift-extensions-pack, swift-net-layer, bigint
Fetched https://github.com/nerzh/swift-net-layer (0.87s)
[1245/5886] Fetching swift-regular-expression, swift-extensions-pack, bigint
Fetched https://github.com/nerzh/swift-extensions-pack (1.00s)
Fetched https://github.com/nerzh/swift-regular-expression (1.00s)
[224/4466] Fetching bigint
Fetched https://github.com/bytehubio/BigInt (1.62s)
Computing version for https://github.com/bytehubio/BigInt
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/bytehubio/BigInt at 5.7.0 (2.27s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.11.0 (0.56s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/204] Fetching ed25519
[26/18807] Fetching ed25519, swift-crypto
Fetched https://github.com/apple/swift-crypto (3.75s)
Fetched https://github.com/bytehubio/ed25519 (3.75s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (6.68s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (0.59s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.0.0 (2.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.06s)
Computing version for https://github.com/nerzh/swift-net-layer
Computed https://github.com/nerzh/swift-net-layer at 1.8.0 (1.66s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.68s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Creating working copy for https://github.com/nerzh/swift-extensions-pack
Working copy of https://github.com/nerzh/swift-extensions-pack resolved at 2.11.0
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.1.0
Creating working copy for https://github.com/nerzh/swift-net-layer
Working copy of https://github.com/nerzh/swift-net-layer resolved at 1.8.0
Creating working copy for https://github.com/bytehubio/BigInt
Working copy of https://github.com/bytehubio/BigInt resolved at 5.7.0
warning: 'bigint': /Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: /Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Types/Cell.swift:428:18 TODO: fix this logic
warning: /Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Types/Coins.swift:204:10 Add additional operators
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Types/Coins.swift:204:10: warning: Add additional operators
202 |     }
203 |
204 | #warning("Add additional operators")
    |          `- warning: Add additional operators
205 | //    public static func &= (lhs: inout Coins, rhs: Coins) {
206 | //        lhs._nanoValue &= rhs.nanoValue
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Providers/TonCenter/ToncenterApi.swift:12:12: warning: class 'ToncenterApi' must restate inherited '@unchecked Sendable' conformance
10 | import SwiftExtensionsPack
11 |
12 | open class ToncenterApi: SNLResource {
   |            `- warning: class 'ToncenterApi' must restate inherited '@unchecked Sendable' conformance
13 |
14 |     public init(apiKey: String, domain: String = "toncenter.com/api/v2", `protocol`: SNLProtocolType, requestLimit: UInt = 5, timeRangeLimitSecond: UInt = 1) {
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Providers/TonCenter/ToncenterApi.swift:12:12: warning: class 'ToncenterApi' must restate inherited '@unchecked Sendable' conformance
10 | import SwiftExtensionsPack
11 |
12 | open class ToncenterApi: SNLResource {
   |            `- warning: class 'ToncenterApi' must restate inherited '@unchecked Sendable' conformance
13 |
14 |     public init(apiKey: String, domain: String = "toncenter.com/api/v2", `protocol`: SNLProtocolType, requestLimit: UInt = 5, timeRangeLimitSecond: UInt = 1) {
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Types/Coins.swift:204:10: warning: Add additional operators
202 |     }
203 |
204 | #warning("Add additional operators")
    |          `- warning: Add additional operators
205 | //    public static func &= (lhs: inout Coins, rhs: Coins) {
206 | //        lhs._nanoValue &= rhs.nanoValue
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Boc/Hashmap.swift:28:14: warning: 'prefixed' is deprecated: Prefix dictionaries are not supported by Hashmap [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 26 |     ) {
 27 |         self.keySize = keySize
 28 |         self.prefixed = prefixed
    |              `- warning: 'prefixed' is deprecated: Prefix dictionaries are not supported by Hashmap [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 29 |         self.nonEmpty = nonEmpty
 30 |         self.serializers = serializers
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Boc/Hashmap.swift:29:14: warning: 'nonEmpty' is deprecated: Use Hashmap for nonempty roots [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 27 |         self.keySize = keySize
 28 |         self.prefixed = prefixed
 29 |         self.nonEmpty = nonEmpty
    |              `- warning: 'nonEmpty' is deprecated: Use Hashmap for nonempty roots [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 30 |         self.serializers = serializers
 31 |         self.deserializers = deserializers
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Boc/Hashmap.swift:67:24: warning: 'prefixed' is deprecated: Prefix dictionaries are not supported by Hashmap [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 65 |             throw ErrorTonSdkSwift("Hashmap option keySize must match the explicit keySize")
 66 |         }
 67 |         guard options?.prefixed != true, options?.nonEmpty != true else {
    |                        `- warning: 'prefixed' is deprecated: Prefix dictionaries are not supported by Hashmap [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 68 |             throw ErrorTonSdkSwift("Prefix dictionaries are not supported by Hashmap and Hashmap for nonempty roots")
 69 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Boc/Hashmap.swift:67:51: warning: 'nonEmpty' is deprecated: Use Hashmap for nonempty roots [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 65 |             throw ErrorTonSdkSwift("Hashmap option keySize must match the explicit keySize")
 66 |         }
 67 |         guard options?.prefixed != true, options?.nonEmpty != true else {
    |                                                   `- warning: 'nonEmpty' is deprecated: Use Hashmap for nonempty roots [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 68 |             throw ErrorTonSdkSwift("Prefix dictionaries are not supported by Hashmap and Hashmap for nonempty roots")
 69 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Boc/Boc.swift:281:37: warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
279 |         if hasHashes {
280 |             for _ in 0..<hashCount {
281 |                 storedHashes.append(try Data(mutableRemainder.prefix(32)).toHex())
    |                                     `- warning: no calls to throwing functions occur within 'try' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\]
282 |                 mutableRemainder.removeFirst(32)
283 |             }
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
/Users/admin/builder/spi-builder-workspace/Sources/TonSdkSwift/Types/Cell.swift:428:18: warning: TODO: fix this logic
426 |     // Print cell as fift-hex
427 |     public func printCell(indent: Int = 1, size: Int = 0) throws -> String {
428 |         #warning("TODO: fix this logic")
    |                  `- warning: TODO: fix this logic
429 |         let bitsCopy = bits
430 |         let areDivisible = bitsCopy.count % 4 == 0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-regular-expression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerzh/swift-regular-expression"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.7.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bytehubio/BigInt"
    },
    {
      "identity" : "swift-extensions-pack",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.10.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerzh/swift-extensions-pack"
    },
    {
      "identity" : "swift-net-layer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nerzh/swift-net-layer"
    }
  ],
  "manifest_display_name" : "TonSdkSwift",
  "name" : "TonSdkSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TonSdkSwift",
      "targets" : [
        "TonSdkSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TonSdkSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "TonSdkSwiftTests",
      "path" : "Tests/TonSdkSwiftTests",
      "product_dependencies" : [
        "SwiftRegularExpression",
        "SwiftExtensionsPack",
        "BigInt",
        "SwiftNetLayer"
      ],
      "sources" : [
        "AddressTests.swift",
        "BOCOrderingAuditTests.swift",
        "BitsTests.swift",
        "CellBuilderTests.swift",
        "CellCoreAuditTests.swift",
        "CellSliceTests.swift",
        "CellTests.swift",
        "CoinsTests.swift",
        "CryptoTests.swift",
        "De+SerializerTests.swift",
        "DictionaryAuditRegressionTests.swift",
        "ExampleTests.swift",
        "HashmapRegressionTests.swift",
        "HashmapTests.swift",
        "JohnnyMnemonicTests.swift",
        "MalformedBOCRegressionTests.swift",
        "MerkleProofTests.swift",
        "StateInitMessageRegressionTests.swift",
        "TONGappedHashRegressionTests.swift",
        "UpstreamBaselineRegressionTests.swift",
        "UpstreamCellBOCRegressionTests.swift"
      ],
      "target_dependencies" : [
        "TonSdkSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TonSdkSwift",
      "module_type" : "SwiftTarget",
      "name" : "TonSdkSwift",
      "path" : "Sources/TonSdkSwift",
      "product_dependencies" : [
        "SwiftRegularExpression",
        "SwiftExtensionsPack",
        "BigInt",
        "SwiftNetLayer"
      ],
      "product_memberships" : [
        "TonSdkSwift"
      ],
      "sources" : [
        "Boc/Boc.swift",
        "Boc/CellBuilder.swift",
        "Boc/CellSlice.swift",
        "Boc/DictionaryLabel.swift",
        "Boc/Hashmap.swift",
        "JohnnyMnemonic/MnemonicUtils.swift",
        "JohnnyMnemonic/TonMnemonic.swift",
        "JohnnyMnemonic/Words/English.swift",
        "Providers/TonCenter/Targets/ToncenterApiJsonRPCTarget.swift",
        "Providers/TonCenter/Targets/ToncenterApiTargetModels.swift",
        "Providers/TonCenter/ToncenterApi.swift",
        "Types/Address.swift",
        "Types/Block.swift",
        "Types/Cell.swift",
        "Types/Coins.swift",
        "Types/Mask.swift",
        "Utils/Bits.swift",
        "Utils/Checksum.swift",
        "Utils/ErrorTonSdkSwift.swift",
        "Utils/Helpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.