The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TonSdkSwift, reference main (2c41a4), with Swift 6.4 for macOS (SPM) on 8 Oct 2026 20:01:25 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/ton-sdk-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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_CryptoBoringWrapper
[131 / 602]
[143 / 608] SwiftASN1
[152 / 616] CCryptoBoringSSL
[152 / 626] SwiftRegularExpression
[161 / 726]
[176 / 740] Ed25519
[183 / 740] Ed25519
[192 / 740]
[195 / 740]
[199 / 740]
[210 / 740] CCryptoBoringSSL
[220 / 740]
[221 / 740]
[224 / 740] CCryptoBoringSSL
[232 / 740] CCryptoBoringSSL
[239 / 740] CCryptoBoringSSL
[248 / 740] CCryptoBoringSSL
[258 / 740]
[260 / 740]
[264 / 740]
[268 / 740]
[273 / 740] CCryptoBoringSSL
[278 / 740]
[282 / 740]
[285 / 740] CCryptoBoringSSL
[289 / 740] CCryptoBoringSSL
[295 / 740]
[299 / 740] CCryptoBoringSSL
[304 / 740] CCryptoBoringSSL
[305 / 740] CCryptoBoringSSL
[307 / 740] CCryptoBoringSSL
[314 / 740] SwiftASN1
[316 / 740]
[319 / 740] Crypto
[324 / 740] CCryptoBoringSSL
[328 / 740] Crypto
[348 / 740] BigInt
[357 / 740] CCryptoBoringSSL
[367 / 740] CCryptoBoringSSL
[378 / 740] CCryptoBoringSSL
[397 / 740] CCryptoBoringSSL
[401 / 740] CCryptoBoringSSL
[405 / 740] CCryptoBoringSSL
[411 / 740] CCryptoBoringSSL
[414 / 740] CCryptoBoringSSL
[420 / 740] CCryptoBoringSSL
[424 / 740] CCryptoBoringSSL
[427 / 740] CCryptoBoringSSL
[430 / 740] CCryptoBoringSSL
[434 / 740] CCryptoBoringSSL
[438 / 740] CCryptoBoringSSL
[440 / 740] CCryptoBoringSSL
[446 / 740] CCryptoBoringSSL
[456 / 740] CCryptoBoringSSL
[462 / 740] CCryptoBoringSSL
[463 / 740] CCryptoBoringSSL
[468 / 740] CCryptoBoringSSL
[475 / 740] CCryptoBoringSSL
[482 / 740] CCryptoBoringSSL
[491 / 740] CCryptoBoringSSL
[495 / 740] CCryptoBoringSSL
[501 / 740] CCryptoBoringSSL
[506 / 740] CCryptoBoringSSL
[507 / 740] CCryptoBoringSSL
[511 / 740] CCryptoBoringSSL
[514 / 740] CCryptoBoringSSL
[517 / 740] CCryptoBoringSSL
[520 / 740] CCryptoBoringSSL
[523 / 740] CCryptoBoringSSL
[527 / 740] CCryptoBoringSSL
[530 / 740] CCryptoBoringSSL
[533 / 740] CCryptoBoringSSL
[537 / 740] CCryptoBoringSSL
[542 / 740] CCryptoBoringSSL
[547 / 740] CCryptoBoringSSL
[555 / 740] CCryptoBoringSSL
[563 / 740] CCryptoBoringSSL
[568 / 740] CCryptoBoringSSL
[573 / 740] CCryptoBoringSSL
[577 / 740] CCryptoBoringSSL
[579 / 740] CCryptoBoringSSL
[582 / 740] CCryptoBoringSSL
[586 / 740] CCryptoBoringSSL
[590 / 740] CCryptoBoringSSL
[598 / 740] CCryptoBoringSSL
[608 / 740] CCryptoBoringSSL
[616 / 740] CCryptoBoringSSL
[617 / 740] CCryptoBoringSSL
[619 / 740] CCryptoBoringSSL
[624 / 740] CCryptoBoringSSL
[626 / 740] CCryptoBoringSSL
[628 / 740]
[638 / 740] SwiftASN1-product
[642 / 740] SwiftASN1
[644 / 740]
[646 / 740] CEd25519
[656 / 740] Ed25519
[660 / 740] Ed25519
[664 / 740] CryptoBoringWrapper
[668 / 740] CryptoBoringWrapper
[669 / 740] CryptoBoringWrapper
[670 / 740] CryptoBoringWrapper
[671 / 740] Crypto
[672 / 740] Crypto
[681 / 740] Crypto
[695 / 740] CEd25519
[698 / 740] CEd25519
[703 / 741]
[705 / 741] CEd25519-product
[706 / 741] BigInt
[708 / 741] BigInt
[709 / 753]
[720 / 753] CryptoExtras
[727 / 754] CryptoExtras
[738 / 766] SwiftExtensionsPack
[739 / 766] SwiftExtensionsPack
[741 / 766] SwiftExtensionsPack
[748 / 767] SwiftExtensionsPack
[758 / 778] SwiftNetLayer
[761 / 778] SwiftNetLayer
[770 / 779] SwiftNetLayer
[770 / 779] TonSdkSwift
[781 / 790] TonSdkSwift
[787 / 790] TonSdkSwift
Build complete! (25.11 sec)
Fetching https://github.com/nerzh/swift-net-layer
Fetching https://github.com/bytehubio/BigInt
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/nerzh/swift-extensions-pack
[1/61] Fetching swift-regular-expression
[49/1420] Fetching swift-regular-expression, swift-extensions-pack
[77/1887] Fetching swift-regular-expression, swift-extensions-pack, swift-net-layer
[288/6353] Fetching swift-regular-expression, swift-extensions-pack, swift-net-layer, bigint
Fetched https://github.com/nerzh/swift-extensions-pack (1.63s)
Fetched https://github.com/nerzh/swift-net-layer (1.63s)
Fetched https://github.com/bytehubio/BigInt (1.63s)
Fetched https://github.com/nerzh/swift-regular-expression (1.63s)
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.26s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.11.0 (0.57s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/204] Fetching ed25519
[181/18807] Fetching ed25519, swift-crypto
Fetched https://github.com/apple/swift-crypto (2.66s)
Fetched https://github.com/bytehubio/ed25519 (2.66s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (5.46s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (0.55s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.0.0 (2.23s)
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.65s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.63s)
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/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.0.0
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/BigInt
Working copy of https://github.com/bytehubio/BigInt resolved at 5.7.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-net-layer
Working copy of https://github.com/nerzh/swift-net-layer resolved at 1.8.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/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/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/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.