The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TonSdkSwift, reference main (28bbd5), with Swift 6.4 for Linux on 24 Nov 2026 02:00:37 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 28bbd5d Update SwiftNetLayer to 2.3.0
Cloned https://github.com/nerzh/ton-sdk-swift.git
Revision (git rev-parse @):
28bbd5d4e4ab1c063ccae0917d432b3af5969a49
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-53886769-0":/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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/nerzh/swift-net-layer
Fetching https://github.com/nerzh/swift-extensions-pack
Fetching https://github.com/bytehubio/BigInt
Fetching https://github.com/nerzh/swift-regular-expression
[1/1505] Fetching swift-extensions-pack
[17/2218] Fetching swift-extensions-pack, swift-net-layer
[231/2279] Fetching swift-extensions-pack, swift-net-layer, swift-regular-expression
Fetched https://github.com/nerzh/swift-net-layer (0.38s)
[1/4466] Fetching bigint
Fetched https://github.com/nerzh/swift-regular-expression (0.57s)
Fetched https://github.com/nerzh/swift-extensions-pack (0.57s)
Fetched https://github.com/bytehubio/BigInt (0.57s)
Computing version for https://github.com/nerzh/swift-net-layer
Computed https://github.com/nerzh/swift-net-layer at 2.3.0 (0.72s)
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.15s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (0.86s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.15.0 (0.14s)
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/bytehubio/ed25519
[1/19023] Fetching swift-crypto
[572/19227] Fetching swift-crypto, ed25519
Fetched https://github.com/bytehubio/ed25519 (1.19s)
Fetched https://github.com/apple/swift-crypto (1.20s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (1.34s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.1.2 (0.91s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.63s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.1.2
Creating working copy for https://github.com/nerzh/swift-extensions-pack
Working copy of https://github.com/nerzh/swift-extensions-pack resolved at 2.15.0
Creating working copy for https://github.com/nerzh/swift-net-layer
Working copy of https://github.com/nerzh/swift-net-layer resolved at 2.3.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.5
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/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
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]
[104 / 575] SwiftASN1
[106 / 575] SwiftRegularExpression
[117 / 575] SwiftASN1
[120 / 575] SwiftASN1
[132 / 575] SwiftASN1-product
[138 / 575] CryptoBoringWrapper
[139 / 576] Ed25519
[143 / 576] CryptoBoringWrapper
[144 / 576] SwiftASN1
[157 / 577] SwiftASN1
[168 / 579] CCryptoBoringSSL
[176 / 579] CCryptoBoringSSL
[182 / 579] CCryptoBoringSSL
[186 / 579] CCryptoBoringSSL
[189 / 579] CCryptoBoringSSL
[191 / 579] CCryptoBoringSSL
[194 / 579] CCryptoBoringSSL
[198 / 579] CCryptoBoringSSL
[200 / 579] CCryptoBoringSSL
[214 / 579] CCryptoBoringSSL
[215 / 579] CCryptoBoringSSL
[218 / 579] CCryptoBoringSSL
[223 / 579] CCryptoBoringSSL
[229 / 579] CCryptoBoringSSL
[231 / 579] CCryptoBoringSSL
[239 / 579] CCryptoBoringSSL
[246 / 579] CCryptoBoringSSL
[247 / 579] CCryptoBoringSSL
[252 / 579] CCryptoBoringSSL
[254 / 579] CCryptoBoringSSL
[258 / 579] CCryptoBoringSSL
[272 / 579] CCryptoBoringSSL
[289 / 579] CCryptoBoringSSL
[294 / 579] CCryptoBoringSSL
[299 / 579] CCryptoBoringSSL
[303 / 579] CCryptoBoringSSL
[309 / 579] CCryptoBoringSSL
[311 / 579] CCryptoBoringSSL
[314 / 579] CCryptoBoringSSL
[318 / 579] CCryptoBoringSSL
[321 / 579] CCryptoBoringSSL
[323 / 579] CCryptoBoringSSL
[327 / 579] CCryptoBoringSSL
[331 / 579] CCryptoBoringSSL
[334 / 579] CCryptoBoringSSL
[337 / 579] CCryptoBoringSSL
[344 / 579] CCryptoBoringSSL
[353 / 579] CCryptoBoringSSL
[354 / 579] CCryptoBoringSSL
[363 / 579] CCryptoBoringSSL
[367 / 579] CCryptoBoringSSL
[373 / 579] CCryptoBoringSSL
[386 / 579] CCryptoBoringSSL
[391 / 579] CCryptoBoringSSL
[401 / 579] CCryptoBoringSSL
[403 / 579] CCryptoBoringSSL
[407 / 579] CCryptoBoringSSL
[412 / 579] CCryptoBoringSSL
[415 / 579] CCryptoBoringSSL
[422 / 579] CCryptoBoringSSL
[427 / 579] CCryptoBoringSSL
[428 / 579] CCryptoBoringSSL
[434 / 579] CCryptoBoringSSL
[437 / 579] CCryptoBoringSSL
[442 / 579] CCryptoBoringSSL
[448 / 579] CCryptoBoringSSL
[461 / 579] CCryptoBoringSSL
[465 / 579] CCryptoBoringSSL
[469 / 579] CCryptoBoringSSL
[476 / 579] CCryptoBoringSSL
[478 / 579] CCryptoBoringSSL
[482 / 579] CCryptoBoringSSL
[490 / 579] CCryptoBoringSSL
[501 / 579] CCryptoBoringSSL
[511 / 579] CCryptoBoringSSL
[514 / 579] CCryptoBoringSSL
[517 / 579] CCryptoBoringSSL
[522 / 579] CCryptoBoringSSL
[525 / 579] CCryptoBoringSSL
[535 / 581] CEd25519
[542 / 599] Crypto
[544 / 599] Crypto
[547 / 599] BigInt
[553 / 599] Crypto
[554 / 599] Crypto
[555 / 599] Crypto
[556 / 599] Crypto
[562 / 599] Crypto
[563 / 599] CryptoExtras
[565 / 600] CryptoExtras
[567 / 609] CryptoExtras
[568 / 609] CryptoExtras
[570 / 609] CryptoExtras
[572 / 611] CryptoExtras
[574 / 611] CryptoExtras
[584 / 611] BigInt
[587 / 621] SwiftExtensionsPack
[589 / 621] SwiftExtensionsPack
[590 / 621] SwiftExtensionsPack
[592 / 621] SwiftExtensionsPack
[593 / 621] SwiftExtensionsPack
[595 / 621] SwiftExtensionsPack
[605 / 632] SwiftNetLayer
[606 / 632] SwiftNetLayer
[610 / 632] SwiftNetLayer
[616 / 632] SwiftNetLayer
[622 / 642] TonSdkSwift
[624 / 643] TonSdkSwift
[626 / 644] 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) {
[630 / 644] SwiftExtensionsPack
[638 / 644] Crypto
/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
[641 / 644] SwiftNetLayer
/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! (21.99 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" : "2.3.0",
            "upper_bound" : "3.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",
        "SignedIntegerRegressionTests.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"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.