The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVR, reference v2.1.0 (d13f71), with Swift 6.4 for Linux on 16 Sep 2026 07:37:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/venmo/DVR.git
Reference: v2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/venmo/DVR
 * tag               v2.1.0     -> FETCH_HEAD
HEAD is now at d13f713 Bump version to 2.1.0
Cloned https://github.com/venmo/DVR.git
Revision (git rev-parse @):
d13f7135d1993053580efe13c9ecc43200852d09
SUCCESS checkout https://github.com/venmo/DVR.git at v2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/venmo/DVR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

[28 / 36] DVR
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
19 |     // MARK: - Functions
20 |
21 |     func interactionForRequest(_ request: URLRequest) -> Interaction? {
   |                                           `- error: cannot find type 'URLRequest' in scope
22 |         for interaction in interactions {
23 |             let interactionRequest = interaction.request
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: error: cannot find type 'URLRequest' in scope
  5 |     // MARK: - Properties
  6 |
  7 |     let request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
  8 |     let response: Foundation.URLResponse
  9 |     let responseData: Data?
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:56:19: error: cannot find type 'URLRequest' in scope
54 | }
55 |
56 | private extension URLRequest {
   |                   `- error: cannot find type 'URLRequest' in scope
57 |     func hasHTTPBodyEqualToThatOfRequest(_ request: URLRequest) -> Bool {
58 |         guard let body1 = self.httpBody,
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:9:18: error: property does not override any property from its superclass
 7 |
 8 |     private var _url: URL?
 9 |     override var url: URL? {
   |                  `- error: property does not override any property from its superclass
10 |         get {
11 |             return _url ?? super.url
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:20:18: error: property does not override any property from its superclass
18 |
19 |     private var _statusCode: Int?
20 |     override var statusCode: Int {
   |                  `- error: property does not override any property from its superclass
21 |         get {
22 |             return _statusCode ?? super.statusCode
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:31:18: error: property does not override any property from its superclass
29 |
30 |     private var _allHeaderFields: [AnyHashable: Any]?
31 |     override var allHeaderFields: [AnyHashable: Any] {
   |                  `- error: property does not override any property from its superclass
32 |         get {
33 |             return _allHeaderFields ?? super.allHeaderFields
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:4:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | // There isn't a mutable HTTPURLResponse, so we have to make our own.
 4 | class HTTPURLResponse: Foundation.HTTPURLResponse {
   |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 |     // MARK: - Properties
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/DVR/Interaction.swift:8:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |
  7 |     let request: URLRequest
  8 |     let response: Foundation.URLResponse
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     let responseData: Data?
 10 |     let recordedAt: Date
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/DVR/Interaction.swift:15:19: error: cannot find type 'URLRequest' in scope
 13 |     // MARK: - Initializers
 14 |
 15 |     init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
    |                   `- error: cannot find type 'URLRequest' in scope
 16 |         self.request = request
 17 |         self.response = response
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     // MARK: - Initializers
 14 |
 15 |     init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
    |                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         self.request = request
 17 |         self.response = response
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/DVR/Session.swift:13:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |     open var outputDirectory: String
 12 |     public let cassetteName: String
 13 |     public let backingSession: URLSession
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     open var recordingEnabled = true
 15 |
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/DVR/Session.swift:20:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     private var recording = false
 19 |     private var needsPersistence = false
 20 |     private var outstandingTasks = [URLSessionTask]()
    |                                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 21 |     private var completedInteractions = [Interaction]()
 22 |     private var completionBlock: (() -> Void)?
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/DVR/Session.swift:24:33: error: cannot find type 'URLSessionDelegate' in scope
 22 |     private var completionBlock: (() -> Void)?
 23 |
 24 |     override open var delegate: URLSessionDelegate? {
    |                                 `- error: cannot find type 'URLSessionDelegate' in scope
 25 |         return backingSession.delegate
 26 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:148: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     // MARK: - Initializers
 29 |
 30 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
    |                                                                                                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.outputDirectory = outputDirectory
 32 |         self.cassetteName = cassetteName
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/DVR/Session.swift:30:172: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 |     // MARK: - Initializers
 29 |
 30 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
    |                                                                                                                                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |         self.outputDirectory = outputDirectory
 32 |         self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:172: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 28 |     // MARK: - Initializers
 29 |
 30 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
    |                                                                                                                                                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
 31 |         self.outputDirectory = outputDirectory
 32 |         self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:51: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     // MARK: - URLSession
 40 |
 41 |     open override func dataTask(with url: URL) -> URLSessionDataTask {
    |                                                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         return addDataTask(URLRequest(url: url))
 43 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:24: error: method does not override any method from its superclass
 39 |     // MARK: - URLSession
 40 |
 41 |     open override func dataTask(with url: URL) -> URLSessionDataTask {
    |                        `- error: method does not override any method from its superclass
 42 |         return addDataTask(URLRequest(url: url))
 43 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 47 |     }
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/DVR/Session.swift:45:132: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                                                                                                                    `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 47 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:24: error: method does not override any method from its superclass
 43 |     }
 44 |
 45 |     open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                        `- error: method does not override any method from its superclass
 46 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 47 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:47: error: cannot find type 'URLRequest' in scope
 47 |     }
 48 |
 49 |     open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
    |                                               `- error: cannot find type 'URLRequest' in scope
 50 |         return addDataTask(request)
 51 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:62: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |     }
 48 |
 49 |     open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
    |                                                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |         return addDataTask(request)
 51 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:47: error: cannot find type 'URLRequest' in scope
 51 |     }
 52 |
 53 |     open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                               `- error: cannot find type 'URLRequest' in scope
 54 |         return addDataTask(request, completionHandler: completionHandler)
 55 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     }
 52 |
 53 |     open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |         return addDataTask(request, completionHandler: completionHandler)
 55 |     }
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/DVR/Session.swift:53:143: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |     }
 52 |
 53 |     open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                                                                                                                               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |         return addDataTask(request, completionHandler: completionHandler)
 55 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:51: error: cannot find type 'URLRequest' in scope
 55 |     }
 56 |
 57 |     open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 58 |         return addDownloadTask(request)
 59 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:66: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     }
 56 |
 57 |     open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
    |                                                                  `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |         return addDownloadTask(request)
 59 |     }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:51: error: cannot find type 'URLRequest' in scope
 59 |     }
 60 |
 61 |     open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 62 |         return addDownloadTask(request, completionHandler: completionHandler)
 63 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |     }
 60 |
 61 |     open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         return addDownloadTask(request, completionHandler: completionHandler)
 63 |     }
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/DVR/Session.swift:61:144: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |     }
 60 |
 61 |     open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                                                                                                                `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         return addDownloadTask(request, completionHandler: completionHandler)
 63 |     }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:49: error: cannot find type 'URLRequest' in scope
 63 |     }
 64 |
 65 |     open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 66 |         return addUploadTask(request, fromData: bodyData)
 67 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:85: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     }
 64 |
 65 |     open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
    |                                                                                     `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         return addUploadTask(request, fromData: bodyData)
 67 |     }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:50: error: cannot find type 'URLRequest' in scope
 67 |     }
 68 |
 69 |     open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                  `- error: cannot find type 'URLRequest' in scope
 70 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 71 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |     }
 68 |
 69 |     open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 71 |     }
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/DVR/Session.swift:69:166: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |     }
 68 |
 69 |     open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                                                                                                                                      `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 71 |     }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:49: error: cannot find type 'URLRequest' in scope
 71 |     }
 72 |
 73 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 74 |         let data = try! Data(contentsOf: fileURL)
 75 |         return addUploadTask(request, fromData: data)
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:87: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |     }
 72 |
 73 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
    |                                                                                       `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 |         let data = try! Data(contentsOf: fileURL)
 75 |         return addUploadTask(request, fromData: data)
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:49: error: cannot find type 'URLRequest' in scope
 76 |     }
 77 |
 78 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 79 |         let data = try! Data(contentsOf: fileURL)
 80 |         return addUploadTask(request, fromData: data, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     }
 77 |
 78 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         let data = try! Data(contentsOf: fileURL)
 80 |         return addUploadTask(request, fromData: data, completionHandler: completionHandler)
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/DVR/Session.swift:78:166: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     }
 77 |
 78 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
    |                                                                                                                                                                      `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         let data = try! Data(contentsOf: fileURL)
 80 |         return addUploadTask(request, fromData: data, completionHandler: completionHandler)
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:83:24: error: method does not override any method from its superclass
 81 |     }
 82 |
 83 |     open override func invalidateAndCancel() {
    |                        `- error: method does not override any method from its superclass
 84 |         recording = false
 85 |         outstandingTasks.removeAll()
