Build Information
Failed to build SwiftyNetworking, reference master (4e3f29), with Swift 6.4 for Android on 22 Sep 2026 21:41:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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/antonio-war/SwiftyNetworking.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/antonio-war/SwiftyNetworking
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4e3f29e fix: send request method scope
Cloned https://github.com/antonio-war/SwiftyNetworking.git
Revision (git rev-parse @):
4e3f29e028c25b63c1a7e68f3c2fb90aa3e174f7
SUCCESS checkout https://github.com/antonio-war/SwiftyNetworking.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/antonio-war/SwiftyNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public actor NetworkingClient: Sendable {
[0;36m11 |[0;0m private let 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;36m12 |[0;0m private let delegate: NetworkingDelegate
[0;36m13 |[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/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:14:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m private let delegate: NetworkingDelegate
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init(configuration: [4;39mURLSessionConfiguration[0;0m = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
[0;36m16 |[0;0m self.delegate = delegate
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:14:59: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m12 |[0;0m private let delegate: NetworkingDelegate
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m15 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
[0;36m16 |[0;0m self.delegate = delegate
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:14:59: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m12 |[0;0m private let delegate: NetworkingDelegate
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init(configuration: URLSessionConfiguration = [4;39m.default[0;0m, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m15 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
[0;36m16 |[0;0m self.delegate = delegate
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:34:49: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m public static let shared: NetworkingClient = {
[0;36m34 |[0;0m return NetworkingClient(configuration: .default, delegate: .default, queue: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m35 |[0;0m }()
[0;36m36 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:34:49: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m public static let shared: NetworkingClient = {
[0;36m34 |[0;0m return NetworkingClient(configuration: [4;39m.default[0;0m, delegate: .default, queue: .default)
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m35 |[0;0m }()
[0;36m36 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:15:24: [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
[0;36m15 |[0;0m self.session = [4;39mURLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m16 |[0;0m self.delegate = delegate
[0;36m17 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:15:24: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
[0;36m15 |[0;0m self.session = [4;39mURLSession[0;0m(configuration: configuration, delegate: delegate, delegateQueue: queue)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m16 |[0;0m self.delegate = delegate
[0;36m17 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:13:42: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m11 |[0;0m private let cache: NSCache<NSNumber, URLSessionTaskMetrics>
[0;36m12 |[0;0m
[0;36m13 |[0;0m public init(cache: NSCache<NSNumber, [4;39mURLSessionTaskMetrics[0;0m> = NSCache()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m14 |[0;0m self.cache = cache
[0;36m15 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:11:42: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public final class NetworkingDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable {
[0;36m11 |[0;0m private let cache: NSCache<NSNumber, [4;39mURLSessionTaskMetrics[0;0m>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m public init(cache: NSCache<NSNumber, URLSessionTaskMetrics> = NSCache()) {
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:102: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: [4;39mURLSessionTaskMetrics[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m18 |[0;0m guard let request = metrics.transactionMetrics.first?.request else { return }
[0;36m19 |[0;0m self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
[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;36m18 |[0;0m guard let request = metrics.transactionMetrics.first?.request else { return }
[0;36m19 |[0;0m self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
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/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:57: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didFinishCollecting metrics: URLSessionTaskMetrics) {
[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;36m18 |[0;0m guard let request = metrics.transactionMetrics.first?.request else { return }
[0;36m19 |[0;0m self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
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/SwiftyNetworking/Delegates/NetworkingDelegate.swift:28:38: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m public static let `default`: NetworkingDelegate = {
[0;36m28 |[0;0m let cache: NSCache<NSNumber, [4;39mURLSessionTaskMetrics[0;0m> = NSCache()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m29 |[0;0m return NetworkingDelegate(cache: cache)
[0;36m30 |[0;0m }()
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:10:50: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m public final class NetworkingDelegate: NSObject, [4;39mURLSessionTaskDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m11 |[0;0m private let cache: NSCache<NSNumber, URLSessionTaskMetrics>
[0;36m12 |[0;0m
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:12:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m struct URLRequestDeserializer: Sendable {
[0;36m11 |[0;0m
[0;36m12 |[0;0m func deserialize(_ request: [4;39mURLRequest[0;0m) -> NetworkingRequest? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m guard let url = url(request) else { return nil }
[0;36m14 |[0;0m guard let method = method(request) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:28:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m func url(_ request: [4;39mURLRequest[0;0m) -> URL? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m guard let url = request.url else { return nil }
[0;36m30 |[0;0m guard var components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:36:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m34 |[0;0m }
[0;36m35 |[0;0m
[0;36m36 |[0;0m func method(_ request: [4;39mURLRequest[0;0m) -> NetworkingMethod? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m guard let httpMethod = request.httpMethod else { return nil }
[0;36m38 |[0;0m guard let method = NetworkingMethod(rawValue: httpMethod) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:42:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m func headers(_ request: [4;39mURLRequest[0;0m) -> [String: String] {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m43 |[0;0m guard let headers = request.allHTTPHeaderFields else { return [:] }
[0;36m44 |[0;0m return headers
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:47:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m45 |[0;0m }
[0;36m46 |[0;0m
[0;36m47 |[0;0m func queryParameters(_ request: [4;39mURLRequest[0;0m) -> [String: String]? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m48 |[0;0m guard let url = request.url else { return nil }
[0;36m49 |[0;0m guard let components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:59:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
[0;36m59 |[0;0m func body(_ request: [4;39mURLRequest[0;0m) -> Data? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m60 |[0;0m return request.httpBody
[0;36m61 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:63:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[0;36m63 |[0;0m func cachePolicy(_ request: [4;39mURLRequest[0;0m) -> NetworkingCachePolicy? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m64 |[0;0m guard let cachePolicy = NetworkingCachePolicy(rawValue: request.cachePolicy) else { return nil }
[0;36m65 |[0;0m return cachePolicy
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:68:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m func timeout(_ request: [4;39mURLRequest[0;0m) -> TimeInterval {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m69 |[0;0m return request.timeoutInterval
[0;36m70 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:12:33: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m10 |[0;0m struct URLSessionTaskMetricsDeserializer: Sendable {
[0;36m11 |[0;0m
[0;36m12 |[0;0m func deserialize(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> NetworkingMetric? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m13 |[0;0m return NetworkingMetric(
[0;36m14 |[0;0m start: start(metrics),
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:23:27: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m func start(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> Date {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m24 |[0;0m metrics.taskInterval.start
[0;36m25 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:27:25: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m25 |[0;0m }
[0;36m26 |[0;0m
[0;36m27 |[0;0m func end(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> Date {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m28 |[0;0m metrics.taskInterval.end
[0;36m29 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:31:30: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
[0;36m31 |[0;0m func duration(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> TimeInterval {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m32 |[0;0m metrics.taskInterval.duration
[0;36m33 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:35:34: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m33 |[0;0m }
[0;36m34 |[0;0m
[0;36m35 |[0;0m func redirections(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> Int {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m36 |[0;0m metrics.redirectCount
[0;36m37 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:39:28: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m37 |[0;0m }
[0;36m38 |[0;0m
[0;36m39 |[0;0m func source(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> NetworkingSource {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m40 |[0;0m metrics.transactionMetrics.contains(where: { $0.resourceFetchType == .localCache }) ? .cache : .network
[0;36m41 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:43:30: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[0;0m func standard(_ metrics: [4;39mURLSessionTaskMetrics[0;0m) -> NetworkingStandard? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m44 |[0;0m guard let rawValue = metrics.transactionMetrics.last?.networkProtocolName?.uppercased() else { return nil }
[0;36m45 |[0;0m return NetworkingStandard(rawValue: rawValue)
/host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift:18:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m case reloadRevalidatingCacheData = "RELOAD_REVALIDATING_CACHE_DATA"
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init?(rawValue: [4;39mURLRequest[0;0m.CachePolicy) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m switch rawValue {
[0;36m20 |[0;0m case .useProtocolCachePolicy: self = .respectProtocolStandard
/host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift:29:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m }
[0;36m28 |[0;0m
[0;36m29 |[0;0m public var rawValue: [4;39mURLRequest[0;0m.CachePolicy {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m switch self {
[0;36m31 |[0;0m case .respectProtocolStandard: .useProtocolCachePolicy
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift:12:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m struct URLRequestSerializer: Sendable {
[0;36m11 |[0;0m
[0;36m12 |[0;0m func serialize(_ request: NetworkingRequest) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m var urlRequest = URLRequest(url: url(request), cachePolicy: cachePolicy(request), timeoutInterval: timeoutInterval(request))
[0;36m14 |[0;0m urlRequest.httpMethod = httpMethod(request)
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift:28:55: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m }
[0;36m27 |[0;0m
[0;36m28 |[0;0m func cachePolicy(_ request: NetworkingRequest) -> [4;39mURLRequest[0;0m.CachePolicy {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m return request.cachePolicy.rawValue
[0;36m30 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift:20:57: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
[0;36m20 |[0;0m func urlResponse(_ response: NetworkingResponse) -> [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;36m21 |[0;0m guard let httpUrlResponse = httpUrlResponse(response) else {
[0;36m22 |[0;0m return URLResponse(
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/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift:32:61: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m func httpUrlResponse(_ response: NetworkingResponse) -> [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;36m33 |[0;0m HTTPURLResponse(
[0;36m34 |[0;0m url: response.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/SwiftyNetworking/Structs/NetworkingMetric.swift:34:28: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m public init?(rawValue: [4;39mURLSessionTaskMetrics[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m35 |[0;0m guard let metric = deserializer.deserialize(rawValue) else { return nil }
[0;36m36 |[0;0m self.start = metric.start
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:49:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m public init?(rawValue: [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m guard let request = deserializer.deserialize(rawValue) else { return nil }
[0;36m51 |[0;0m self.url = request.url
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:60:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m
[0;36m60 |[0;0m public var rawValue: [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m return serializer.serialize(self)
[0;36m62 |[0;0m }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:10:15: [1;31merror: [1;39mtype 'NetworkingRequest' does not conform to protocol 'RawRepresentable'[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m public struct NetworkingRequest: Sendable, RawRepresentable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'NetworkingRequest' does not conform to protocol 'RawRepresentable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m11 |[0;0m public private(set) var url: URL
[0;36m12 |[0;0m public var method: NetworkingMethod
Swift.RawRepresentable.RawValue:2:16: [1;39mnote: [1;39mprotocol requires nested type 'RawValue'[0;0m
[0;36m1 |[0;0m protocol RawRepresentable {
[0;36m2 |[0;0m associatedtype RawValue}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'RawValue'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingResponse.swift:40:54: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m public init?(rawValue: (data: Data, urlResponse: [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;36m41 |[0;0m guard let response = deserializer.deserialize(rawValue) else { return nil }
[0;36m42 |[0;0m self.url = response.url
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/SwiftyNetworking/Structs/NetworkingResponse.swift:52:52: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m }
[0;36m51 |[0;0m
[0;36m52 |[0;0m public var rawValue: (data: Data, urlResponse: [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;36m53 |[0;0m return serializer.serialize(self)
[0;36m54 |[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/SwiftyNetworking/Typealiases/URLSessionTaskResult.swift:10:67: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m
[0;36m10 |[0;0m public typealias URLSessionTaskResult = (data: Data, urlResponse: [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;36m11 |[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
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/SwiftyNetworking/Actors/NetworkingClient.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Classes/NetworkingQueue.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskResultDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingEncoding.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingMethod.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingMimeType.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingResponseStatus.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingScheme.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingSource.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingStandard.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Errors/NetworkingError.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingMetric.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingResponse.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Typealiases/URLSessionTaskResult.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 6 -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/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyNetworking -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/SwiftyNetworking_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/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/Modules/SwiftyNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/Modules/SwiftyNetworking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/SwiftyNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/SwiftyNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/SwiftyNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-android-aarch64/SwiftyNetworking-t.build/Objects-normal/aarch64/Modules/SwiftyNetworking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android