The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCloudant, reference main (8f44bc), with Swift 6.4 for Linux on 19 Sep 2026 15:39:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/IBM/swift-cloudant.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8f44bce Update README.md
Cloned https://github.com/IBM/swift-cloudant.git
Revision (git rev-parse @):
8f44bce235ae6c0eef72f2d2cde6cb6378964918
SUCCESS checkout https://github.com/IBM/swift-cloudant.git at main
========================================
Build
========================================
Selected platform:         linux
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-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestBuilder.swift:102:34: error: cannot find type 'URLRequest' in scope
100 |      Builds the NSURLRequest from the operation in the property `operation`
101 |      */
102 |     func makeRequest() throws -> URLRequest {
    |                                  `- error: cannot find type 'URLRequest' in scope
103 |
104 |         guard let components = NSURLComponents(url: operation.rootURL, resolvingAgainstBaseURL: false)
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestExecutor.swift:48:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |
 47 |     var buffer: Data
 48 |     var response: HTTPURLResponse?
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |     /**
 50 |      Creates an OperationRequestExecutor.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/RequestExecutor.swift:67:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     func received(response: HTTPURLResponse) {
    |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         // Store the response to deliver with the data when the task completes.
 69 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:29:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |      - parameter response: The response received from the server
 28 |     */
 29 |     func received(response:HTTPURLResponse)
    |                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:53:18: error: cannot find type 'URLRequest' in scope
 51 |      as session cookie authentication of custom tracking headers.
 52 |      */
 53 |     var request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
 54 |     /**
 55 |      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: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |      or has not yet been made.
 57 |      */
 58 |     let response: HTTPURLResponse?
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |     /**
 60 |      A flag that signals to the HTTP layer that it should retry the request.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:111:30: error: cannot find type 'URLRequest' in scope
109 |  */
110 | internal class URLSessionTask {
111 |     fileprivate let request: URLRequest
    |                              `- error: cannot find type 'URLRequest' in scope
112 |     fileprivate var inProgressTask: URLSessionDataTask
113 |     fileprivate let session: URLSession
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:112:37: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 | internal class URLSessionTask {
111 |     fileprivate let request: URLRequest
112 |     fileprivate var inProgressTask: URLSessionDataTask
    |                                     `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     fileprivate let session: URLSession
114 |     fileprivate var remainingRetries: UInt = 10
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:113:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     fileprivate let request: URLRequest
112 |     fileprivate var inProgressTask: URLSessionDataTask
113 |     fileprivate let session: URLSession
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     fileprivate var remainingRetries: UInt = 10
115 |     fileprivate var remainingBackOffRetries: UInt = 3
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:120:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |     //This  is for caching before delivering the response to the delegate in the event a 401/403 is
119 |     // encountered.
120 |     fileprivate var response: HTTPURLResponse? = nil
    |                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
121 |     // Caching of the data before being delivered to the delegate in the event of a 401/403 response.
122 |     fileprivate var data: Data? = nil
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:124:49: error: 'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')
122 |     fileprivate var data: Data? = nil
123 |
124 |     public var state: Foundation.URLSessionTask.State {
    |                                                 `- error: 'State' is not a member type of type 'Foundation.URLSessionTask' (aka 'AnyObject')
125 |         get {
126 |             return inProgressTask.state
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:137:40: error: cannot find type 'URLRequest' in scope
135 |      - parameter delegate: The delegate for this task.
136 |      */
137 |     init(session: URLSession, request: URLRequest, inProgressTask:URLSessionDataTask, delegate: InterceptableSessionDelegate) {
    |                                        `- error: cannot find type 'URLRequest' in scope
138 |         self.request = request
139 |         self.session = session
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:137:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |      - parameter delegate: The delegate for this task.
136 |      */
137 |     init(session: URLSession, request: URLRequest, inProgressTask:URLSessionDataTask, delegate: InterceptableSessionDelegate) {
    |                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         self.request = request
139 |         self.session = session
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:137:67: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |      - parameter delegate: The delegate for this task.
136 |      */
137 |     init(session: URLSession, request: URLRequest, inProgressTask:URLSessionDataTask, delegate: InterceptableSessionDelegate) {
    |                                                                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         self.request = request
139 |         self.session = session
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:162:48: error: cannot find type 'URLSessionDelegate' in scope
160 |  A class to create `URLSessionTask`
161 |  */
162 | internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionStreamDelegate {
    |                                                `- error: cannot find type 'URLSessionDelegate' in scope
163 |
164 |     // 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: error: cannot find type 'URLSessionTaskDelegate' in scope
160 |  A class to create `URLSessionTask`
161 |  */
162 | internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionStreamDelegate {
    |                                                                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
163 |
164 |     // 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: error: cannot find type 'URLSessionDataDelegate' in scope
160 |  A class to create `URLSessionTask`
161 |  */
162 | internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionStreamDelegate {
    |                                                                                            `- error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 |     // 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: error: cannot find type 'URLSessionStreamDelegate' in scope
160 |  A class to create `URLSessionTask`
161 |  */
162 | internal class InterceptableSession: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate, URLSessionStreamDelegate {
    |                                                                                                                    `- error: cannot find type 'URLSessionStreamDelegate' in scope
163 |
164 |     // 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: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
165 |     // can't call super.init until all properties have been initialised. To get around this we lazily create the
166 |     // URLSession instance when it is required.
167 |     internal lazy var session: URLSession = { () -> URLSession in
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |         let config = URLSessionConfiguration.default
169 |         config.httpAdditionalHeaders = ["User-Agent" as AnyHashable: InterceptableSession.userAgent()]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:168:46: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
166 |     // URLSession instance when it is required.
167 |     internal lazy var session: URLSession = { () -> URLSession in
168 |         let config = URLSessionConfiguration.default
    |                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
169 |         config.httpAdditionalHeaders = ["User-Agent" as AnyHashable: InterceptableSession.userAgent()]
170 |         config.httpCookieAcceptPolicy = .onlyFromMainDocumentDomain
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:175:27: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
173 |         return URLSession(configuration: config, delegate: self, delegateQueue: nil) }()
174 |
175 |     private var taskDict: [Foundation.URLSessionTask: URLSessionTask] = [:]
    |                           `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
176 |
177 |     private let delegateQueue = DispatchQueue(label: "com.cloudant.swift.interceptable.session.delegate", attributes: .concurrent)
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:197:20: error: cannot find type 'URLSessionDelegate' in scope
195 |      - parameter configuration: The configuration for this session.
196 |      */
197 |     init(delegate: URLSessionDelegate?, configuration: InterceptableSessionConfiguration) {
    |                    `- error: cannot find type 'URLSessionDelegate' in scope
198 |         self.configuration = configuration
199 |
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:217:37: error: cannot find type 'URLRequest' in scope
215 |      - returns: A `URLSessionTask` representing the task for the `NSURLRequest`
216 |      */
217 |     internal func dataTask(request: URLRequest, delegate: InterceptableSessionDelegate) -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
218 |
219 |         // 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: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |
238 |
239 |     internal func urlSession(_ session: URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Error?) {
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |         guard let mTask = taskDict[task]
241 |         else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:239:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |
238 |
239 |     internal func urlSession(_ session: URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Error?) {
    |                                                                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |         guard let mTask = taskDict[task]
241 |         else {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:292:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
290 |     }
291 |
292 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 |         guard let task = taskDict[dataTask]
294 |         else {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:292:63: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
290 |     }
291 |
292 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 |         guard let task = taskDict[dataTask]
294 |         else {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:158: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |     }
311 |
312 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                                                                              `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         // Retrieve the task from the dict.
314 |         guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     }
311 |
312 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         // Retrieve the task from the dict.
314 |         guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:63: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     }
311 |
312 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         // Retrieve the task from the dict.
314 |         guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/HTTP/URLSession.swift:312:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     }
311 |
312 |     internal func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
313 |         // Retrieve the task from the dict.
314 |         guard let task = taskDict[dataTask], let response = response as? HTTPURLResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Source/SwiftCloudant/Operations/Operation.swift:22:14: warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 20 |  An NSOperation subclass for executing `CouchOperations`
 21 |  */
 22 | public class Operation: Foundation.Operation, HTTPRequestOperation
    |              `- warning: class 'Operation' must restate inherited '@unchecked Sendable' conformance
 23 | {
 24 |
Failed frontend command:
/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 x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /usr/lib/swift/host/plugins/testing\#/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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/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-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/SwiftCloudant_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/Modules/SwiftCloudant.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/Modules/SwiftCloudant.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/SwiftCloudant-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/SwiftCloudant-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/SwiftCloudant-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCloudant.build/Debug-linux-x86_64/SwiftCloudant-t.build/Objects-normal/x86_64/Modules/SwiftCloudant.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux