Build Information
Failed to build SwiftCloudant, reference 0.9.0 (928748), with Swift 6.4 for Android on 19 Sep 2026 15:41:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/IBM/swift-cloudant.git
Reference: 0.9.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/IBM/swift-cloudant
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at 928748f Merge pull request #188 from cloudant/prepare-0.9.0-release
Cloned https://github.com/IBM/swift-cloudant.git
Revision (git rev-parse @):
928748f5d3dc2cd0e7ad9ff61323489eeb680ef4
SUCCESS checkout https://github.com/IBM/swift-cloudant.git at 0.9.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/IBM/swift-cloudant.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/Source/SwiftCloudant/HTTP/RequestBuilder.swift:102:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m100 |[0;0m Builds the NSURLRequest from the operation in the property `operation`
[0;36m101 |[0;0m */
[0;36m102 |[0;0m func makeRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m103 |[0;0m
[0;36m104 |[0;0m guard let components = NSURLComponents(url: operation.rootURL, resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestExecutor.swift:48:19: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m var buffer: Data
[0;36m48 |[0;0m var response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m49 |[0;0m /**
[0;36m50 |[0;0m Creates an OperationRequestExecutor.
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/Source/SwiftCloudant/HTTP/RequestExecutor.swift:67:29: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
[0;36m67 |[0;0m func received(response: [4;39mHTTPURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m68 |[0;0m // Store the response to deliver with the data when the task completes.
[0;36m69 |[0;0m self.response = response
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/Source/SwiftCloudant/HTTP/URLSession.swift:29:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m - parameter response: The response received from the server
[0;36m28 |[0;0m */
[0;36m29 |[0;0m func received(response:[4;39mHTTPURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /**
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:53:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m51 |[0;0m as session cookie authentication of custom tracking headers.
[0;36m52 |[0;0m */
[0;36m53 |[0;0m var request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m /**
[0;36m55 |[0;0m The response that was received from the server. This will be `nil` if the request errored
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:58:19: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m or has not yet been made.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m let response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m /**
[0;36m60 |[0;0m A flag that signals to the HTTP layer that it should retry the request.
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/Source/SwiftCloudant/HTTP/URLSession.swift:111:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m109 |[0;0m */
[0;36m110 |[0;0m internal class URLSessionTask {
[0;36m111 |[0;0m fileprivate let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m112 |[0;0m fileprivate var inProgressTask: URLSessionDataTask
[0;36m113 |[0;0m fileprivate let session: URLSession
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:112:37: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m110 |[0;0m internal class URLSessionTask {
[0;36m111 |[0;0m fileprivate let request: URLRequest
[0;36m112 |[0;0m fileprivate var inProgressTask: [4;39mURLSessionDataTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m fileprivate let session: URLSession
[0;36m114 |[0;0m fileprivate var remainingRetries: UInt = 10
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:113:30: [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 fileprivate let request: URLRequest
[0;36m112 |[0;0m fileprivate var inProgressTask: URLSessionDataTask
[0;36m113 |[0;0m fileprivate 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;36m114 |[0;0m fileprivate var remainingRetries: UInt = 10
[0;36m115 |[0;0m fileprivate var remainingBackOffRetries: UInt = 3
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/Source/SwiftCloudant/HTTP/URLSession.swift:120:31: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m118 |[0;0m //This is for caching before delivering the response to the delegate in the event a 401/403 is
[0;36m119 |[0;0m // encountered.
[0;36m120 |[0;0m fileprivate var response: [4;39mHTTPURLResponse[0;0m? = nil
[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;36m121 |[0;0m // Caching of the data before being delivered to the delegate in the event of a 401/403 response.
[0;36m122 |[0;0m fileprivate var data: Data? = nil
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/Source/SwiftCloudant/HTTP/URLSession.swift:124:49: [1;31merror: [1;39m'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')[0;0m
[0;36m122 |[0;0m fileprivate var data: Data? = nil
[0;36m123 |[0;0m
[0;36m124 |[0;0m public var state: [4;39mFoundation.URLSessionTask[0;0m.State {
[0;36m|[0;0m `- [1;31merror: [1;39m'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')[0;0m
[0;36m125 |[0;0m get {
[0;36m126 |[0;0m return inProgressTask.state
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:137:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m135 |[0;0m - parameter delegate: The delegate for this task.
[0;36m136 |[0;0m */
[0;36m137 |[0;0m init(session: URLSession, request: [4;39mURLRequest[0;0m, inProgressTask:URLSessionDataTask, delegate: InterceptableSessionDelegate) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m138 |[0;0m self.request = request
[0;36m139 |[0;0m self.session = session
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:137:19: [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 - parameter delegate: The delegate for this task.
[0;36m136 |[0;0m */
[0;36m137 |[0;0m init(session: [4;39mURLSession[0;0m, request: URLRequest, inProgressTask:URLSessionDataTask, delegate: InterceptableSessionDelegate) {
[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 self.request = request
[0;36m139 |[0;0m self.session = session
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/Source/SwiftCloudant/HTTP/URLSession.swift:137:67: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m135 |[0;0m - parameter delegate: The delegate for this task.
[0;36m136 |[0;0m */
[0;36m137 |[0;0m init(session: URLSession, request: URLRequest, inProgressTask:[4;39mURLSessionDataTask[0;0m, delegate: InterceptableSessionDelegate) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m138 |[0;0m self.request = request
[0;36m139 |[0;0m self.session = session
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:162:48: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m160 |[0;0m A class to create `URLSessionTask`
[0;36m161 |[0;0m */
[0;36m162 |[0;0m internal class InterceptableSession: NSObject, [4;39mURLSessionDelegate[0;0m, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionStreamDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m163 |[0;0m
[0;36m164 |[0;0m // This is lazy because of swift init rules. We can't use self for the delegate until super.init is called, but we
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:162:68: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m160 |[0;0m A class to create `URLSessionTask`
[0;36m161 |[0;0m */
[0;36m162 |[0;0m internal class InterceptableSession: NSObject, URLSessionDelegate, [4;39mURLSessionTaskDelegate[0;0m, URLSessionDataDelegate, URLSessionStreamDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m163 |[0;0m
[0;36m164 |[0;0m // This is lazy because of swift init rules. We can't use self for the delegate until super.init is called, but we
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:162:92: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m160 |[0;0m A class to create `URLSessionTask`
[0;36m161 |[0;0m */
[0;36m162 |[0;0m internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, [4;39mURLSessionDataDelegate[0;0m, URLSessionStreamDelegate {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m163 |[0;0m
[0;36m164 |[0;0m // This is lazy because of swift init rules. We can't use self for the delegate until super.init is called, but we
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:162:116: [1;31merror: [1;39mcannot find type 'URLSessionStreamDelegate' in scope[0;0m
[0;36m160 |[0;0m A class to create `URLSessionTask`
[0;36m161 |[0;0m */
[0;36m162 |[0;0m internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, [4;39mURLSessionStreamDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionStreamDelegate' in scope[0;0m
[0;36m163 |[0;0m
[0;36m164 |[0;0m // This is lazy because of swift init rules. We can't use self for the delegate until super.init is called, but we
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:167:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m165 |[0;0m // can't call super.init until all properties have been initialised. To get around this we lazily create the
[0;36m166 |[0;0m // URLSession instance when it is required.
[0;36m167 |[0;0m internal lazy var session: [4;39mURLSession[0;0m = { () -> URLSession in
[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;36m168 |[0;0m let config = URLSessionConfiguration.default
[0;36m169 |[0;0m config.httpAdditionalHeaders = ["User-Agent" as AnyHashable: InterceptableSession.userAgent()]
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/Source/SwiftCloudant/HTTP/URLSession.swift:168:46: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m166 |[0;0m // URLSession instance when it is required.
[0;36m167 |[0;0m internal lazy var session: URLSession = { () -> URLSession in
[0;36m168 |[0;0m let config = [4;39mURLSessionConfiguration[0;0m.[4;39mdefault[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m169 |[0;0m config.httpAdditionalHeaders = ["User-Agent" as AnyHashable: InterceptableSession.userAgent()]
[0;36m170 |[0;0m config.httpCookieAcceptPolicy = .onlyFromMainDocumentDomain
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:175:27: [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m173 |[0;0m return URLSession(configuration: config, delegate: self, delegateQueue: nil) }()
[0;36m174 |[0;0m
[0;36m175 |[0;0m private var taskDict: [Foundation.URLSessionTask: URLSessionTask] = [:]
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m176 |[0;0m
[0;36m177 |[0;0m private let delegateQueue = DispatchQueue(label: "com.cloudant.swift.interceptable.session.delegate", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:197:20: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m195 |[0;0m - parameter configuration: The configuration for this session.
[0;36m196 |[0;0m */
[0;36m197 |[0;0m init(delegate: [4;39mURLSessionDelegate[0;0m?, configuration: InterceptableSessionConfiguration) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m198 |[0;0m self.configuration = configuration
[0;36m199 |[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:217:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m215 |[0;0m - returns: A `URLSessionTask` representing the task for the `NSURLRequest`
[0;36m216 |[0;0m */
[0;36m217 |[0;0m internal func dataTask(request: [4;39mURLRequest[0;0m, delegate: InterceptableSessionDelegate) -> URLSessionTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m218 |[0;0m
[0;36m219 |[0;0m // Only request another cookie **if** cookie auth is enabled **and** it is the first request
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:239:41: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m237 |[0;0m
[0;36m238 |[0;0m
[0;36m239 |[0;0m internal func urlSession(_ session: [4;39mURLSession[0;0m, task: Foundation.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;36m240 |[0;0m guard let mTask = taskDict[task]
[0;36m241 |[0;0m 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/Source/SwiftCloudant/HTTP/URLSession.swift:239:70: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m237 |[0;0m
[0;36m238 |[0;0m
[0;36m239 |[0;0m internal func urlSession(_ session: URLSession, task: Foundation.[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;36m240 |[0;0m guard let mTask = taskDict[task]
[0;36m241 |[0;0m 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/Source/SwiftCloudant/HTTP/URLSession.swift:292:41: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[0;0m internal func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m293 |[0;0m guard let task = taskDict[dataTask]
[0;36m294 |[0;0m 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/Source/SwiftCloudant/HTTP/URLSession.swift:292:63: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m290 |[0;0m }
[0;36m291 |[0;0m
[0;36m292 |[0;0m internal func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m293 |[0;0m guard let task = taskDict[dataTask]
[0;36m294 |[0;0m else {
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:158: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
[0;36m312 |[0;0m internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping ([4;39mURLSession[0;0m.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m313 |[0;0m // Retrieve the task from the dict.
[0;36m314 |[0;0m guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:41: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
[0;36m312 |[0;0m internal func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[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;36m313 |[0;0m // Retrieve the task from the dict.
[0;36m314 |[0;0m guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:63: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
[0;36m312 |[0;0m internal func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m313 |[0;0m // Retrieve the task from the dict.
[0;36m314 |[0;0m guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:104: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
[0;36m312 |[0;0m internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: [4;39mURLResponse[0;0m, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[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;36m313 |[0;0m // Retrieve the task from the dict.
[0;36m314 |[0;0m guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
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/Source/SwiftCloudant/Operations/Operation.swift:22:14: [1;33mwarning: [1;39mclass 'Operation' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m20 |[0;0m An NSOperation subclass for executing `CouchOperations`
[0;36m21 |[0;0m */
[0;36m22 |[0;0m public class Operation: Foundation.Operation, HTTPRequestOperation
[0;36m|[0;0m `- [1;33mwarning: [1;39mclass 'Operation' must restate inherited '@unchecked Sendable' conformance[0;0m
[0;36m23 |[0;0m {
[0;36m24 |[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/Source/SwiftCloudant/CouchClient.swift /host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestBuilder.swift /host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestExecutor.swift /host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Database/GetChangesOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/BulkDocs.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/DeleteAttachmentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/DeleteDocumentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/GetDocumentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/PutAttachmentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/PutDocumentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Documents/ReadAttachmentOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/OperationProtocols.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Query/CreateQueryIndexOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Query/DeleteQueryIndexOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Query/FindDocumentsOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Server/CouchDatabaseOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Server/CreateDatabaseOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Server/DeleteDatabaseOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Server/GetAllDatabasesOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/GetAllDocsOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/QueryViewOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/ViewLikeOperation.swift /host/spi-builder-workspace/Source/SwiftCloudant/Operations/Views/ViewPaging.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/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCloudant -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/SwiftCloudant_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/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/Modules/SwiftCloudant.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/Modules/SwiftCloudant.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/SwiftCloudant-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/SwiftCloudant-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/SwiftCloudant-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-android-aarch64/SwiftCloudant-t.build/Objects-normal/aarch64/Modules/SwiftCloudant.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android