The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TonSdkSwift, reference main (2c41a4), with Swift 6.4 for Linux on 8 Oct 2026 19:39:36 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nerzh/ton-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/nerzh/swift-net-layer
Fetching https://github.com/bytehubio/BigInt
Fetching https://github.com/nerzh/swift-extensions-pack
Fetching https://github.com/nerzh/swift-regular-expression
[1/4466] Fetching bigint
[2/4933] Fetching bigint, swift-net-layer
[789/6292] Fetching bigint, swift-net-layer, swift-extensions-pack
[3928/6353] Fetching bigint, swift-net-layer, swift-extensions-pack, swift-regular-expression
Fetched https://github.com/nerzh/swift-regular-expression (0.49s)
[5935/6292] Fetching bigint, swift-net-layer, swift-extensions-pack
Fetched https://github.com/nerzh/swift-net-layer (0.58s)
Fetched https://github.com/nerzh/swift-extensions-pack (0.58s)
Fetched https://github.com/bytehubio/BigInt (0.58s)
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 (0.75s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.11.0 (0.16s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/18603] Fetching swift-crypto
[560/18807] Fetching swift-crypto, ed25519
Fetched https://github.com/bytehubio/ed25519 (1.53s)
Fetched https://github.com/apple/swift-crypto (1.54s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (2.43s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (0.14s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.0.0 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.72s)
Computing version for https://github.com/nerzh/swift-net-layer
Computed https://github.com/nerzh/swift-net-layer at 1.8.0 (0.87s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.18s)
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/bytehubio/BigInt
Working copy of https://github.com/bytehubio/BigInt resolved at 5.7.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/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/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/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.0.0
warning: 'bigint': /host/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>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 485]
[Planning deferred tasks]
[99 / 557] Ed25519
[106 / 575] Ed25519
[117 / 575] CEd25519
[121 / 575] SwiftRegularExpression
[129 / 575] SwiftASN1
[133 / 575] SwiftASN1
[144 / 575] Ed25519
[149 / 575] CryptoBoringWrapper
[150 / 576] Ed25519
[152 / 576] Ed25519
[154 / 576] CryptoBoringWrapper
[156 / 576] CryptoBoringWrapper
[159 / 577] CryptoBoringWrapper
[164 / 579] CCryptoBoringSSL
[165 / 579] CCryptoBoringSSL
[168 / 579] CCryptoBoringSSL
[169 / 579] CCryptoBoringSSL
[173 / 579] CCryptoBoringSSL
[181 / 579] CCryptoBoringSSL
[183 / 579] CCryptoBoringSSL
[185 / 579] CCryptoBoringSSL
[188 / 579] CCryptoBoringSSL
[190 / 579] CCryptoBoringSSL
[193 / 579] CCryptoBoringSSL
[197 / 579] CCryptoBoringSSL
[202 / 579] CCryptoBoringSSL
[208 / 579] CCryptoBoringSSL
[211 / 579] CCryptoBoringSSL
[213 / 579] CCryptoBoringSSL
[214 / 579] CCryptoBoringSSL
[217 / 579] CCryptoBoringSSL
[219 / 579] CCryptoBoringSSL
[223 / 579] CCryptoBoringSSL
[225 / 579] CCryptoBoringSSL
[227 / 579] CCryptoBoringSSL
[230 / 579] CCryptoBoringSSL
[232 / 579] CCryptoBoringSSL
[236 / 579] CCryptoBoringSSL
[242 / 579] CCryptoBoringSSL
[245 / 579] CCryptoBoringSSL
[249 / 579] CCryptoBoringSSL
[250 / 579] CCryptoBoringSSL
[253 / 579] CCryptoBoringSSL
[258 / 579] CCryptoBoringSSL
[267 / 579] CCryptoBoringSSL
[280 / 579] CCryptoBoringSSL
[291 / 579] CCryptoBoringSSL
[296 / 579] CCryptoBoringSSL
[297 / 579] CCryptoBoringSSL
[301 / 579] CCryptoBoringSSL
[305 / 579] CCryptoBoringSSL
[309 / 579] CCryptoBoringSSL
[312 / 579] CCryptoBoringSSL
[316 / 579] CCryptoBoringSSL
[322 / 579] CCryptoBoringSSL
[326 / 579] CCryptoBoringSSL
[327 / 579] CCryptoBoringSSL
[332 / 579] CCryptoBoringSSL
[333 / 579] CCryptoBoringSSL
[341 / 579] CCryptoBoringSSL
[348 / 579] CCryptoBoringSSL
[350 / 579] CCryptoBoringSSL
[357 / 579] CCryptoBoringSSL
[358 / 579] CCryptoBoringSSL
[362 / 579] CCryptoBoringSSL
[368 / 579] CCryptoBoringSSL
[373 / 579] CCryptoBoringSSL
[386 / 579] CCryptoBoringSSL
[389 / 579] CCryptoBoringSSL
[395 / 579] CCryptoBoringSSL
[398 / 579] CCryptoBoringSSL
[401 / 579] CCryptoBoringSSL
[407 / 579] CCryptoBoringSSL
[408 / 579] CCryptoBoringSSL
[409 / 579] CCryptoBoringSSL
[414 / 579] CCryptoBoringSSL
[415 / 579] CCryptoBoringSSL
[419 / 579] CCryptoBoringSSL
[424 / 579] CCryptoBoringSSL
[428 / 579] CCryptoBoringSSL
[431 / 579] CCryptoBoringSSL
[436 / 579] CCryptoBoringSSL
[442 / 579] CCryptoBoringSSL
[447 / 579] CCryptoBoringSSL
[457 / 579] CCryptoBoringSSL
[461 / 579] CCryptoBoringSSL
[466 / 579] CCryptoBoringSSL
[468 / 579] CCryptoBoringSSL
[474 / 579] CCryptoBoringSSL
[475 / 579] CCryptoBoringSSL
[481 / 579] CCryptoBoringSSL
[484 / 579] CCryptoBoringSSL
[487 / 579] CCryptoBoringSSL
[497 / 579] CCryptoBoringSSL
[508 / 579] CCryptoBoringSSL
[510 / 579] CCryptoBoringSSL
[512 / 579] CCryptoBoringSSL
[514 / 579] CCryptoBoringSSL
[515 / 579] CCryptoBoringSSL
[517 / 579] CCryptoBoringSSL
[521 / 579] CCryptoBoringSSL
[522 / 579] CCryptoBoringSSL
[529 / 579] CryptoBoringWrapper
[540 / 590] BigInt
[544 / 599] Crypto
[546 / 599] BigInt
[554 / 599] Crypto
[555 / 599] Crypto
[557 / 599] BigInt
[561 / 599] Crypto
[565 / 600] CryptoExtras
[569 / 609] CryptoExtras
[570 / 610] CryptoExtras
[570 / 610] Crypto
[571 / 610] Crypto
[573 / 611] CryptoExtras
[576 / 611] Crypto
[582 / 611] CryptoExtras-product
[585 / 612] SwiftExtensionsPack
[588 / 621] SwiftExtensionsPack
[589 / 621] SwiftExtensionsPack
[590 / 621] SwiftExtensionsPack
[591 / 621] CCryptoBoringSSL
[591 / 621] SwiftExtensionsPack
[598 / 621] SwiftExtensionsPack-product
[601 / 622]
[603 / 631] SwiftNetLayer
[605 / 631] SwiftNetLayer
[608 / 631] SwiftNetLayer
[614 / 631] SwiftNetLayer
[615 / 631] SwiftNetLayer-product
[620 / 641] TonSdkSwift
[626 / 643] TonSdkSwift
/host/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
/host/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) {
[627 / 644] TonSdkSwift
[637 / 644] TonSdkSwift-product
[640 / 644] SwiftExtensionsPack
/host/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
/host/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) {
[641 / 644] TonSdkSwift
/host/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
/host/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
/host/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 |         }
/host/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>
/host/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>
/host/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! (27.07 secs)
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" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.