The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TonSdkSwift, reference 1.8.0 (28bbd5), with Swift 6.4 for Wasm on 24 Nov 2026 01:59:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 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: 1.8.0
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
 * tag               1.8.0      -> FETCH_HEAD
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 1.8.0
========================================
Build
========================================
Selected platform:         wasm
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-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/bytehubio/BigInt
Fetching https://github.com/nerzh/swift-net-layer
Fetching https://github.com/nerzh/swift-extensions-pack
Fetching https://github.com/nerzh/swift-regular-expression
[1/61] Fetching swift-regular-expression
[62/1566] Fetching swift-regular-expression, swift-extensions-pack
Fetched https://github.com/nerzh/swift-regular-expression (0.32s)
[16/1505] Fetching swift-extensions-pack
[423/2218] Fetching swift-extensions-pack, swift-net-layer
[2003/6684] Fetching swift-extensions-pack, swift-net-layer, bigint
Fetched https://github.com/nerzh/swift-net-layer (0.38s)
[1550/5971] Fetching swift-extensions-pack, bigint
Fetched https://github.com/nerzh/swift-extensions-pack (0.38s)
[179/4466] Fetching bigint
Fetched https://github.com/bytehubio/BigInt (0.54s)
Computing version for https://github.com/nerzh/swift-net-layer
Computed https://github.com/nerzh/swift-net-layer at 2.3.0 (0.69s)
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.88s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.15.0 (0.15s)
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/bytehubio/ed25519
[1/204] Fetching ed25519
Fetched https://github.com/bytehubio/ed25519 (0.36s)
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto (1.21s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (1.35s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.1.2 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.61s)
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/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.1.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/bytehubio/BigInt
Working copy of https://github.com/bytehubio/BigInt resolved at 5.7.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-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.1.2
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
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]
[90 / 561] CryptoBoringWrapper
[102 / 561] SwiftASN1
[113 / 561] SwiftRegularExpression-product
[114 / 561] Ed25519
[117 / 561] SwiftASN1
[119 / 561] Ed25519-product
[121 / 561] Ed25519-product
[127 / 562] CryptoBoringWrapper
[130 / 562] Crypto
[141 / 573] CEd25519
[151 / 574] CCryptoBoringSSL
[152 / 575] CCryptoBoringSSL
[159 / 575] CCryptoBoringSSL
[164 / 575] CCryptoBoringSSL
[171 / 575] CCryptoBoringSSL
[172 / 575] CCryptoBoringSSL
[177 / 575] CCryptoBoringSSL
[179 / 575] CCryptoBoringSSL
[180 / 575] CCryptoBoringSSL
[185 / 575] CCryptoBoringSSL
[187 / 575] CCryptoBoringSSL
[189 / 575] CCryptoBoringSSL
[190 / 575] CCryptoBoringSSL
[201 / 575] CCryptoBoringSSL
[205 / 575] CCryptoBoringSSL
[208 / 575] CCryptoBoringSSL
[212 / 575] CCryptoBoringSSL
[214 / 575] CCryptoBoringSSL
[218 / 575] CCryptoBoringSSL
[221 / 575] CCryptoBoringSSL
[226 / 575] CCryptoBoringSSL
[230 / 575] CCryptoBoringSSL
[232 / 575] CCryptoBoringSSL
[236 / 575] CCryptoBoringSSL
[239 / 575] CCryptoBoringSSL
[242 / 575] CCryptoBoringSSL
[244 / 575] CCryptoBoringSSL
[248 / 575] CCryptoBoringSSL
[258 / 575] CCryptoBoringSSL
[274 / 575] CCryptoBoringSSL
[283 / 575] CCryptoBoringSSL
[285 / 575] CCryptoBoringSSL
[289 / 575] CCryptoBoringSSL
[292 / 575] CCryptoBoringSSL
[298 / 575] CCryptoBoringSSL
[301 / 575] CCryptoBoringSSL
[304 / 575] CCryptoBoringSSL
[307 / 575] CCryptoBoringSSL
[309 / 575] CCryptoBoringSSL
[313 / 575] CCryptoBoringSSL
[317 / 575] CCryptoBoringSSL
[319 / 575] CCryptoBoringSSL
[321 / 575] CCryptoBoringSSL
[323 / 575] CCryptoBoringSSL
[326 / 575] CCryptoBoringSSL
[328 / 575] CCryptoBoringSSL
[334 / 575] CCryptoBoringSSL
[341 / 575] CCryptoBoringSSL
[344 / 575] CCryptoBoringSSL
[348 / 575] CCryptoBoringSSL
[353 / 575] CCryptoBoringSSL
[357 / 575] CCryptoBoringSSL
[360 / 575] CCryptoBoringSSL
[372 / 575] CCryptoBoringSSL
[381 / 575] CCryptoBoringSSL
[384 / 575] CCryptoBoringSSL
[389 / 575] CCryptoBoringSSL
[392 / 575] CCryptoBoringSSL
[398 / 575] CCryptoBoringSSL
[402 / 575] CCryptoBoringSSL
[406 / 575] CCryptoBoringSSL
[409 / 575] CCryptoBoringSSL
[414 / 575] CCryptoBoringSSL
[416 / 575] CCryptoBoringSSL
[421 / 575] CCryptoBoringSSL
[422 / 575] CCryptoBoringSSL
[427 / 575] CCryptoBoringSSL
[429 / 575] CCryptoBoringSSL
[440 / 575] CCryptoBoringSSL
[448 / 575] CCryptoBoringSSL
[454 / 575] CCryptoBoringSSL
[455 / 575] CCryptoBoringSSL
[459 / 575] CCryptoBoringSSL
[463 / 575] CCryptoBoringSSL
[466 / 575] CCryptoBoringSSL
[469 / 575] CCryptoBoringSSL
[471 / 575] CCryptoBoringSSL
[475 / 575] CCryptoBoringSSL
[486 / 575] CCryptoBoringSSL
[496 / 575] CCryptoBoringSSL
[500 / 575] CCryptoBoringSSL
[503 / 575] CCryptoBoringSSL
[504 / 575] CCryptoBoringSSL
[509 / 575] CCryptoBoringSSL
[510 / 575] CCryptoBoringSSL
[512 / 575] CCryptoBoringSSL
[516 / 575] SwiftRegularExpression
[523 / 575] SwiftASN1
[526 / 575] CCryptoBoringSSL
[527 / 575] CCryptoBoringSSL
[531 / 575]
[535 / 576] CCryptoBoringSSL
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating\ Point\ Conversion.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Floating\ Point\ Conversion.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 |     var mantissaParts: [UInt16] {
169 |         [
170 |             _mantissa.0,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 |         [
170 |             _mantissa.0,
171 |             _mantissa.1,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 |             _mantissa.0,
171 |             _mantissa.1,
172 |             _mantissa.2,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
173 |             _mantissa.3,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
174 |             _mantissa.4,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
175 |             _mantissa.5,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 |             _mantissa.6,
177 |             _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
176 |             _mantissa.6,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 |             _mantissa.7,
178 |         ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
177 |             _mantissa.7,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 |         ]
179 |     }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Addition.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Bitwise\ Ops.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Codable.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Data\ Conversion.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Division.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Exponentiation.swift -primary-file /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating\ Point\ Conversion.swift -primary-file /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/GCD.swift -primary-file /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Hashable.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Integer\ Conversion.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Multiplication.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Prime\ Test.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Random.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Shifts.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Square\ Root.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Strideable.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/String\ Conversion.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Subtraction.swift /host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Words\ and\ Bits.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/supplementaryOutputs-6 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name BigInt -package-name bigint -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/BigInt_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/Floating\ Point\ Conversion.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/GCD.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/Hashable.o -index-unit-output-path /BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/Floating\ Point\ Conversion.o -index-unit-output-path /BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/GCD.o -index-unit-output-path /BigInt.build/Debug-webassembly-wasm32/BigInt-t.build/Objects-normal/wasm32/Hashable.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm