The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: cannot find type 'URLSessionDataDelegate' in scope
 36 |
 37 | ///An APIClient communicates to the Stack Exchange API over HTTP.
 38 | open class APIClient: NSObject, URLSessionDataDelegate {
    |                                 `- error: cannot find type 'URLSessionDataDelegate' in scope
 39 | 	//MARK: Instance variables and types.
 40 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:42:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 | 	///The URLSession for this client.
 42 | 	open var session: URLSession!
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |
 44 | 	///The queue used for asynchronous operations.
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/SwiftStack/APIClient.swift:207:38: error: cannot find type 'URLRequest' in scope
205 | 	///- parameter request: The request to perform.
206 | 	///- returns: The data and response returned by the request.
207 | 	open func performRequest(_ request: URLRequest) throws -> (Data, HTTPURLResponse) {
    |                                      `- error: cannot find type 'URLRequest' in scope
208 | 		let req = request
209 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:207:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | 	///- parameter request: The request to perform.
206 | 	///- returns: The data and response returned by the request.
207 | 	open func performRequest(_ request: URLRequest) throws -> (Data, HTTPURLResponse) {
    |                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
208 | 		let req = request
209 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:240:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | 	///- parameter url: The URL to send the request to.
239 | 	///- returns: The data and response returned by the request.
240 | 	open func get(_ url: String) throws -> (Data, HTTPURLResponse) {
    |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | 		guard let nsUrl = URL(string: url) else {
242 | 			throw RequestError.invalidURL(url: url)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:256:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 | 	///
255 | 	///- returns: The data and response returned by the request.
256 | 	open func post(_ url: String, fields: [String:String]) throws -> (Data, HTTPURLResponse) {
    |                                                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
257 | 		guard let nsUrl = URL(string: url) else {
258 | 			throw RequestError.invalidURL(url: url)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:305:38: error: cannot find type 'URLRequest' in scope
303 | 	///- parameter request: The request to perform.
304 | 	///- returns: The text returned by the request.
305 | 	open func performRequest(_ request: URLRequest) throws -> String {
    |                                      `- error: cannot find type 'URLRequest' in scope
306 | 		let (data, _) = try performRequest(request)
307 | 		guard let string = String(data: data, encoding: String.Encoding.utf8) else {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:397:13: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
395 | 	//MARK: - Task management
396 | 	internal class HTTPTask {
397 | 		var task: URLSessionTask
    |             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
398 | 		var completion: (Data?, HTTPURLResponse?, Error?) -> Void
399 |
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/SwiftStack/APIClient.swift:398:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
396 | 	internal class HTTPTask {
397 | 		var task: URLSessionTask
398 | 		var completion: (Data?, HTTPURLResponse?, Error?) -> Void
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
399 |
400 | 		var request: URLRequest!
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:400:16: error: cannot find type 'URLRequest' in scope
398 | 		var completion: (Data?, HTTPURLResponse?, Error?) -> Void
399 |
400 | 		var request: URLRequest!
    |                `- error: cannot find type 'URLRequest' in scope
401 |
402 | 		var data: Data?
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:403:17: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
401 |
402 | 		var data: Data?
403 | 		var response: HTTPURLResponse?
    |                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
404 | 		var error: Error?
405 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:406:39: error: cannot find type 'URLRequest' in scope
404 | 		var error: Error?
405 |
406 | 		init(task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                       `- error: cannot find type 'URLRequest' in scope
407 | 			self.task = task
408 | 			self.completion = completion
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:406:14: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
404 | 		var error: Error?
405 |
406 | 		init(task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
407 | 			self.task = task
408 | 			self.completion = completion
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/SwiftStack/APIClient.swift:406:82: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
404 | 		var error: Error?
405 |
406 | 		init(task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
407 | 			self.task = task
408 | 			self.completion = completion
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:413:23: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
411 | 	}
412 |
413 | 	internal var tasks = [URLSessionTask:HTTPTask]()
    |                       `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
414 |
415 | 	private var responseSemaphore: DispatchSemaphore?
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:418:61: error: cannot find type 'URLRequest' in scope
416 |
417 |
418 | 	internal func performTask(_ task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                             `- error: cannot find type 'URLRequest' in scope
419 | 		tasks[task] = HTTPTask(task: task, request: request, completion: completion)
420 | 		task.resume()
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:418:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
416 |
417 |
418 | 	internal func performTask(_ task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
419 | 		tasks[task] = HTTPTask(task: task, request: request, completion: completion)
420 | 		task.resume()
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/SwiftStack/APIClient.swift:418:104: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
416 |
417 |
418 | 	internal func performTask(_ task: URLSessionTask, request: URLRequest!, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
    |                                                                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
419 | 		tasks[task] = HTTPTask(task: task, request: request, completion: completion)
420 | 		task.resume()
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:433:44: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
431 | 		dataTask: URLSessionDataTask,
432 | 		didReceive response: URLResponse,
433 | 		completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
434 |
435 | 		guard let task = tasks[dataTask] else {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:430:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
428 | 	//MARK: - URLSession delegate methods
429 | 	public func urlSession(
430 | 		_ session: URLSession,
    |              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
431 | 		dataTask: URLSessionDataTask,
432 | 		didReceive response: URLResponse,
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/SwiftStack/APIClient.swift:431:13: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
429 | 	public func urlSession(
430 | 		_ session: URLSession,
431 | 		dataTask: URLSessionDataTask,
    |             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 | 		didReceive response: URLResponse,
433 | 		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/SwiftStack/APIClient.swift:432:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
430 | 		_ session: URLSession,
431 | 		dataTask: URLSessionDataTask,
432 | 		didReceive response: URLResponse,
    |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
433 | 		completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
434 |
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/SwiftStack/APIClient.swift:451:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
449 | 	}
450 |
451 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
452 | 		guard let task = tasks[dataTask] else {
453 | 			print("\(dataTask) is not in client task list; ignoring")
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/SwiftStack/APIClient.swift:451:58: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
449 | 	}
450 |
451 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
452 | 		guard let task = tasks[dataTask] else {
453 | 			print("\(dataTask) is not in client task list; ignoring")
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/SwiftStack/APIClient.swift:465:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
463 | 	}
464 |
465 | 	public func urlSession(_ session: URLSession, task sessionTask: URLSessionTask, didCompleteWithError error: Error?) {
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
466 | 		guard let task = tasks[sessionTask] else {
467 | 			print("\(sessionTask) is not in client task list; ignoring")
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/SwiftStack/APIClient.swift:465:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
463 | 	}
464 |
465 | 	public func urlSession(_ session: URLSession, task sessionTask: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
466 | 		guard let task = tasks[sessionTask] else {
467 | 			print("\(sessionTask) is not in client task list; ignoring")
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/SwiftStack/APIClient.swift:482:23: error: cannot find type 'URLRequest' in scope
480 | 		task: URLSessionTask,
481 | 		willPerformHTTPRedirection response: HTTPURLResponse,
482 | 		newRequest request: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
483 | 		completionHandler: @escaping (URLRequest?) -> Void
484 | 		) {
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:483:33: error: cannot find type 'URLRequest' in scope
481 | 		willPerformHTTPRedirection response: HTTPURLResponse,
482 | 		newRequest request: URLRequest,
483 | 		completionHandler: @escaping (URLRequest?) -> Void
    |                                 `- error: cannot find type 'URLRequest' in scope
484 | 		) {
485 |
/host/spi-builder-workspace/Sources/SwiftStack/APIClient.swift:479:14: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
477 |
478 | 	public func urlSession(
479 | 		_ session: URLSession,
    |              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | 		task: URLSessionTask,
481 | 		willPerformHTTPRedirection response: HTTPURLResponse,
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/SwiftStack/APIClient.swift:480:9: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | 	public func urlSession(
479 | 		_ session: URLSession,
480 | 		task: URLSessionTask,
    |         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
481 | 		willPerformHTTPRedirection response: HTTPURLResponse,
482 | 		newRequest request: URLRequest,
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/SwiftStack/APIClient.swift:481:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
479 | 		_ session: URLSession,
480 | 		task: URLSessionTask,
481 | 		willPerformHTTPRedirection response: HTTPURLResponse,
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
482 | 		newRequest request: URLRequest,
483 | 		completionHandler: @escaping (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
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