Build Information
Failed to build CommandLineToolkit, reference master (3b48cc), with Swift 6.4 for Wasm on 3 Oct 2026 01:31:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avito-tech/CommandLineToolkit.git
Reference: master
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/avito-tech/CommandLineToolkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3b48ccf reduce codegen invalidations
Cloned https://github.com/avito-tech/CommandLineToolkit.git
Revision (git rev-parse @):
3b48ccf8bc77e6e9c2ff4d7f39fab0b866ba00d3
SUCCESS checkout https://github.com/avito-tech/CommandLineToolkit.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/avito-tech/CommandLineToolkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Bouke/Glob
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/apple/swift-log.git
[1/8232] Fetching swift-log
[166/8478] Fetching swift-log, glob
[906/11420] Fetching swift-log, glob, bluesocket
[4470/23281] Fetching swift-log, glob, bluesocket, yams
Fetched https://github.com/Bouke/Glob (0.50s)
Fetched https://github.com/Kitura/BlueSocket.git (0.50s)
Fetching https://github.com/IBM-Swift/BlueSignals.git
[9537/20093] Fetching swift-log, yams
[9657/39103] Fetching swift-log, yams, swift-argument-parser
Fetched https://github.com/apple/swift-log.git (0.51s)
[1733/30871] Fetching yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git (1.00s)
[1/16499] Fetching swift-snapshot-testing
[3301/17180] Fetching swift-snapshot-testing, bluesignals
Fetching https://github.com/Alamofire/Alamofire
Fetched https://github.com/IBM-Swift/BlueSignals.git (0.90s)
[3465/16499] Fetching swift-snapshot-testing
[10891/49494] Fetching swift-snapshot-testing, alamofire
Fetched https://github.com/apple/swift-argument-parser (2.19s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (2.22s)
[10229/32995] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire (1.93s)
Computing version for https://github.com/Bouke/Glob
Computed https://github.com/Bouke/Glob at 1.0.5 (4.37s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.19s)
Computing version for https://github.com/IBM-Swift/BlueSignals.git
Computed https://github.com/IBM-Swift/BlueSignals.git at 1.0.200 (0.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.6 (0.17s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
[5670/85870] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (3.53s)
Fetched https://github.com/swiftlang/swift-syntax (3.56s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (3.76s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6170] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.65s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.32s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.12.2 (0.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 5.12.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.6
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/Bouke/Glob
Working copy of https://github.com/Bouke/Glob resolved at 1.0.5
Creating working copy for https://github.com/IBM-Swift/BlueSignals.git
Working copy of https://github.com/IBM-Swift/BlueSignals.git resolved at 1.0.200
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 122]
[Pre-planning 1 / 3322]
[Planning 1499 / 3322]
[Planning 2398 / 3322]
[Finalizing plan]
[Constructing 2576 / 6306]
[Starting]
[272 / 849] DI
[385 / 891] Logging
[386 / 916] MetricsUtils
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:11:30: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public final class FakeURLSession: URLSession, @unchecked Sendable {
[0;36m11 |[0;0m let session = [4;39mURLSession[0;0m.[4;39mshared[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m public var providedDownloadTasks = [FakeDownloadTask]()
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:21:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m #endif
[0;36m20 |[0;0m
[0;36m21 |[0;0m override public func downloadTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URL?, URLResponse?, Error?) -> ()) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m let task = FakeDownloadTask(
[0;36m23 |[0;0m originalTask: session.downloadTask(with: request, completionHandler: completionHandler),
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:21:101: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m #endif
[0;36m20 |[0;0m
[0;36m21 |[0;0m override public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, [4;39mURLResponse[0;0m?, Error?) -> ()) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m let task = FakeDownloadTask(
[0;36m23 |[0;0m originalTask: session.downloadTask(with: request, completionHandler: completionHandler),
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:21:133: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m #endif
[0;36m20 |[0;0m
[0;36m21 |[0;0m override public func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> ()) -> [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m22 |[0;0m let task = FakeDownloadTask(
[0;36m23 |[0;0m originalTask: session.downloadTask(with: request, completionHandler: completionHandler),
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:32:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m public var providedDataTasks = [FakeDataTask]()
[0;36m31 |[0;0m
[0;36m32 |[0;0m override public func dataTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m33 |[0;0m let task = FakeDataTask(
[0;36m34 |[0;0m originalTask: session.dataTask(with: request, completionHandler: completionHandler),
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:32:98: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m public var providedDataTasks = [FakeDataTask]()
[0;36m31 |[0;0m
[0;36m32 |[0;0m override public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> ()) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m let task = FakeDataTask(
[0;36m34 |[0;0m originalTask: session.dataTask(with: request, completionHandler: completionHandler),
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:32:130: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m public var providedDataTasks = [FakeDataTask]()
[0;36m31 |[0;0m
[0;36m32 |[0;0m override public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m let task = FakeDataTask(
[0;36m34 |[0;0m originalTask: session.dataTask(with: request, completionHandler: completionHandler),
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:10:36: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m #endif
[0;36m9 |[0;0m
[0;36m10 |[0;0m public final class FakeURLSession: [4;39mURLSession[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m let session = URLSession.shared
[0;36m12 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:43:30: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m public class FakeDownloadTask: URLSessionDownloadTask, @unchecked Sendable {
[0;36m43 |[0;0m public var originalTask: [4;39mURLSessionTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m public var completionHandler: (URL?, URLResponse?, Error?) -> ()
[0;36m45 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:44:42: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m public class FakeDownloadTask: URLSessionDownloadTask, @unchecked Sendable {
[0;36m43 |[0;0m public var originalTask: URLSessionTask
[0;36m44 |[0;0m public var completionHandler: (URL?, [4;39mURLResponse[0;0m?, Error?) -> ()
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m
[0;36m46 |[0;0m public init(originalTask: URLSessionTask, completionHandler: @escaping (URL?, URLResponse?, Error?) -> ()) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:46:31: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m public var completionHandler: (URL?, URLResponse?, Error?) -> ()
[0;36m45 |[0;0m
[0;36m46 |[0;0m public init(originalTask: [4;39mURLSessionTask[0;0m, completionHandler: @escaping (URL?, URLResponse?, Error?) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m self.originalTask = originalTask
[0;36m48 |[0;0m self.completionHandler = completionHandler
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:46:83: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m public var completionHandler: (URL?, URLResponse?, Error?) -> ()
[0;36m45 |[0;0m
[0;36m46 |[0;0m public init(originalTask: URLSessionTask, completionHandler: @escaping (URL?, [4;39mURLResponse[0;0m?, Error?) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m self.originalTask = originalTask
[0;36m48 |[0;0m self.completionHandler = completionHandler
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:42:32: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public class FakeDownloadTask: [4;39mURLSessionDownloadTask[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m public var originalTask: URLSessionTask
[0;36m44 |[0;0m public var completionHandler: (URL?, URLResponse?, Error?) -> ()
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:59:30: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m
[0;36m58 |[0;0m public class FakeDataTask: URLSessionDataTask, @unchecked Sendable {
[0;36m59 |[0;0m public var originalTask: [4;39mURLSessionTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m public var completionHandler: (Data?, URLResponse?, Error?) -> ()
[0;36m61 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:60:43: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m public class FakeDataTask: URLSessionDataTask, @unchecked Sendable {
[0;36m59 |[0;0m public var originalTask: URLSessionTask
[0;36m60 |[0;0m public var completionHandler: (Data?, [4;39mURLResponse[0;0m?, Error?) -> ()
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m public init(originalTask: URLSessionTask, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:62:31: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m public var completionHandler: (Data?, URLResponse?, Error?) -> ()
[0;36m61 |[0;0m
[0;36m62 |[0;0m public init(originalTask: [4;39mURLSessionTask[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m self.originalTask = originalTask
[0;36m64 |[0;0m self.completionHandler = completionHandler
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:62:84: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m60 |[0;0m public var completionHandler: (Data?, URLResponse?, Error?) -> ()
[0;36m61 |[0;0m
[0;36m62 |[0;0m public init(originalTask: URLSessionTask, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> ()) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m self.originalTask = originalTask
[0;36m64 |[0;0m self.completionHandler = completionHandler
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.swift:58:28: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m }
[0;36m57 |[0;0m
[0;36m58 |[0;0m public class FakeDataTask: [4;39mURLSessionDataTask[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m public var originalTask: URLSessionTask
[0;36m60 |[0;0m public var completionHandler: (Data?, URLResponse?, Error?) -> ()
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Tests/URLSessionTestHelpers/FakeURLSession.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/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name URLSessionTestHelpers -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/URLSessionTestHelpers_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/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/Modules/URLSessionTestHelpers.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/Modules/URLSessionTestHelpers.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/URLSessionTestHelpers-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/URLSessionTestHelpers-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/URLSessionTestHelpers-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CommandLineToolkit.build/Debug-webassembly-wasm32/URLSessionTestHelpers-t.build/Objects-normal/wasm32/Modules/URLSessionTestHelpers.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm