The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleanroomDataTransactions, reference master (ca9ff5), with Swift 6.3 for Android on 11 Apr 2026 08:33:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emaloney/cleanroomdatatransactions.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/emaloney/cleanroomdatatransactions
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ca9ff51 Release 8.1.0 (build 38)
Cloned https://github.com/emaloney/cleanroomdatatransactions.git
Revision (git rev-parse @):
ca9ff51fa888a9f48e6497fd9cad580b71b91e33
SUCCESS checkout https://github.com/emaloney/cleanroomdatatransactions.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/emaloney/cleanroomdatatransactions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/20] Compiling CleanroomDataTransactions HTTPTransactionConfigurator.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
[4/20] Compiling CleanroomDataTransactions HTTPTransactionControl.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module CleanroomDataTransactions
/host/spi-builder-workspace/Sources/DataTransactionError.swift:86:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /** Indicates an HTTP error response was received. Contains the response,
 85 |      its metadata, and the body of the response. */
 86 |     case httpError(HTTPURLResponse, HTTPResponseMetadata, Data)
    |                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 | }
 88 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:19:51: error: cannot find type 'PlatformImageType' in scope
17 |  `NSImage`.
18 |  */
19 | open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
   |                                                   `- error: cannot find type 'PlatformImageType' in scope
20 | {
21 |     /**
/host/spi-builder-workspace/Sources/HTTPRequestMethod.swift:82:11: error: cannot find type 'URLRequest' in scope
 80 | }
 81 |
 82 | extension URLRequest
    |           `- error: cannot find type 'URLRequest' in scope
 83 | {
 84 |     /**
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:39:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
 39 |     public typealias RedirectApprover = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, URL) -> Bool
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     /** The signature of a function used to validate the response received
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:43:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     /** The signature of a function used to validate the response received
 42 |      by an HTTP transaction. */
 43 |     public typealias ResponseValidator = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, HTTPResponseMetadata, Data) throws -> Void
    |                                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /** The signature of a payload processing function. This function accepts
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:127:16: error: cannot find 'URLRequest' in scope
125 |      constructed from the passed-in `URL`. */
126 |     public var constructRequest: RequestConstructor = { _, url in
127 |         return URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
128 |     }
129 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: value of type '_' expected to be instance of class or class-constrained type
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:171:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |
170 |     private var pinnedTransaction: HTTPTransaction<ResponseDataType>?
171 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |     private let processingQueue: DispatchQueue
173 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:387:72: error: cannot find type 'URLSessionTaskDelegate' in scope
385 | }
386 |
387 | private class HTTPTransactionTaskDelegate<ResponseDataType>: NSObject, URLSessionTaskDelegate
    |                                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
388 | {
389 |     typealias Transaction = HTTPTransaction<ResponseDataType>
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:140: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:182: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:437:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransactionTracer.swift:125:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |
127 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
[6/22] Compiling CleanroomDataTransactions HTTPTransactionTracer.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |
127 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
/host/spi-builder-workspace/Sources/ImageConstruction.swift:69:23: error: cannot find 'PlatformImageType' in scope
67 |     -> PlatformImageType
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
   |                       `- error: cannot find 'PlatformImageType' in scope
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
71 |     }
/host/spi-builder-workspace/Sources/ImageConstruction.swift:70:74: error: cannot find 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
   |                                                                          `- error: cannot find 'PlatformImageType' in scope
71 |     }
72 |     return image
[7/22] Compiling CleanroomDataTransactions ImageConstruction.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |
127 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |     /**
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
/host/spi-builder-workspace/Sources/ImageConstruction.swift:69:23: error: cannot find 'PlatformImageType' in scope
67 |     -> PlatformImageType
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
   |                       `- error: cannot find 'PlatformImageType' in scope
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
71 |     }
/host/spi-builder-workspace/Sources/ImageConstruction.swift:70:74: error: cannot find 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
   |                                                                          `- error: cannot find 'PlatformImageType' in scope
71 |     }
72 |     return image
[8/22] Compiling CleanroomDataTransactions JSONDecodableTransaction.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
[9/22] Compiling CleanroomDataTransactions JSONExtractionExtensions.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
[10/22] Compiling CleanroomDataTransactions JSONKey.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
[11/22] Compiling CleanroomDataTransactions JSONTransaction.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
[12/22] Compiling CleanroomDataTransactions HTTPResponseMetadata.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:39:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
 39 |     public typealias RedirectApprover = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, URL) -> Bool
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     /** The signature of a function used to validate the response received
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:43:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     /** The signature of a function used to validate the response received
 42 |      by an HTTP transaction. */
 43 |     public typealias ResponseValidator = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, HTTPResponseMetadata, Data) throws -> Void
    |                                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /** The signature of a payload processing function. This function accepts
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:127:16: error: cannot find 'URLRequest' in scope
125 |      constructed from the passed-in `URL`. */
126 |     public var constructRequest: RequestConstructor = { _, url in
127 |         return URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
128 |     }
129 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: value of type '_' expected to be instance of class or class-constrained type
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:171:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |
170 |     private var pinnedTransaction: HTTPTransaction<ResponseDataType>?
171 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |     private let processingQueue: DispatchQueue
173 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:387:72: error: cannot find type 'URLSessionTaskDelegate' in scope
385 | }
386 |
387 | private class HTTPTransactionTaskDelegate<ResponseDataType>: NSObject, URLSessionTaskDelegate
    |                                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
388 | {
389 |     typealias Transaction = HTTPTransaction<ResponseDataType>
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:140: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:182: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:437:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:204:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |
203 |     deinit {
204 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
205 |     }
206 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:210:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
208 |     {
209 |         pinnedTransaction = nil
210 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
211 |         task = nil
212 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:110: error: 'nil' requires a contextual type
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:281:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
282 |                 queue.async {
283 |                     var respMeta: HTTPResponseMetadata?     // for the transactionCompleted in the catch block
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:297:55: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
295 |                         }
296 |
297 |                         guard let httpResp = response as? HTTPURLResponse else {
    |                                                       `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
298 |                             throw DataTransactionError.httpRequired
299 |                         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:301:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
299 |                         }
300 |
301 |                         let finalURL = httpResp.url ?? issuedURL
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
302 |                         let meta = HTTPResponseMetadata(originalURL: url, issuedURL: issuedURL, finalURL: finalURL, responseStatusCode: httpResp.statusCode, mimeType: httpResp.mimeType, textEncoding: httpResp.textEncodingName, httpHeaders: httpResp.allHeaderFields as! [String: String])
303 |                         respMeta = meta
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:347:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
345 |
346 |             // set the initial priority
347 |             task.priority = requestPriority.taskPriority
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
348 |
349 |             task.resume()   // this kicks off the HTTP request
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:349:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
347 |             task.priority = requestPriority.taskPriority
348 |
349 |             task.resume()   // this kicks off the HTTP request
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
350 |             session.finishTasksAndInvalidate()
351 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:380:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
378 |     fileprivate var taskPriority: Float {
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:381:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
382 |         case .low:      return URLSessionTask.lowPriority
383 |         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:382:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
383 |         }
384 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:433:31: error: 'nil' requires a contextual type
431 |             // redirect NOT approved!
432 |             // NOTE: causes redirect response to be returned by the transaction
433 |             completionHandler(nil)      // prevent redirect from being followed
    |                               `- error: 'nil' requires a contextual type
434 |         }
435 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:34: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:57: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                                         `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:456:88: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
454 |         }
455 |
456 |         tracer.willWaitForNetwork(request: request, for: transaction, timeout: session.configuration.timeoutIntervalForResource, id: transactionID)
    |                                                                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
457 |     }
458 | }
[13/22] Compiling CleanroomDataTransactions HTTPResponseStatus.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:39:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
 39 |     public typealias RedirectApprover = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, URL) -> Bool
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     /** The signature of a function used to validate the response received
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:43:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     /** The signature of a function used to validate the response received
 42 |      by an HTTP transaction. */
 43 |     public typealias ResponseValidator = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, HTTPResponseMetadata, Data) throws -> Void
    |                                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /** The signature of a payload processing function. This function accepts
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:127:16: error: cannot find 'URLRequest' in scope
125 |      constructed from the passed-in `URL`. */
126 |     public var constructRequest: RequestConstructor = { _, url in
127 |         return URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
128 |     }
129 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: value of type '_' expected to be instance of class or class-constrained type
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:171:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |
170 |     private var pinnedTransaction: HTTPTransaction<ResponseDataType>?
171 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |     private let processingQueue: DispatchQueue
173 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:387:72: error: cannot find type 'URLSessionTaskDelegate' in scope
385 | }
386 |
387 | private class HTTPTransactionTaskDelegate<ResponseDataType>: NSObject, URLSessionTaskDelegate
    |                                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
388 | {
389 |     typealias Transaction = HTTPTransaction<ResponseDataType>
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:140: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:182: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:437:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:204:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |
203 |     deinit {
204 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
205 |     }
206 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:210:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
208 |     {
209 |         pinnedTransaction = nil
210 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
211 |         task = nil
212 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:110: error: 'nil' requires a contextual type
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:281:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
282 |                 queue.async {
283 |                     var respMeta: HTTPResponseMetadata?     // for the transactionCompleted in the catch block
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:297:55: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
295 |                         }
296 |
297 |                         guard let httpResp = response as? HTTPURLResponse else {
    |                                                       `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
298 |                             throw DataTransactionError.httpRequired
299 |                         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:301:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
299 |                         }
300 |
301 |                         let finalURL = httpResp.url ?? issuedURL
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
302 |                         let meta = HTTPResponseMetadata(originalURL: url, issuedURL: issuedURL, finalURL: finalURL, responseStatusCode: httpResp.statusCode, mimeType: httpResp.mimeType, textEncoding: httpResp.textEncodingName, httpHeaders: httpResp.allHeaderFields as! [String: String])
303 |                         respMeta = meta
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:347:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
345 |
346 |             // set the initial priority
347 |             task.priority = requestPriority.taskPriority
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
348 |
349 |             task.resume()   // this kicks off the HTTP request
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:349:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
347 |             task.priority = requestPriority.taskPriority
348 |
349 |             task.resume()   // this kicks off the HTTP request
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
350 |             session.finishTasksAndInvalidate()
351 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:380:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
378 |     fileprivate var taskPriority: Float {
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:381:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
382 |         case .low:      return URLSessionTask.lowPriority
383 |         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:382:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
383 |         }
384 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:433:31: error: 'nil' requires a contextual type
431 |             // redirect NOT approved!
432 |             // NOTE: causes redirect response to be returned by the transaction
433 |             completionHandler(nil)      // prevent redirect from being followed
    |                               `- error: 'nil' requires a contextual type
434 |         }
435 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:34: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:57: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                                         `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:456:88: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
454 |         }
455 |
456 |         tracer.willWaitForNetwork(request: request, for: transaction, timeout: session.configuration.timeoutIntervalForResource, id: transactionID)
    |                                                                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
457 |     }
458 | }
[14/22] Compiling CleanroomDataTransactions HTTPTransaction.swift
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:39:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
 39 |     public typealias RedirectApprover = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, URL) -> Bool
    |                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     /** The signature of a function used to validate the response received
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:43:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     /** The signature of a function used to validate the response received
 42 |      by an HTTP transaction. */
 43 |     public typealias ResponseValidator = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, HTTPResponseMetadata, Data) throws -> Void
    |                                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     /** The signature of a payload processing function. This function accepts
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
110 |     public var requestPriority = Priority.default {
111 |         didSet {
112 |             task?.priority = requestPriority.taskPriority
    |                   `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
113 |         }
114 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:127:16: error: cannot find 'URLRequest' in scope
125 |      constructed from the passed-in `URL`. */
126 |     public var constructRequest: RequestConstructor = { _, url in
127 |         return URLRequest(url: url)
    |                `- error: cannot find 'URLRequest' in scope
128 |     }
129 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: value of type '_' expected to be instance of class or class-constrained type
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
158 |     /** The `URLSessionConfiguration` used to create the `URLSession` for
159 |      the transaction. */
160 |     public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
161 |
162 |     /** A `ResponseValidator` function used to validate the HTTP response
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:171:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 |
170 |     private var pinnedTransaction: HTTPTransaction<ResponseDataType>?
171 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |     private let processingQueue: DispatchQueue
173 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
227 |      - parameter request: The `URLRequest` to configure.
228 |      */
229 |     open func configure(request: inout URLRequest)
    |                                        `- error: cannot find type 'URLRequest' in scope
230 |     {
231 |         request.httpMethod = method.asString
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:387:72: error: cannot find type 'URLSessionTaskDelegate' in scope
385 | }
386 |
387 | private class HTTPTransactionTaskDelegate<ResponseDataType>: NSObject, URLSessionTaskDelegate
    |                                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
388 | {
389 |     typealias Transaction = HTTPTransaction<ResponseDataType>
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:140: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:182: error: cannot find type 'URLRequest' in scope
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover 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/Sources/HTTPTransaction.swift:405:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
403 |     }
404 |
405 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
406 |     {
407 |         guard let redirectApprover = redirectApprover else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:437:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |     }
436 |
437 |     func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
    |                                                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |     {
439 |         guard let tracer = tracer 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/Sources/HTTPTransaction.swift:204:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |
203 |     deinit {
204 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
205 |     }
206 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:210:15: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
208 |     {
209 |         pinnedTransaction = nil
210 |         task?.cancel()
    |               `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
211 |         task = nil
212 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:279:110: error: 'nil' requires a contextual type
277 |             let customRedirectApprover = isUsingCustomRedirectApprover ? shouldAllowRedirect : nil
278 |             let delegate = HTTPTransactionTaskDelegate<ResponseDataType>(transaction: self, id: txnID, tracer: tracer, redirectApprover: customRedirectApprover)
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
    |                                                                                                              `- error: 'nil' requires a contextual type
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:281:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |             let session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: nil)
280 |
281 |             let handler: (Data?, URLResponse?, Error?) -> Void = { [weak self, queue = processingQueue] data, response, error in
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
282 |                 queue.async {
283 |                     var respMeta: HTTPResponseMetadata?     // for the transactionCompleted in the catch block
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:297:55: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
295 |                         }
296 |
297 |                         guard let httpResp = response as? HTTPURLResponse else {
    |                                                       `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
298 |                             throw DataTransactionError.httpRequired
299 |                         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:301:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
299 |                         }
300 |
301 |                         let finalURL = httpResp.url ?? issuedURL
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
302 |                         let meta = HTTPResponseMetadata(originalURL: url, issuedURL: issuedURL, finalURL: finalURL, responseStatusCode: httpResp.statusCode, mimeType: httpResp.mimeType, textEncoding: httpResp.textEncodingName, httpHeaders: httpResp.allHeaderFields as! [String: String])
303 |                         respMeta = meta
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:347:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
345 |
346 |             // set the initial priority
347 |             task.priority = requestPriority.taskPriority
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
348 |
349 |             task.resume()   // this kicks off the HTTP request
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:349:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
347 |             task.priority = requestPriority.taskPriority
348 |
349 |             task.resume()   // this kicks off the HTTP request
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
350 |             session.finishTasksAndInvalidate()
351 |
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:380:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
378 |     fileprivate var taskPriority: Float {
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'highPriority'
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:381:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
379 |         switch self {
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'defaultPriority'
382 |         case .low:      return URLSessionTask.lowPriority
383 |         }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:382:47: error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
380 |         case .high:     return URLSessionTask.highPriority
381 |         case .default:  return URLSessionTask.defaultPriority
382 |         case .low:      return URLSessionTask.lowPriority
    |                                               `- error: type 'URLSessionTask' (aka 'AnyObject') has no member 'lowPriority'
383 |         }
384 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:433:31: error: 'nil' requires a contextual type
431 |             // redirect NOT approved!
432 |             // NOTE: causes redirect response to be returned by the transaction
433 |             completionHandler(nil)      // prevent redirect from being followed
    |                               `- error: 'nil' requires a contextual type
434 |         }
435 |     }
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:34: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'currentRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:450:57: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
448 |         }
449 |
450 |         guard let request = task.currentRequest ?? task.originalRequest else {
    |                                                         `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
451 |             // there's no request to report
452 |             // don't think this is theoretically possible
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:456:88: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
454 |         }
455 |
456 |         tracer.willWaitForNetwork(request: request, for: transaction, timeout: session.configuration.timeoutIntervalForResource, id: transactionID)
    |                                                                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
457 |     }
458 | }
[15/22] Compiling CleanroomDataTransactions EncodingExtensions.swift
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:19:51: error: cannot find type 'PlatformImageType' in scope
17 |  `NSImage`.
18 |  */
19 | open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
   |                                                   `- error: cannot find type 'PlatformImageType' in scope
20 | {
21 |     /**
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:31:24: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
29 |         super.init(url: url, transactionType: .media, processingQueue: processingQueue)
30 |
31 |         processPayload = { _, data, _ in
   |                        `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
32 |             return try platformImage(fromData: data)
33 |         }
/host/spi-builder-workspace/Sources/HTTPRequestMethod.swift:82:11: error: cannot find type 'URLRequest' in scope
 80 | }
 81 |
 82 | extension URLRequest
    |           `- error: cannot find type 'URLRequest' in scope
 83 | {
 84 |     /**
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
[16/22] Compiling CleanroomDataTransactions FetchImageTransaction.swift
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:19:51: error: cannot find type 'PlatformImageType' in scope
17 |  `NSImage`.
18 |  */
19 | open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
   |                                                   `- error: cannot find type 'PlatformImageType' in scope
20 | {
21 |     /**
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:31:24: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
29 |         super.init(url: url, transactionType: .media, processingQueue: processingQueue)
30 |
31 |         processPayload = { _, data, _ in
   |                        `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
32 |             return try platformImage(fromData: data)
33 |         }
/host/spi-builder-workspace/Sources/HTTPRequestMethod.swift:82:11: error: cannot find type 'URLRequest' in scope
 80 | }
 81 |
 82 | extension URLRequest
    |           `- error: cannot find type 'URLRequest' in scope
 83 | {
 84 |     /**
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
[17/22] Compiling CleanroomDataTransactions HTTPRequestMethod.swift
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:19:51: error: cannot find type 'PlatformImageType' in scope
17 |  `NSImage`.
18 |  */
19 | open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
   |                                                   `- error: cannot find type 'PlatformImageType' in scope
20 | {
21 |     /**
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:31:24: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
29 |         super.init(url: url, transactionType: .media, processingQueue: processingQueue)
30 |
31 |         processPayload = { _, data, _ in
   |                        `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
32 |             return try platformImage(fromData: data)
33 |         }
/host/spi-builder-workspace/Sources/HTTPRequestMethod.swift:82:11: error: cannot find type 'URLRequest' in scope
 80 | }
 81 |
 82 | extension URLRequest
    |           `- error: cannot find type 'URLRequest' in scope
 83 | {
 84 |     /**
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
[18/22] Compiling CleanroomDataTransactions DataTransaction.swift
/host/spi-builder-workspace/Sources/DataTransactionError.swift:86:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /** Indicates an HTTP error response was received. Contains the response,
 85 |      its metadata, and the body of the response. */
 86 |     case httpError(HTTPURLResponse, HTTPResponseMetadata, Data)
    |                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 | }
 88 |
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
[19/22] Compiling CleanroomDataTransactions DataTransactionError.swift
/host/spi-builder-workspace/Sources/DataTransactionError.swift:86:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /** Indicates an HTTP error response was received. Contains the response,
 85 |      its metadata, and the body of the response. */
 86 |     case httpError(HTTPURLResponse, HTTPResponseMetadata, Data)
    |                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 | }
 88 |
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
[20/22] Compiling CleanroomDataTransactions DispatchQueueExtension.swift
/host/spi-builder-workspace/Sources/DataTransactionError.swift:86:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /** Indicates an HTTP error response was received. Contains the response,
 85 |      its metadata, and the body of the response. */
 86 |     case httpError(HTTPURLResponse, HTTPResponseMetadata, Data)
    |                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 | }
 88 |
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
[21/22] Compiling CleanroomDataTransactions JSONTypes.swift
[22/22] Compiling CleanroomDataTransactions MIMEType.swift
BUILD FAILURE 6.3 android