The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVR, reference master (65beaf), with Swift 6.4 for Linux on 16 Sep 2026 07:37:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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: 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/venmo/DVR
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 65beaf9 Select response based on request headers (#96)
Cloned https://github.com/venmo/DVR.git
Revision (git rev-parse @):
65beaf91fc0d7a46d4860028d1087ee5dbb8e382
SUCCESS checkout https://github.com/venmo/DVR.git at master
========================================
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-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
19 |     // MARK: - Functions
20 |
21 |     func interactionForRequest(_ request: URLRequest, headersToCheck: [String] = []) -> Interaction? {
   |                                           `- error: cannot find type 'URLRequest' in scope
22 |         var match: Interaction?
23 |         for interaction in interactions {
/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:63:19: error: cannot find type 'URLRequest' in scope
61 | }
62 |
63 | private extension URLRequest {
   |                   `- error: cannot find type 'URLRequest' in scope
64 |     func hasHTTPBodyEqualToThatOfRequest(_ request: URLRequest) -> Bool {
65 |         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:21:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     private var recording = false
 20 |     private var needsPersistence = false
 21 |     private var outstandingTasks = [URLSessionTask]()
    |                                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |     private var completedInteractions = [Interaction]()
 23 |     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:25:33: error: cannot find type 'URLSessionDelegate' in scope
 23 |     private var completionBlock: (() -> Void)?
 24 |
 25 |     override open var delegate: URLSessionDelegate? {
    |                                 `- error: cannot find type 'URLSessionDelegate' in scope
 26 |         return backingSession.delegate
 27 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:31:148: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     // MARK: - Initializers
 30 |
 31 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared, headersToCheck: [String] = []) {
    |                                                                                                                                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         self.outputDirectory = outputDirectory
 33 |         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:31:172: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 29 |     // MARK: - Initializers
 30 |
 31 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared, headersToCheck: [String] = []) {
    |                                                                                                                                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 32 |         self.outputDirectory = outputDirectory
 33 |         self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:31:172: error: default argument value of type '_' cannot be converted to type 'AnyObject'
 29 |     // MARK: - Initializers
 30 |
 31 |     public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared, headersToCheck: [String] = []) {
    |                                                                                                                                                                            `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
 32 |         self.outputDirectory = outputDirectory
 33 |         self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:43:51: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |     // MARK: - URLSession
 42 |
 43 |     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.
 44 |         return addDataTask(URLRequest(url: url))
 45 |     }
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:43:24: error: method does not override any method from its superclass
 41 |     // MARK: - URLSession
 42 |
 43 |     open override func dataTask(with url: URL) -> URLSessionDataTask {
    |                        `- error: method does not override any method from its superclass
 44 |         return addDataTask(URLRequest(url: url))
 45 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:47:97: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |     }
 46 |
 47 |     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.
 48 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 49 |     }
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:47:132: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |     }
 46 |
 47 |     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.
 48 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 49 |     }
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:47:24: error: method does not override any method from its superclass
 45 |     }
 46 |
 47 |     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
 48 |         return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
 49 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:51:47: error: cannot find type 'URLRequest' in scope
 49 |     }
 50 |
 51 |     open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
    |                                               `- error: cannot find type 'URLRequest' in scope
 52 |         return addDataTask(request)
 53 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:51:62: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |     }
 50 |
 51 |     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.
 52 |         return addDataTask(request)
 53 |     }
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:55:47: error: cannot find type 'URLRequest' in scope
 53 |     }
 54 |
 55 |     open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
    |                                               `- error: cannot find type 'URLRequest' in scope
 56 |         return addDataTask(request, completionHandler: completionHandler)
 57 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:55:108: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     }
 54 |
 55 |     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.
 56 |         return addDataTask(request, completionHandler: completionHandler)
 57 |     }
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:55:143: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     }
 54 |
 55 |     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.
 56 |         return addDataTask(request, completionHandler: completionHandler)
 57 |     }
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:59:51: error: cannot find type 'URLRequest' in scope
 57 |     }
 58 |
 59 |     open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 60 |         return addDownloadTask(request)
 61 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:59:66: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     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.
 60 |         return addDownloadTask(request)
 61 |     }
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:63:51: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
    |                                                   `- error: cannot find type 'URLRequest' in scope
 64 |         return addDownloadTask(request, completionHandler: completionHandler)
 65 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:63:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     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.
 64 |         return addDownloadTask(request, completionHandler: completionHandler)
 65 |     }
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:63:144: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     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.
 64 |         return addDownloadTask(request, completionHandler: completionHandler)
 65 |     }
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:67:49: error: cannot find type 'URLRequest' in scope
 65 |     }
 66 |
 67 |     open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 68 |         return addUploadTask(request, fromData: bodyData)
 69 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:67:85: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     }
 66 |
 67 |     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.
 68 |         return addUploadTask(request, fromData: bodyData)
 69 |     }
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:71:50: error: cannot find type 'URLRequest' in scope
 69 |     }
 70 |
 71 |     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
 72 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 73 |     }
/host/spi-builder-workspace/Sources/DVR/Session.swift:71:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     }
 70 |
 71 |     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.
 72 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 73 |     }
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:71:166: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     }
 70 |
 71 |     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.
 72 |         return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
 73 |     }
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:75:49: error: cannot find type 'URLRequest' in scope
 73 |     }
 74 |
 75 |     open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 76 |         let data = try! Data(contentsOf: fileURL)
 77 |         return addUploadTask(request, fromData: data)
/host/spi-builder-workspace/Sources/DVR/Session.swift:75:87: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     }
 74 |
 75 |     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.
 76 |         let data = try! Data(contentsOf: fileURL)
 77 |         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:80:49: error: cannot find type 'URLRequest' in scope
 78 |     }
 79 |
 80 |     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
 81 |         let data = try! Data(contentsOf: fileURL)
 82 |         return addUploadTask(request, fromData: data, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:80:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |     }
 79 |
 80 |     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.
 81 |         let data = try! Data(contentsOf: fileURL)
 82 |         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:80:166: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 78 |     }
 79 |
 80 |     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.
 81 |         let data = try! Data(contentsOf: fileURL)
 82 |         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:85:24: error: method does not override any method from its superclass
 83 |     }
 84 |
 85 |     open override func invalidateAndCancel() {
    |                        `- error: method does not override any method from its superclass
 86 |         recording = false
 87 |         outstandingTasks.removeAll()
/host/spi-builder-workspace/Sources/DVR/Session.swift:136:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
134 |     }
135 |
136 |     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.
137 |         needsPersistence = needsPersistence || !playback
138 |
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:161:41: error: cannot find type 'URLRequest' in scope
159 |     // MARK: - Private
160 |
161 |     private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
    |                                         `- error: cannot find type 'URLRequest' in scope
162 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
163 |         let task = SessionDataTask(session: self, request: modifiedRequest, headersToCheck: headersToCheck, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:161:92: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     // MARK: - Private
160 |
161 |     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.
162 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
163 |         let task = SessionDataTask(session: self, request: modifiedRequest, headersToCheck: headersToCheck, 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:161:136: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     // MARK: - Private
160 |
161 |     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.
162 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
163 |         let task = SessionDataTask(session: self, request: modifiedRequest, headersToCheck: headersToCheck, 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:168:45: error: cannot find type 'URLRequest' in scope
166 |     }
167 |
168 |     private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
    |                                             `- error: cannot find type 'URLRequest' in scope
169 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
170 |         let task = SessionDownloadTask(session: self, request: modifiedRequest, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:168:118: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |     }
167 |
168 |     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.
169 |         let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
170 |         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:175:43: error: cannot find type 'URLRequest' in scope
173 |     }
174 |
175 |     private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
    |                                           `- error: cannot find type 'URLRequest' in scope
176 |         var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
177 |         modifiedRequest = data.map(modifiedRequest.appending) ?? modifiedRequest
/host/spi-builder-workspace/Sources/DVR/Session.swift:175:136: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |     }
174 |
175 |     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.
176 |         var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
177 |         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:183:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 |     }
182 |
183 |     private func addTask(_ task: URLSessionTask) {
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |         let shouldRecord = !recording
185 |         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 headersToCheck: [String]
15 |     let completion: Completion?
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:19:18: error: property does not override any property from its superclass
17 |     private var interaction: Interaction?
18 |
19 |     override var response: Foundation.URLResponse? {
   |                  `- error: property does not override any property from its superclass
20 |         return interaction?.response
21 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:19:39: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     private var interaction: Interaction?
18 |
19 |     override var response: Foundation.URLResponse? {
   |                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |         return interaction?.response
21 |     }
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:23:34: error: cannot find type 'URLRequest' in scope
21 |     }
22 |
23 |     override var currentRequest: URLRequest? {
   |                                  `- error: cannot find type 'URLRequest' in scope
24 |         return request
25 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:30:37: error: cannot find type 'URLRequest' in scope
28 |     // MARK: - Initializers
29 |
30 |     init(session: Session, request: URLRequest, headersToCheck: [String] = [], completion: (Completion)? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
31 |         self.session = session
32 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:40:19: error: method does not override any method from its superclass
38 |     // MARK: - URLSessionTask
39 |
40 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
41 |         // Don't do anything
42 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:44:19: error: method does not override any method from its superclass
42 |     }
43 |
44 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
45 |         let cassette = session.cassette
46 |
/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 headersToCheck: [String]
14 |     let completion: Completion?
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:19:37: error: cannot find type 'URLRequest' in scope
17 |     // MARK: - Initializers
18 |
19 |     init(session: Session, request: URLRequest, headersToCheck: [String] = [], completion: Completion? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
20 |         self.session = session
21 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:28:19: error: method does not override any method from its superclass
26 |     // MARK: - URLSessionTask
27 |
28 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
29 |         // Don't do anything
30 |     }
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:32:19: error: method does not override any method from its superclass
30 |     }
31 |
32 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
33 |         let task = SessionDataTask(session: session, request: request, headersToCheck: headersToCheck) { data, response, error in
34 |             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 headersToCheck: [String]
14 |     let completion: Completion?
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:19:37: error: cannot find type 'URLRequest' in scope
17 |     // MARK: - Initializers
18 |
19 |     init(session: Session, request: URLRequest, headersToCheck: [String] = [], completion: Completion? = nil) {
   |                                     `- error: cannot find type 'URLRequest' in scope
20 |         self.session = session
21 |         self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:29:19: error: method does not override any method from its superclass
27 |     // MARK: - URLSessionTask
28 |
29 |     override func cancel() {
   |                   `- error: method does not override any method from its superclass
30 |         // Don't do anything
31 |     }
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:33:19: error: method does not override any method from its superclass
31 |     }
32 |
33 |     override func resume() {
   |                   `- error: method does not override any method from its superclass
34 |         dataTask.resume()
35 |     }
/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