The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVR with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/venmo/DVR.git
Reference: v2.1.0
Cloned https://github.com/venmo/DVR.git into spi-builder-workspace
SUCCESS checkout https://github.com/venmo/DVR.git at v2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/9] Compiling DVR Session.swift
/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.
    public let backingSession: URLSession
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    private var outstandingTasks = [URLSessionTask]()
                                    ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:24:33: error: cannot find type 'URLSessionDelegate' in scope
    override open var delegate: URLSessionDelegate? {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:24:23: error: property does not override any property from its superclass
    override open var delegate: URLSessionDelegate? {
    ~~~~~~~~          ^
/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.
    public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
                                                                                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:172: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
                                                                                                                                                                ~~~~~~~~~~ ^~~~~~
/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.
    open override func dataTask(with url: URL) -> URLSessionDataTask {
                                                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:24: error: method does not override any method from its superclass
    open override func dataTask(with url: URL) -> URLSessionDataTask {
         ~~~~~~~~      ^
/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.
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                                                   ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:24: error: method does not override any method from its superclass
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:47: error: cannot find type 'URLRequest' in scope
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
                                              ^~~~~~~~~~
/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.
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
                                                             ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:24: error: method does not override any method from its superclass
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:47: error: cannot find type 'URLRequest' in scope
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                              ^~~~~~~~~~
/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.
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                                                              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:24: error: method does not override any method from its superclass
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:51: error: cannot find type 'URLRequest' in scope
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
                                                  ^~~~~~~~~~
/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.
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:24: error: method does not override any method from its superclass
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:51: error: cannot find type 'URLRequest' in scope
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                  ^~~~~~~~~~
/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.
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:24: error: method does not override any method from its superclass
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
                                                                                    ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:50: error: cannot find type 'URLRequest' in scope
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                 ^~~~~~~~~~
/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.
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:25: error: method does not override any method from its superclass
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
         ~~~~~~~~       ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
                                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:83:24: error: method does not override any method from its superclass
    open override func invalidateAndCancel() {
         ~~~~~~~~      ^
/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.
    func finishTask(_ task: URLSessionTask, interaction: Interaction, playback: Bool) {
                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:41: error: cannot find type 'URLRequest' in scope
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                        ^~~~~~~~~~
/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.
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                                                                                                                       ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:45: error: cannot find type 'URLRequest' in scope
    private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
                                            ^~~~~~~~~~
/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.
    private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:43: error: cannot find type 'URLRequest' in scope
    private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
                                          ^~~~~~~~~~
/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.
    private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
                                                                                                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/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.
    private func addTask(_ task: URLSessionTask) {
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:3:12: error: only protocols can inherit from 'AnyObject'
open class Session: URLSession {
           ^
/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.
open class Session: URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:35:9: error: 'super' members cannot be referenced in a root class
        super.init()
        ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:42:28: error: cannot find 'URLRequest' in scope
        return addDataTask(URLRequest(url: url))
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:46:28: error: cannot find 'URLRequest' in scope
        return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:86:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
        backingSession.invalidateAndCancel()
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:137:41: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Equatable' because 'Equatable' has static requirements
        if let index = outstandingTasks.firstIndex(of: task) {
                                        ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:147:40: error: cannot find type 'URLSessionDataDelegate' in scope
        if let delegate = delegate as? URLSessionDataDelegate, let task = task as? URLSessionDataTask, let data = interaction.responseData {
                                       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:147:80: warning: conditional cast from 'URLSessionTask' (aka 'AnyObject') to 'URLSessionDataTask' (aka 'AnyObject') always succeeds
        if let delegate = delegate as? URLSessionDataDelegate, let task = task as? URLSessionDataTask, let data = interaction.responseData {
                                                                               ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:147:84: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let delegate = delegate as? URLSessionDataDelegate, let task = task as? URLSessionDataTask, let data = interaction.responseData {
                                                                                   ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:151:40: error: cannot find type 'URLSessionTaskDelegate' in scope
        if let delegate = delegate as? URLSessionTaskDelegate {
                                       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:152:74: error: 'nil' requires a contextual type
            delegate.urlSession?(self, task: task, didCompleteWithError: nil)
                                                                         ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:160:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
        let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
                              ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:167:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
        let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
                              ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:174:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
        var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
                              ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
[2/9] Compiling DVR URLRequest.swift
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:28:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:49:11: error: cannot find type 'NSMutableURLRequest' in scope
extension NSMutableURLRequest {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:72:11: error: cannot find type 'NSMutableURLRequest' in scope
extension NSMutableURLRequest {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:29:52: error: cannot find type 'URLRequest' in scope
    func appending(headers: [AnyHashable: Any]) -> URLRequest {
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:41:36: error: cannot find type 'URLRequest' in scope
    func appending(body: Data?) -> URLRequest {
                                   ^~~~~~~~~~
[3/10] Compiling DVR URLResponse.swift
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:18:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension Foundation.URLResponse {
^         ~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:6:18: error: property does not override any property from its superclass
    override var url: Foundation.URL? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:4:7: error: only protocols can inherit from 'AnyObject'
class URLResponse: Foundation.URLResponse {
      ^
/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.
class URLResponse: Foundation.URLResponse {
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:8:28: error: 'super' members cannot be referenced in a root class
            return _URL ?? super.url
                           ^
[4/10] Compiling DVR SessionUploadTask.swift
/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.
    typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:27:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:31:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionUploadTask: URLSessionUploadTask {
            ^
/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.
final class SessionUploadTask: URLSessionUploadTask {
                               ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
                                    ^~~~~~~~~~
[5/10] Compiling DVR SessionDownloadTask.swift
/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.
    typealias Completion = (URL?, Foundation.URLResponse?, NSError?) -> Void
                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:26:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:30:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionDownloadTask: URLSessionDownloadTask {
            ^
/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.
final class SessionDownloadTask: URLSessionDownloadTask {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:36:57: error: reference to member 'atomic' cannot be resolved without a contextual type
                try? data.write(to: tempURL, options: [.atomic])
                                                        ^
[6/10] Compiling DVR SessionDataTask.swift
/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.
    typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:13:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:18: error: property does not override any property from its superclass
    override var response: Foundation.URLResponse? {
    ~~~~~~~~     ^
/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.
    override var response: Foundation.URLResponse? {
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:22:34: error: cannot find type 'URLRequest' in scope
    override var currentRequest: URLRequest? {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:22:18: error: property does not override any property from its superclass
    override var currentRequest: URLRequest? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:38:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:42:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionDataTask: URLSessionDataTask {
            ^
/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.
final class SessionDataTask: URLSessionDataTask {
                             ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
    func interactionForRequest(_ request: URLRequest) -> Interaction? {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:67:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.backingSession.dataTask(with: request, completionHandler: { [weak self] data, response, error in
                   ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:67:100: error: unable to infer type of a closure parameter 'data' in the current context
        let task = session.backingSession.dataTask(with: request, completionHandler: { [weak self] data, response, error in
                                                                                                   ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:67:106: error: unable to infer type of a closure parameter 'response' in the current context
        let task = session.backingSession.dataTask(with: request, completionHandler: { [weak self] data, response, error in
                                                                                                         ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:67:116: error: unable to infer type of a closure parameter 'error' in the current context
        let task = session.backingSession.dataTask(with: request, completionHandler: { [weak self] data, response, error in
                                                                                                                   ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:80:34: error: cannot convert value of type '_' to expected argument type 'Data?'
                this.completion?(data, response, nil)
                                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:80:40: error: argument type '_' expected to be an instance of a class or class-constrained type
                this.completion?(data, response, nil)
                                       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module DVR
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:56:19: error: cannot find type 'URLRequest' in scope
private extension URLRequest {
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
    func interactionForRequest(_ request: URLRequest) -> Interaction? {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:9:18: error: property does not override any property from its superclass
    override var url: URL? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:20:18: error: property does not override any property from its superclass
    override var statusCode: Int {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:31:18: error: property does not override any property from its superclass
    override var allHeaderFields: [AnyHashable: Any] {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:4:7: error: only protocols can inherit from 'AnyObject'
class HTTPURLResponse: Foundation.HTTPURLResponse {
      ^
/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.
class HTTPURLResponse: Foundation.HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    let response: Foundation.URLResponse
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:19: error: cannot find type 'URLRequest' in scope
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                  ^~~~~~~~~~
/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.
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    public let backingSession: URLSession
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    private var outstandingTasks = [URLSessionTask]()
                                    ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:24:33: error: cannot find type 'URLSessionDelegate' in scope
    override open var delegate: URLSessionDelegate? {
                                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Session.swift:24:23: error: property does not override any property from its superclass
    override open var delegate: URLSessionDelegate? {
    ~~~~~~~~          ^
/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.
    public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
                                                                                                                                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:172: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = URLSession.shared) {
                                                                                                                                                                ~~~~~~~~~~ ^~~~~~
/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.
    open override func dataTask(with url: URL) -> URLSessionDataTask {
                                                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:24: error: method does not override any method from its superclass
    open override func dataTask(with url: URL) -> URLSessionDataTask {
         ~~~~~~~~      ^
/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.
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                                                   ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:24: error: method does not override any method from its superclass
    open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:47: error: cannot find type 'URLRequest' in scope
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
                                              ^~~~~~~~~~
/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.
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
                                                             ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:24: error: method does not override any method from its superclass
    open override func dataTask(with request: URLRequest) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:47: error: cannot find type 'URLRequest' in scope
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                              ^~~~~~~~~~
/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.
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
                                                                                                                                              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:24: error: method does not override any method from its superclass
    open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:51: error: cannot find type 'URLRequest' in scope
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
                                                  ^~~~~~~~~~
/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.
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:24: error: method does not override any method from its superclass
    open override func downloadTask(with request: URLRequest) -> URLSessionDownloadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:51: error: cannot find type 'URLRequest' in scope
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                  ^~~~~~~~~~
/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.
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
                                                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:24: error: method does not override any method from its superclass
    open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
                                                                                    ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, from bodyData: Data) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:50: error: cannot find type 'URLRequest' in scope
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                 ^~~~~~~~~~
/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.
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:25: error: method does not override any method from its superclass
    open override  func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
         ~~~~~~~~       ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
                                                                                      ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:49: error: cannot find type 'URLRequest' in scope
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                ^~~~~~~~~~
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:24: error: method does not override any method from its superclass
    open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:83:24: error: method does not override any method from its superclass
    open override func invalidateAndCancel() {
         ~~~~~~~~      ^
/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.
    func finishTask(_ task: URLSessionTask, interaction: Interaction, playback: Bool) {
                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:41: error: cannot find type 'URLRequest' in scope
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                        ^~~~~~~~~~
/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.
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
                                                                                                                                       ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:45: error: cannot find type 'URLRequest' in scope
    private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
                                            ^~~~~~~~~~
/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.
    private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:43: error: cannot find type 'URLRequest' in scope
    private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
                                          ^~~~~~~~~~
/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.
    private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
                                                                                                                                       ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/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.
    private func addTask(_ task: URLSessionTask) {
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Session.swift:3:12: error: only protocols can inherit from 'AnyObject'
open class Session: URLSession {
           ^
/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.
open class Session: URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:13:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:18: error: property does not override any property from its superclass
    override var response: Foundation.URLResponse? {
    ~~~~~~~~     ^
/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.
    override var response: Foundation.URLResponse? {
                                      ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:22:34: error: cannot find type 'URLRequest' in scope
    override var currentRequest: URLRequest? {
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:22:18: error: property does not override any property from its superclass
    override var currentRequest: URLRequest? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: (Completion)? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:38:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:42:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionDataTask: URLSessionDataTask {
            ^
/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.
final class SessionDataTask: URLSessionDataTask {
                             ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/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.
    typealias Completion = (URL?, Foundation.URLResponse?, NSError?) -> Void
                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:26:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:30:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionDownloadTask: URLSessionDownloadTask {
            ^
/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.
final class SessionDownloadTask: URLSessionDownloadTask {
                                 ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/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.
    typealias Completion = (Data?, Foundation.URLResponse?, NSError?) -> Void
                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:12:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:18:37: error: cannot find type 'URLRequest' in scope
    init(session: Session, request: URLRequest, completion: Completion? = nil) {
                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:27:19: error: method does not override any method from its superclass
    override func cancel() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:31:19: error: method does not override any method from its superclass
    override func resume() {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:3:13: error: only protocols can inherit from 'AnyObject'
final class SessionUploadTask: URLSessionUploadTask {
            ^
/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.
final class SessionUploadTask: URLSessionUploadTask {
                               ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:28:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:49:11: error: cannot find type 'NSMutableURLRequest' in scope
extension NSMutableURLRequest {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:72:11: error: cannot find type 'NSMutableURLRequest' in scope
extension NSMutableURLRequest {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:18:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
extension Foundation.URLResponse {
^         ~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:6:18: error: property does not override any property from its superclass
    override var url: Foundation.URL? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:4:7: error: only protocols can inherit from 'AnyObject'
class URLResponse: Foundation.URLResponse {
      ^
/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.
class URLResponse: Foundation.URLResponse {
                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[8/10] Compiling DVR Interaction.swift
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/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.
    let response: Foundation.URLResponse
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:19: error: cannot find type 'URLRequest' in scope
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                  ^~~~~~~~~~
/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.
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:84:48: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'dictionary'
        var responseDictionary = self.response.dictionary
                                 ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:86:40: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        if let httpResponse = response as? Foundation.HTTPURLResponse {
                                       ^
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:86:55: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        if let httpResponse = response as? Foundation.HTTPURLResponse {
                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:87:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
            responseDictionary["headers"] = httpResponse.allHeaderFields
                                            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:88:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            responseDictionary["status"] = httpResponse.statusCode
                                           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:105:24: error: cannot find 'NSMutableURLRequest' in scope
        self.request = NSMutableURLRequest(dictionary: request) as URLRequest
                       ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:105:68: error: cannot find type 'URLRequest' in scope
        self.request = NSMutableURLRequest(dictionary: request) as URLRequest
                                                                   ^~~~~~~~~~
[9/10] Compiling DVR Cassette.swift
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:56:19: error: cannot find type 'URLRequest' in scope
private extension URLRequest {
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
    func interactionForRequest(_ request: URLRequest) -> Interaction? {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:19: error: cannot find type 'URLRequest' in scope
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:9:18: error: property does not override any property from its superclass
    override var url: URL? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:20:18: error: property does not override any property from its superclass
    override var statusCode: Int {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:31:18: error: property does not override any property from its superclass
    override var allHeaderFields: [AnyHashable: Any] {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:4:7: error: only protocols can inherit from 'AnyObject'
class HTTPURLResponse: Foundation.HTTPURLResponse {
      ^
/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.
class HTTPURLResponse: Foundation.HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:11:28: error: 'super' members cannot be referenced in a root class
            return _url ?? super.url
                           ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:22:35: error: 'super' members cannot be referenced in a root class
            return _statusCode ?? super.statusCode
                                  ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:33:40: error: 'super' members cannot be referenced in a root class
            return _allHeaderFields ?? super.allHeaderFields
                                       ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:18: error: argument passed to call that takes no arguments
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:39: error: 'nil' requires a contextual type
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                                      ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:88: error: 'nil' requires a contextual type
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                                                                                       ^
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:57:53: error: cannot find type 'URLRequest' in scope
    func hasHTTPBodyEqualToThatOfRequest(_ request: URLRequest) -> Bool {
                                                    ^~~~~~~~~~
[10/10] Compiling DVR HTTPURLResponse.swift
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:56:19: error: cannot find type 'URLRequest' in scope
private extension URLRequest {
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: error: cannot find type 'URLRequest' in scope
    func interactionForRequest(_ request: URLRequest) -> Interaction? {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: error: cannot find type 'URLRequest' in scope
    let request: URLRequest
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:19: error: cannot find type 'URLRequest' in scope
    init(request: URLRequest, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:9:18: error: property does not override any property from its superclass
    override var url: URL? {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:20:18: error: property does not override any property from its superclass
    override var statusCode: Int {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:31:18: error: property does not override any property from its superclass
    override var allHeaderFields: [AnyHashable: Any] {
    ~~~~~~~~     ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:4:7: error: only protocols can inherit from 'AnyObject'
class HTTPURLResponse: Foundation.HTTPURLResponse {
      ^
/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.
class HTTPURLResponse: Foundation.HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:11:28: error: 'super' members cannot be referenced in a root class
            return _url ?? super.url
                           ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:22:35: error: 'super' members cannot be referenced in a root class
            return _statusCode ?? super.statusCode
                                  ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:33:40: error: 'super' members cannot be referenced in a root class
            return _allHeaderFields ?? super.allHeaderFields
                                       ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:18: error: argument passed to call that takes no arguments
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:39: error: 'nil' requires a contextual type
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                                      ^
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:47:88: error: 'nil' requires a contextual type
        self.init(url: url, mimeType: nil, expectedContentLength: 0, textEncodingName: nil)
                                                                                       ^
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:57:53: error: cannot find type 'URLRequest' in scope
    func hasHTTPBodyEqualToThatOfRequest(_ request: URLRequest) -> Bool {
                                                    ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2