Build Information
Failed to build SignalRClient, reference master (a5aca8), with Swift 6.4 for Android on 24 Sep 2026 03:49:47 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/moozzyk/SignalR-Client-Swift.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/moozzyk/SignalR-Client-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a5aca80 Refactor TestServer startup to Generic Host pattern
Cloned https://github.com/moozzyk/SignalR-Client-Swift.git
Revision (git rev-parse @):
a5aca80a4de24cc59bb51a1a9c7242960422b9b3
SUCCESS checkout https://github.com/moozzyk/SignalR-Client-Swift.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/moozzyk/SignalR-Client-Swift.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
[28 / 36] SignalRClient
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:13: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;36m11 |[0;0m class DefaultHttpClient: HttpClientProtocol {
[0;36m12 |[0;0m private let options: HttpConnectionOptions
[0;36m13 |[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;36m14 |[0;0m
[0;36m15 |[0;0m public init(options: HttpConnectionOptions) {
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/SignalRClient/DefaultHttpClient.swift:65:94: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m @inline(__always) private func populateHeaders(headers: [String: String], request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m66 |[0;0m headers.forEach { (key, value) in
[0;36m67 |[0;0m request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:71:102: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m72 |[0;0m if let accessToken = accessTokenProvider() {
[0;36m73 |[0;0m request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:78:59: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m private class DefaultHttpClientSessionDelegate: NSObject, [4;39mURLSessionDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m79 |[0;0m static var shared = DefaultHttpClientSessionDelegate()
[0;36m80 |[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:85:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m83 |[0;0m (
[0;36m84 |[0;0m _ session: URLSession, _ challenge: URLAuthenticationChallenge,
[0;36m85 |[0;0m _ completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m86 |[0;0m ) -> Void
[0;36m87 |[0;0m )?
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:91:50: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m89 |[0;0m func urlSession(
[0;36m90 |[0;0m _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
[0;36m91 |[0;0m completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m92 |[0;0m ) {
[0;36m93 |[0;0m if let challengeHandler = authenticationChallengeHandler {
/host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift:90: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;36m88 |[0;0m
[0;36m89 |[0;0m func urlSession(
[0;36m90 |[0;0m _ session: [4;39mURLSession[0;0m, didReceive challenge: URLAuthenticationChallenge,
[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;36m91 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m92 |[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/SignalRClient/DefaultHttpClient.swift:90:54: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m88 |[0;0m
[0;36m89 |[0;0m func urlSession(
[0;36m90 |[0;0m _ session: URLSession, didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m91 |[0;0m completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m92 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift:62:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m60 |[0;0m (
[0;36m61 |[0;0m _ session: URLSession, _ challenge: URLAuthenticationChallenge,
[0;36m62 |[0;0m _ completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m63 |[0;0m ) -> Void
[0;36m64 |[0;0m )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:12:56: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketDelegate' in scope[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m @available(OSX 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
[0;36m12 |[0;0m public class WebsocketsTransport: NSObject, Transport, [4;39mURLSessionWebSocketDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketDelegate' in scope[0;0m
[0;36m13 |[0;0m private let logger: Logger
[0;36m14 |[0;0m private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:15:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m private let logger: Logger
[0;36m14 |[0;0m private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
[0;36m15 |[0;0m private var urlSession: [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;36m16 |[0;0m private var webSocketTask: URLSessionWebSocketTask?
[0;36m17 |[0;0m private var authenticationChallengeHandler:
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/SignalRClient/WebsocketsTransport.swift:16:32: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m14 |[0;0m private let dispatchQueue = DispatchQueue(label: "SignalR.webSocketTransport.queue")
[0;36m15 |[0;0m private var urlSession: URLSession?
[0;36m16 |[0;0m private var webSocketTask: [4;39mURLSessionWebSocketTask[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m17 |[0;0m private var authenticationChallengeHandler:
[0;36m18 |[0;0m (
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:21:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m19 |[0;0m (
[0;36m20 |[0;0m _ session: URLSession, _ challenge: URLAuthenticationChallenge,
[0;36m21 |[0;0m _ completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m22 |[0;0m ) -> Void
[0;36m23 |[0;0m )?
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62:47: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m60 |[0;0m
[0;36m61 |[0;0m public func urlSession(
[0;36m62 |[0;0m _ session: URLSession, webSocketTask: [4;39mURLSessionWebSocketTask[0;0m, didOpenWithProtocol protocol: String?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m63 |[0;0m ) {
[0;36m64 |[0;0m logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:62: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;36m60 |[0;0m
[0;36m61 |[0;0m public func urlSession(
[0;36m62 |[0;0m _ session: [4;39mURLSession[0;0m, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?
[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;36m63 |[0;0m ) {
[0;36m64 |[0;0m logger.log(logLevel: .info, message: "urlSession didOpenWithProtocol invoked. WebSocket open")
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/SignalRClient/WebsocketsTransport.swift:85:41: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m83 |[0;0m }
[0;36m84 |[0;0m
[0;36m85 |[0;0m private func handleMessage(message: [4;39mURLSessionWebSocketTask[0;0m.Message) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m86 |[0;0m switch message {
[0;36m87 |[0;0m case .string(let text):
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:110: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;36m108 |[0;0m }
[0;36m109 |[0;0m
[0;36m110 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, task: 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;36m111 |[0;0m logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
[0;36m112 |[0;0m guard error != nil else {
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/SignalRClient/WebsocketsTransport.swift:110: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;36m108 |[0;0m }
[0;36m109 |[0;0m
[0;36m110 |[0;0m public func urlSession(_ session: URLSession, task: [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;36m111 |[0;0m logger.log(logLevel: .debug, message: "urlSession didCompleteWithError invoked")
[0;36m112 |[0;0m guard error != nil else {
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/SignalRClient/WebsocketsTransport.swift:137:47: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m135 |[0;0m
[0;36m136 |[0;0m public func urlSession(
[0;36m137 |[0;0m _ session: URLSession, webSocketTask: [4;39mURLSessionWebSocketTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m138 |[0;0m didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
[0;36m139 |[0;0m ) {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:138:33: [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m136 |[0;0m public func urlSession(
[0;36m137 |[0;0m _ session: URLSession, webSocketTask: URLSessionWebSocketTask,
[0;36m138 |[0;0m didCloseWith closeCode: [4;39mURLSessionWebSocketTask[0;0m.CloseCode, reason: Data?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionWebSocketTask' in scope[0;0m
[0;36m139 |[0;0m ) {
[0;36m140 |[0;0m logger.log(logLevel: .debug, message: "urlSession didCloseWith invoked")
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:137: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;36m135 |[0;0m
[0;36m136 |[0;0m public func urlSession(
[0;36m137 |[0;0m _ session: [4;39mURLSession[0;0m, webSocketTask: URLSessionWebSocketTask,
[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;36m138 |[0;0m didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?
[0;36m139 |[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/SignalRClient/WebsocketsTransport.swift:166:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m164 |[0;0m public func urlSession(
[0;36m165 |[0;0m _ session: URLSession, didReceive challenge: URLAuthenticationChallenge,
[0;36m166 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m167 |[0;0m ) {
[0;36m168 |[0;0m if authenticationChallengeHandler != nil {
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:165: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;36m163 |[0;0m
[0;36m164 |[0;0m public func urlSession(
[0;36m165 |[0;0m _ session: [4;39mURLSession[0;0m, didReceive challenge: URLAuthenticationChallenge,
[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;36m166 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m167 |[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/SignalRClient/WebsocketsTransport.swift:165:54: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m163 |[0;0m
[0;36m164 |[0;0m public func urlSession(
[0;36m165 |[0;0m _ session: URLSession, didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m166 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m167 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:207:94: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m205 |[0;0m }
[0;36m206 |[0;0m
[0;36m207 |[0;0m @inline(__always) private func populateHeaders(headers: [String: String], request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m208 |[0;0m headers.forEach { (key, value) in
[0;36m209 |[0;0m request.addValue(value, forHTTPHeaderField: key)
/host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.swift:213:102: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m211 |[0;0m }
[0;36m212 |[0;0m
[0;36m213 |[0;0m @inline(__always) private func setAccessToken(accessTokenProvider: () -> String?, request: inout [4;39mURLRequest[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m214 |[0;0m if let accessToken = accessTokenProvider() {
[0;36m215 |[0;0m request.setValue("Bearer \(accessToken)", forHTTPHeaderField: "Authorization")
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/SignalRClient/ClientStreamWorker.swift /host/spi-builder-workspace/Sources/SignalRClient/CodableHelpers.swift /host/spi-builder-workspace/Sources/SignalRClient/Connection.swift /host/spi-builder-workspace/Sources/SignalRClient/ConnectionDelegate.swift /host/spi-builder-workspace/Sources/SignalRClient/DefaultHttpClient.swift /host/spi-builder-workspace/Sources/SignalRClient/DefaultTransportFactory.swift /host/spi-builder-workspace/Sources/SignalRClient/HandshakeProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpClientProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpConnection.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpConnectionOptions.swift /host/spi-builder-workspace/Sources/SignalRClient/HttpResponse.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnectionBuilder.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnectionDelegate.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnectionExtensions.swift /host/spi-builder-workspace/Sources/SignalRClient/HubConnectionOptions.swift /host/spi-builder-workspace/Sources/SignalRClient/HubProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/JSONHubProtocol.swift /host/spi-builder-workspace/Sources/SignalRClient/Logger.swift /host/spi-builder-workspace/Sources/SignalRClient/LongPollingTransport.swift /host/spi-builder-workspace/Sources/SignalRClient/NegotiationResponse.swift /host/spi-builder-workspace/Sources/SignalRClient/ReconnectPolicy.swift /host/spi-builder-workspace/Sources/SignalRClient/ReconnectableConnection.swift /host/spi-builder-workspace/Sources/SignalRClient/ServerInvocationHandler.swift /host/spi-builder-workspace/Sources/SignalRClient/SignalRError.swift /host/spi-builder-workspace/Sources/SignalRClient/StreamHandle.swift /host/spi-builder-workspace/Sources/SignalRClient/TransferFormat.swift /host/spi-builder-workspace/Sources/SignalRClient/Transport.swift /host/spi-builder-workspace/Sources/SignalRClient/TransportDelegate.swift /host/spi-builder-workspace/Sources/SignalRClient/TransportType.swift /host/spi-builder-workspace/Sources/SignalRClient/WebsocketsTransport.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /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/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SignalRClient -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/SignalRClient_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/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/Modules/SignalRClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/Modules/SignalRClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/SignalRClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/SignalRClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/SignalRClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SignalRClient.build/Debug-android-aarch64/SignalRClient-t.build/Objects-normal/aarch64/Modules/SignalRClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android