Build Information
Failed to build SwiftStack, reference 0.6.0 (3ed8ed), with Swift 6.4 for Android on 17 Sep 2026 04:38:52 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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sobotics/swiftstack.git
Reference: 0.6.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/sobotics/swiftstack
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 3ed8edd [tests] import FoundationNetworking
Cloned https://github.com/sobotics/swiftstack.git
Revision (git rev-parse @):
3ed8eddf8bcf3984d8e7a8b9890802b544f4ef28
SUCCESS checkout https://github.com/sobotics/swiftstack.git at 0.6.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/sobotics/swiftstack.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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
[28 / 36] SwiftStack
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:38:33: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m36 |[0;0m
[0;36m37 |[0;0m ///An APIClient communicates to the Stack Exchange API over HTTP.
[0;36m38 |[0;0m open class APIClient: NSObject, [4;39mURLSessionDataDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m39 |[0;0m //MARK: Instance variables and types.
[0;36m40 |[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:20: [1;31merror: [1;39m'URLSession' 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 ///The URLSession for this client.
[0;36m42 |[0;0m open var session: [4;39mURLSession[0;0m!
[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;36m43 |[0;0m
[0;36m44 |[0;0m ///The queue used for asynchronous operations.
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/Sources/SwiftStack/APIClient.swift:207:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m205 |[0;0m ///- parameter request: The request to perform.
[0;36m206 |[0;0m ///- returns: The data and response returned by the request.
[0;36m207 |[0;0m open func performRequest(_ request: [4;39mURLRequest[0;0m) throws -> (Data, HTTPURLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m208 |[0;0m let req = request
[0;36m209 |[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:207:67: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m205 |[0;0m ///- parameter request: The request to perform.
[0;36m206 |[0;0m ///- returns: The data and response returned by the request.
[0;36m207 |[0;0m open func performRequest(_ request: URLRequest) throws -> (Data, [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m208 |[0;0m let req = request
[0;36m209 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:240:48: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m238 |[0;0m ///- parameter url: The URL to send the request to.
[0;36m239 |[0;0m ///- returns: The data and response returned by the request.
[0;36m240 |[0;0m open func get(_ url: String) throws -> (Data, [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m241 |[0;0m guard let nsUrl = URL(string: url) else {
[0;36m242 |[0;0m throw RequestError.invalidURL(url: url)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:256:74: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m254 |[0;0m ///
[0;36m255 |[0;0m ///- returns: The data and response returned by the request.
[0;36m256 |[0;0m open func post(_ url: String, fields: [String:String]) throws -> (Data, [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m257 |[0;0m guard let nsUrl = URL(string: url) else {
[0;36m258 |[0;0m throw RequestError.invalidURL(url: url)
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:305:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m303 |[0;0m ///- parameter request: The request to perform.
[0;36m304 |[0;0m ///- returns: The text returned by the request.
[0;36m305 |[0;0m open func performRequest(_ request: [4;39mURLRequest[0;0m) throws -> String {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m306 |[0;0m let (data, _) = try performRequest(request)
[0;36m307 |[0;0m guard let string = String(data: data, encoding: String.Encoding.utf8) else {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:397:13: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m395 |[0;0m //MARK: - Task management
[0;36m396 |[0;0m internal class HTTPTask {
[0;36m397 |[0;0m var task: [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;36m398 |[0;0m var completion: (Data?, HTTPURLResponse?, Error?) -> Void
[0;36m399 |[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/Sources/SwiftStack/APIClient.swift:398:27: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m396 |[0;0m internal class HTTPTask {
[0;36m397 |[0;0m var task: URLSessionTask
[0;36m398 |[0;0m var completion: (Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m399 |[0;0m
[0;36m400 |[0;0m var request: URLRequest!
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:400:16: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m398 |[0;0m var completion: (Data?, HTTPURLResponse?, Error?) -> Void
[0;36m399 |[0;0m
[0;36m400 |[0;0m var request: [4;39mURLRequest[0;0m!
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m401 |[0;0m
[0;36m402 |[0;0m var data: Data?
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:403:17: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m401 |[0;0m
[0;36m402 |[0;0m var data: Data?
[0;36m403 |[0;0m var response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m404 |[0;0m var error: Error?
[0;36m405 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:406:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m404 |[0;0m var error: Error?
[0;36m405 |[0;0m
[0;36m406 |[0;0m init(task: URLSessionTask, request: [4;39mURLRequest[0;0m!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m407 |[0;0m self.task = task
[0;36m408 |[0;0m self.completion = completion
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:406:14: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m404 |[0;0m var error: Error?
[0;36m405 |[0;0m
[0;36m406 |[0;0m init(task: [4;39mURLSessionTask[0;0m, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
[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;36m407 |[0;0m self.task = task
[0;36m408 |[0;0m self.completion = completion
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/Sources/SwiftStack/APIClient.swift:406:82: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m404 |[0;0m var error: Error?
[0;36m405 |[0;0m
[0;36m406 |[0;0m init(task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m407 |[0;0m self.task = task
[0;36m408 |[0;0m self.completion = completion
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:413:23: [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m411 |[0;0m }
[0;36m412 |[0;0m
[0;36m413 |[0;0m internal var tasks = [URLSessionTask:HTTPTask]()
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m414 |[0;0m
[0;36m415 |[0;0m private var responseSemaphore: DispatchSemaphore?
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:418:61: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m416 |[0;0m
[0;36m417 |[0;0m
[0;36m418 |[0;0m internal func performTask(_ task: URLSessionTask, request: [4;39mURLRequest[0;0m!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m419 |[0;0m tasks[task] = HTTPTask(task: task, request: request, completion: completion)
[0;36m420 |[0;0m task.resume()
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:418:36: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m416 |[0;0m
[0;36m417 |[0;0m
[0;36m418 |[0;0m internal func performTask(_ task: [4;39mURLSessionTask[0;0m, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
[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;36m419 |[0;0m tasks[task] = HTTPTask(task: task, request: request, completion: completion)
[0;36m420 |[0;0m task.resume()
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/Sources/SwiftStack/APIClient.swift:418:104: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m416 |[0;0m
[0;36m417 |[0;0m
[0;36m418 |[0;0m internal func performTask(_ task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m419 |[0;0m tasks[task] = HTTPTask(task: task, request: request, completion: completion)
[0;36m420 |[0;0m task.resume()
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:433:44: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m431 |[0;0m dataTask: URLSessionDataTask,
[0;36m432 |[0;0m didReceive response: URLResponse,
[0;36m433 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m434 |[0;0m
[0;36m435 |[0;0m guard let task = tasks[dataTask] else {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:430:14: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m428 |[0;0m //MARK: - URLSession delegate methods
[0;36m429 |[0;0m public func urlSession(
[0;36m430 |[0;0m _ session: [4;39mURLSession[0;0m,
[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;36m431 |[0;0m dataTask: URLSessionDataTask,
[0;36m432 |[0;0m didReceive response: URLResponse,
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/Sources/SwiftStack/APIClient.swift:431:13: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m429 |[0;0m public func urlSession(
[0;36m430 |[0;0m _ session: URLSession,
[0;36m431 |[0;0m dataTask: [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;36m432 |[0;0m didReceive response: URLResponse,
[0;36m433 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
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/Sources/SwiftStack/APIClient.swift:432:24: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m430 |[0;0m _ session: URLSession,
[0;36m431 |[0;0m dataTask: URLSessionDataTask,
[0;36m432 |[0;0m didReceive response: [4;39mURLResponse[0;0m,
[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;36m433 |[0;0m completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[0;36m434 |[0;0m
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/Sources/SwiftStack/APIClient.swift:451: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;36m449 |[0;0m }
[0;36m450 |[0;0m
[0;36m451 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[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;36m452 |[0;0m guard let task = tasks[dataTask] else {
[0;36m453 |[0;0m print("\(dataTask) is not in client task list; ignoring")
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/Sources/SwiftStack/APIClient.swift:451:58: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m449 |[0;0m }
[0;36m450 |[0;0m
[0;36m451 |[0;0m public func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[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;36m452 |[0;0m guard let task = tasks[dataTask] else {
[0;36m453 |[0;0m print("\(dataTask) is not in client task list; ignoring")
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/Sources/SwiftStack/APIClient.swift:465: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;36m463 |[0;0m }
[0;36m464 |[0;0m
[0;36m465 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task sessionTask: URLSessionTask, didCompleteWithError error: Error?) {
[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;36m466 |[0;0m guard let task = tasks[sessionTask] else {
[0;36m467 |[0;0m print("\(sessionTask) is not in client task list; ignoring")
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/Sources/SwiftStack/APIClient.swift:465:66: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m463 |[0;0m }
[0;36m464 |[0;0m
[0;36m465 |[0;0m public func urlSession(_ session: URLSession, task sessionTask: [4;39mURLSessionTask[0;0m, didCompleteWithError error: 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;36m466 |[0;0m guard let task = tasks[sessionTask] else {
[0;36m467 |[0;0m print("\(sessionTask) is not in client task list; ignoring")
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/Sources/SwiftStack/APIClient.swift:482:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m480 |[0;0m task: URLSessionTask,
[0;36m481 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m482 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m483 |[0;0m completionHandler: @escaping (URLRequest?) -> Void
[0;36m484 |[0;0m ) {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:483:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m481 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m482 |[0;0m newRequest request: URLRequest,
[0;36m483 |[0;0m completionHandler: @escaping ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m484 |[0;0m ) {
[0;36m485 |[0;0m
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:479:14: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m477 |[0;0m
[0;36m478 |[0;0m public func urlSession(
[0;36m479 |[0;0m _ session: [4;39mURLSession[0;0m,
[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;36m480 |[0;0m task: URLSessionTask,
[0;36m481 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
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/Sources/SwiftStack/APIClient.swift:480:9: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m478 |[0;0m public func urlSession(
[0;36m479 |[0;0m _ session: URLSession,
[0;36m480 |[0;0m task: [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;36m481 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m482 |[0;0m newRequest request: URLRequest,
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/Sources/SwiftStack/APIClient.swift:481:40: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m479 |[0;0m _ session: URLSession,
[0;36m480 |[0;0m task: URLSessionTask,
[0;36m481 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m482 |[0;0m newRequest request: URLRequest,
[0;36m483 |[0;0m completionHandler: @escaping (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift /host/spi-builder-workspace/Sources/SwiftStack/APIResponse.swift /host/spi-builder-workspace/Sources/SwiftStack/Answer.swift /host/spi-builder-workspace/Sources/SwiftStack/BadgeCount.swift /host/spi-builder-workspace/Sources/SwiftStack/Comment.swift /host/spi-builder-workspace/Sources/SwiftStack/Content.swift /host/spi-builder-workspace/Sources/SwiftStack/DictionaryConvertible.swift /host/spi-builder-workspace/Sources/SwiftStack/JsonConvertible.swift /host/spi-builder-workspace/Sources/SwiftStack/JsonHelper.swift /host/spi-builder-workspace/Sources/SwiftStack/Post.swift /host/spi-builder-workspace/Sources/SwiftStack/Privilege.swift /host/spi-builder-workspace/Sources/SwiftStack/Question.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsAnswers.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsPrivileges.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsQuestions.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsRevisions.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsSites.swift /host/spi-builder-workspace/Sources/SwiftStack/RequestsSuggestedEdits.swift /host/spi-builder-workspace/Sources/SwiftStack/Revision.swift /host/spi-builder-workspace/Sources/SwiftStack/Site.swift /host/spi-builder-workspace/Sources/SwiftStack/String+HTMLEntities.swift /host/spi-builder-workspace/Sources/SwiftStack/StringRepresentable.swift /host/spi-builder-workspace/Sources/SwiftStack/SuggestedEdit.swift /host/spi-builder-workspace/Sources/SwiftStack/User.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 4 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftStack -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/SwiftStack_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/Modules/SwiftStack.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/Modules/SwiftStack.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/SwiftStack-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/SwiftStack-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/SwiftStack-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStack.build/Debug-android-aarch64/SwiftStack-t.build/Objects-normal/aarch64/Modules/SwiftStack.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android