/host/spi-builder-workspace/Sources/DVR/Session.swift:134:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |     }
133 |
134 |     func finishTask(_ task: URLSessionTask, interaction: Interaction, playback: Bool) {
    |                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |         needsPersistence = needsPersistence || !playback
136 |
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/DVR/Session.swift:159:41: error: cannot find type 'URLRequest' in scope
157 |     // MARK: - Private
158 |
159 |     private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
    |                                         `- error: cannot find type 'URLRequest' in scope
160 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
161 |         let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     // MARK: - Private
158 |
159 |     private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
    |                                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
161 |         let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
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/DVR/Session.swift:159:136: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
157 |     // MARK: - Private
158 |
159 |     private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
    |                                                                                                                                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
161 |         let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:45: error: cannot find type 'URLRequest' in scope
164 |     }
165 |
166 |     private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
    |                                             `- error: cannot find type 'URLRequest' in scope
167 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
168 |         let task = SessionDownloadTask(session: self, request: modifiedRequest, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:118: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |     }
165 |
166 |     private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
    |                                                                                                                      `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
168 |         let task = SessionDownloadTask(session: self, request: modifiedRequest, completion: completionHandler)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:43: error: cannot find type 'URLRequest' in scope
171 |     }
172 |
173 |     private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
    |                                           `- error: cannot find type 'URLRequest' in scope
174 |         var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
175 |         modifiedRequest = data.map(modifiedRequest.appending) ?? modifiedRequest
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:136: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |     }
172 |
173 |     private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
    |                                                                                                                                        `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |         var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
175 |         modifiedRequest = data.map(modifiedRequest.appending) ?? modifiedRequest
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/Session.swift:181:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     }
180 |
181 |     private func addTask(_ task: URLSessionTask) {
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |         let shouldRecord = !recording
183 |         if shouldRecord {
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/DVR/Session.swift:3:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  1 | import Foundation
  2 |
  3 | open class Session: URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 |
  5 |     // MARK: - Properties
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/DVR/SessionDataTask.swift:7:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |     // MARK: - Types
 6 |
 7 |     typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
   |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |
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/DVR/SessionDataTask.swift:13:18: error: cannot find type 'URLRequest' in scope
11 |
12 |     weak var session: Session!
13 |     let request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
14 |     let completion: Completion?
15 |     private let queue = DispatchQueue(label: "com.venmo.DVR.sessionDataTaskQueue", attributes: [])
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:18: error: property does not override any property from its superclass
16 |     private var interaction: Interaction?
17 |
18 |     override var response: Foundation.URLResponse? {
   |                  `- error: property does not override any property from its superclass
19 |         return interaction?.response
20 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private var interaction: Interaction?
17 |
18 |     override var response: Foundation.URLResponse? {
   |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         return interaction?.response
20 |     }
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/DVR/SessionDataTask.swift:22:34: error: cannot find type 'URLRequest' in scope
20 |     }
21 |
22 |     override var currentRequest: URLRequest? {
   |                                  `- error: cannot find type 'URLRequest' in scope
23 |         return request
24 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
27 |     // MARK: - Initializers
28 |
29 |     init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
30 |         self.session = session
31 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:38:19: error: method does not override any method from its superclass
36 |     // MARK: - URLSessionTask
37 |
38 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
39 |         // Don't do anything
40 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:42:19: error: method does not override any method from its superclass
40 |     }
41 |
42 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
43 |         let cassette = session.cassette
44 |
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:3:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 1 | import Foundation
 2 |
 3 | final class SessionDataTask: URLSessionDataTask {
   |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     // MARK: - Types
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:7:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |     // MARK: - Types
 6 |
 7 |     typealias Completion = (URL?, Foundation.URLResponse?, NSError?) -> Void
   |                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |     // MARK: - Properties
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/DVR/SessionDownloadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
10 |
11 |     weak var session: Session!
12 |     let request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
13 |     let completion: Completion?
14 |
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
16 |     // MARK: - Initializers
17 |
18 |     init(session: Session, request: URLRequest, completion: Completion? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         self.session = session
20 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:26:19: error: method does not override any method from its superclass
24 |     // MARK: - URLSessionTask
25 |
26 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
27 |         // Don't do anything
28 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:30:19: error: method does not override any method from its superclass
28 |     }
29 |
30 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
31 |         let task = SessionDataTask(session: session, request: request) { data, response, error in
32 |             let location: URL?
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:3:34: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 1 | import Foundation
 2 |
 3 | final class SessionDownloadTask: URLSessionDownloadTask {
   |                                  `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     // MARK: - Types
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:7:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |     // MARK: - Types
 6 |
 7 |     typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
   |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |
 9 |     // MARK: - Properties
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/DVR/SessionUploadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
10 |
11 |     weak var session: Session!
12 |     let request: URLRequest
   |                  `- error: cannot find type 'URLRequest' in scope
13 |     let completion: Completion?
14 |     let dataTask: SessionDataTask
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
16 |     // MARK: - Initializers
17 |
18 |     init(session: Session, request: URLRequest, completion: Completion? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
19 |         self.session = session
20 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:27:19: error: method does not override any method from its superclass
25 |     // MARK: - URLSessionTask
26 |
27 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
28 |         // Don't do anything
29 |     }
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:31:19: error: method does not override any method from its superclass
29 |     }
30 |
31 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
32 |         dataTask.resume()
33 |     }
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:3:32: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 1 | import Foundation
 2 |
 3 | final class SessionUploadTask: URLSessionUploadTask {
   |                                `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 |
 5 |     // MARK: - Types
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' 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 URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
 4 |     var dictionary: [String: Any] {
 5 |         var dictionary = [String: Any]()
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:28:11: error: cannot find type 'URLRequest' in scope
26 |
27 |
28 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
29 |     func appending(headers: [AnyHashable: Any]) -> URLRequest {
30 |         guard let headers = headers as? [String: String] else { return self }
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:49:11: error: cannot find type 'NSMutableURLRequest' in scope
47 |
48 |
49 | extension NSMutableURLRequest {
   |           `- error: cannot find type 'NSMutableURLRequest' in scope
50 |     convenience init(dictionary: [String: Any]) {
51 |         self.init()
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:72:11: error: cannot find type 'NSMutableURLRequest' in scope
70 |
71 |
72 | extension NSMutableURLRequest {
   |           `- error: cannot find type 'NSMutableURLRequest' in scope
73 |     func appendHeaders(_ headers: [AnyHashable: Any]) {
74 |         var existingHeaders = allHTTPHeaderFields ?? [:]
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:6:18: error: property does not override any property from its superclass
 4 | class URLResponse: Foundation.URLResponse {
 5 |     private var _URL: Foundation.URL?
 6 |     override var url: Foundation.URL? {
   |                  `- error: property does not override any property from its superclass
 7 |         get {
 8 |             return _URL ?? super.url
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:4:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | // There isn't a mutable URLResponse, so we have to make our own.
 4 | class URLResponse: Foundation.URLResponse {
   |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |     private var _URL: Foundation.URL?
 6 |     override var url: Foundation.URL? {
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/DVR/URLResponse.swift:18:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
16 |
17 |
18 | extension Foundation.URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
19 |     var dictionary: [String: Any] {
20 |         if let url = url?.absoluteString {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/DVR/Cassette.swift /host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift /host/spi-builder-workspace/Sources/DVR/Interaction.swift /host/spi-builder-workspace/Sources/DVR/Session.swift /host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift /host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift /host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift /host/spi-builder-workspace/Sources/DVR/URLRequest.swift /host/spi-builder-workspace/Sources/DVR/URLResponse.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DVR -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/DVR_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/Modules/DVR.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/Modules/DVR.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/DVR-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/DVR-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/DVR-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVR.build/Debug-linux-x86_64/DVR-t.build/Objects-normal/x86_64/Modules/DVR.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux