The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TonConnect, reference 1.0.1 (354279), with Swift 6.4 for Wasm on 20 Sep 2026 19:46:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bbetsey/tonconnect-swift.git
Reference: 1.0.1
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/bbetsey/tonconnect-swift
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 3542799 Merge pull request #49 from bbetsey/develop
Cloned https://github.com/bbetsey/tonconnect-swift.git
Revision (git rev-parse @):
35427994b83dbc1842d0a0a5ef63f3ea80dd3487
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bbetsey/tonconnect-swift.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/bbetsey/tonconnect-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.68s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 560]
[Constructing 108 / 1052]
warning: no rule to process file '/host/spi-builder-workspace/Sources/TonConnectUI/Resources/Media.xcassets' of type 'folder.assetcatalog' for architecture 'wasm32'
[88 / 152] CTweetNacl
[93 / 161] CTweetNacl
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:24:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |     private let lastEventId: String?
 23 |     private var parser = SSEEventParser()
 24 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     private var task: URLSessionDataTask?
 26 |     private let stateLock = NSLock()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:25:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     private var parser = SSEEventParser()
 24 |     private var session: URLSession!
 25 |     private var task: URLSessionDataTask?
    |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     private let stateLock = NSLock()
 27 |     private var _readyState: ReadyState = .connecting
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:31:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     /// protocolClasses. URLProtocol.registerClass has no effect on sessions with
 30 |     /// a custom configuration (verified empirically).
 31 |     var sessionConfiguration: URLSessionConfiguration = .ephemeral
    |                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |     /// The stream is open — set these before calling ``connect()``.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:31:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 29 |     /// protocolClasses. URLProtocol.registerClass has no effect on sessions with
 30 |     /// a custom configuration (verified empirically).
 31 |     var sessionConfiguration: URLSessionConfiguration = .ephemeral
    |                                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 32 |
 33 |     /// The stream is open — set these before calling ``connect()``.
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:31:58: error: value of type '_' expected to be instance of class or class-constrained type
 29 |     /// protocolClasses. URLProtocol.registerClass has no effect on sessions with
 30 |     /// a custom configuration (verified empirically).
 31 |     var sessionConfiguration: URLSessionConfiguration = .ephemeral
    |                                                          `- error: value of type '_' expected to be instance of class or class-constrained type
 32 |
 33 |     /// The stream is open — set these before calling ``connect()``.
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:55:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     /// sessionConfiguration — a seam for tests/debugging (the fake's protocolClasses).
 54 |     public init(url: String, lastEventId: String?,
 55 |                 sessionConfiguration: URLSessionConfiguration = .ephemeral) {
    |                                       `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |         self.url = url
 57 |         self.lastEventId = lastEventId
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:55:66: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 53 |     /// sessionConfiguration — a seam for tests/debugging (the fake's protocolClasses).
 54 |     public init(url: String, lastEventId: String?,
 55 |                 sessionConfiguration: URLSessionConfiguration = .ephemeral) {
    |                                                                  `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 56 |         self.url = url
 57 |         self.lastEventId = lastEventId
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:55:66: error: value of type '_' expected to be instance of class or class-constrained type
 53 |     /// sessionConfiguration — a seam for tests/debugging (the fake's protocolClasses).
 54 |     public init(url: String, lastEventId: String?,
 55 |                 sessionConfiguration: URLSessionConfiguration = .ephemeral) {
    |                                                                  `- error: value of type '_' expected to be instance of class or class-constrained type
 56 |         self.url = url
 57 |         self.lastEventId = lastEventId
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:92:30: error: cannot find type 'URLSessionDataDelegate' in scope
 90 | }
 91 |
 92 | extension NativeEventSource: URLSessionDataDelegate {
    |                              `- error: cannot find type 'URLSessionDataDelegate' in scope
 93 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask,
 94 |                            didReceive response: URLResponse,
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:95:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 93 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask,
 94 |                            didReceive response: URLResponse,
 95 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 96 |         let code = (response as? HTTPURLResponse)?.statusCode ?? 0
 97 |         guard (200..<300).contains(code) else {
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:93:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |
 92 | extension NativeEventSource: URLSessionDataDelegate {
 93 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                            didReceive response: URLResponse,
 95 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:93:55: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |
 92 | extension NativeEventSource: URLSessionDataDelegate {
 93 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask,
    |                                                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |                            didReceive response: URLResponse,
 95 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:94:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 | extension NativeEventSource: URLSessionDataDelegate {
 93 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask,
 94 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
 96 |         let code = (response as? HTTPURLResponse)?.statusCode ?? 0
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:110:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |         completionHandler(.allow)
109 |     }
110 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         guard readyState == .open else { return } // a body after a refusal or a close
112 |         onRawData?(data) // "the stream sent something" — record BEFORE parsing
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:110:55: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |         completionHandler(.allow)
109 |     }
110 |     public func urlSession(_ s: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |         guard readyState == .open else { return } // a body after a refusal or a close
112 |         onRawData?(data) // "the stream sent something" — record BEFORE parsing
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:122:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
120 |         }
121 |     }
122 |     public func urlSession(_ s: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |         // The stream finished/dropped. NO reconnect — signal only.
124 |         if readyState != .closed { fail(error) }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift:122:51: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
120 |         }
121 |     }
122 |     public func urlSession(_ s: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                   `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |         // The stream finished/dropped. NO reconnect — signal only.
124 |         if readyState != .closed { fail(error) }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:11:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 | /// The cancellation handle — the polyfill wires it to a JS AbortSignal. Pure Swift.
10 | public final class NativeFetchTask: @unchecked Sendable {
11 |     private let task: URLSessionDataTask
   |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     init(_ task: URLSessionDataTask) { self.task = task }
13 |     public func cancel() { task.cancel() }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:12:18: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | public final class NativeFetchTask: @unchecked Sendable {
11 |     private let task: URLSessionDataTask
12 |     init(_ task: URLSessionDataTask) { self.task = task }
   |                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     public func cancel() { task.cancel() }
14 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:20:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// carried into the completion as .failure → the polyfill maps it to TonConnectError.network.
19 | public final class NativeFetch: @unchecked Sendable {
20 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     public init(session: URLSession = URLSession(configuration: .ephemeral)) {
22 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | public final class NativeFetch: @unchecked Sendable {
20 |     private let session: URLSession
21 |     public init(session: URLSession = URLSession(configuration: .ephemeral)) {
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.session = session
23 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:21:39: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
19 | public final class NativeFetch: @unchecked Sendable {
20 |     private let session: URLSession
21 |     public init(session: URLSession = URLSession(configuration: .ephemeral)) {
   |                                       `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |         self.session = session
23 |     }
/host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift:21:39: error: default argument value of type '_' cannot be converted to type 'AnyObject'
19 | public final class NativeFetch: @unchecked Sendable {
20 |     private let session: URLSession
21 |     public init(session: URLSession = URLSession(configuration: .ephemeral)) {
   |                                       `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
22 |         self.session = session
23 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/TonConnectTransport/NativeEventSource.swift /host/spi-builder-workspace/Sources/TonConnectTransport/NativeFetch.swift /host/spi-builder-workspace/Sources/TonConnectTransport/SSEEventParser.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TonConnectTransport -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/TonConnectTransport_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/Modules/TonConnectTransport.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/Modules/TonConnectTransport.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/TonConnectTransport-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/TonConnectTransport-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/TonConnectTransport-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TonConnect.build/Debug-webassembly-wasm32/TonConnectTransport-t.build/Objects-normal/wasm32/Modules/TonConnectTransport.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm