Build Information
Failed to build DVR, reference v2.1.0 (d13f71), with Swift 6.4 for Linux on 16 Sep 2026 07:37:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/venmo/DVR.git
Reference: v2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/venmo/DVR
* tag v2.1.0 -> FETCH_HEAD
HEAD is now at d13f713 Bump version to 2.1.0
Cloned https://github.com/venmo/DVR.git
Revision (git rev-parse @):
d13f7135d1993053580efe13c9ecc43200852d09
SUCCESS checkout https://github.com/venmo/DVR.git at v2.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/venmo/DVR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
[28 / 36] DVR
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:21:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m // MARK: - Functions
[0;36m20 |[0;0m
[0;36m21 |[0;0m func interactionForRequest(_ request: [4;39mURLRequest[0;0m) -> Interaction? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m for interaction in interactions {
[0;36m23 |[0;0m let interactionRequest = interaction.request
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:7:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m // MARK: - Properties
[0;36m6 |[0;0m
[0;36m7 |[0;0m let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m let response: Foundation.URLResponse
[0;36m9 |[0;0m let responseData: Data?
/host/spi-builder-workspace/Sources/DVR/Cassette.swift:56:19: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m }
[0;36m55 |[0;0m
[0;36m56 |[0;0m private extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m57 |[0;0m func hasHTTPBodyEqualToThatOfRequest(_ request: URLRequest) -> Bool {
[0;36m58 |[0;0m guard let body1 = self.httpBody,
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:9:18: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m private var _url: URL?
[0;36m9 |[0;0m [4;39moverride[0;0m var url: URL? {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m10 |[0;0m get {
[0;36m11 |[0;0m return _url ?? super.url
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:20:18: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m private var _statusCode: Int?
[0;36m20 |[0;0m [4;39moverride[0;0m var statusCode: Int {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m21 |[0;0m get {
[0;36m22 |[0;0m return _statusCode ?? super.statusCode
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:31:18: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m private var _allHeaderFields: [AnyHashable: Any]?
[0;36m31 |[0;0m [4;39moverride[0;0m var allHeaderFields: [AnyHashable: Any] {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m32 |[0;0m get {
[0;36m33 |[0;0m return _allHeaderFields ?? super.allHeaderFields
/host/spi-builder-workspace/Sources/DVR/HTTPURLResponse.swift:4:35: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m // There isn't a mutable HTTPURLResponse, so we have to make our own.
[0;36m4 |[0;0m class HTTPURLResponse: Foundation.[4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m
[0;36m6 |[0;0m // MARK: - Properties
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:8:30: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m let request: URLRequest
[0;36m8 |[0;0m let response: Foundation.[4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m let responseData: Data?
[0;36m10 |[0;0m let recordedAt: Date
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:19: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m // MARK: - Initializers
[0;36m14 |[0;0m
[0;36m15 |[0;0m init(request: [4;39mURLRequest[0;0m, response: Foundation.URLResponse, responseData: Data? = nil, recordedAt: Date = Date()) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m self.request = request
[0;36m17 |[0;0m self.response = response
/host/spi-builder-workspace/Sources/DVR/Interaction.swift:15:52: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m // MARK: - Initializers
[0;36m14 |[0;0m
[0;36m15 |[0;0m init(request: URLRequest, response: Foundation.[4;39mURLResponse[0;0m, responseData: Data? = nil, recordedAt: Date = Date()) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m self.request = request
[0;36m17 |[0;0m self.response = response
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:13:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m open var outputDirectory: String
[0;36m12 |[0;0m public let cassetteName: String
[0;36m13 |[0;0m public let backingSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m open var recordingEnabled = true
[0;36m15 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:20:37: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m private var recording = false
[0;36m19 |[0;0m private var needsPersistence = false
[0;36m20 |[0;0m private var outstandingTasks = [[4;39mURLSessionTask[0;0m]()
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m private var completedInteractions = [Interaction]()
[0;36m22 |[0;0m private var completionBlock: (() -> Void)?
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:24:33: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m22 |[0;0m private var completionBlock: (() -> Void)?
[0;36m23 |[0;0m
[0;36m24 |[0;0m override open var delegate: [4;39mURLSessionDelegate[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m25 |[0;0m return backingSession.delegate
[0;36m26 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:148: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m // MARK: - Initializers
[0;36m29 |[0;0m
[0;36m30 |[0;0m public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: [4;39mURLSession[0;0m = URLSession.shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m self.outputDirectory = outputDirectory
[0;36m32 |[0;0m self.cassetteName = cassetteName
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:172: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m28 |[0;0m // MARK: - Initializers
[0;36m29 |[0;0m
[0;36m30 |[0;0m public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = [4;39mURLSession[0;0m.[4;39mshared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m31 |[0;0m self.outputDirectory = outputDirectory
[0;36m32 |[0;0m self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:30:172: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m28 |[0;0m // MARK: - Initializers
[0;36m29 |[0;0m
[0;36m30 |[0;0m public init(outputDirectory: String = "~/Desktop/DVR/", cassetteName: String, testBundle: Bundle = Session.defaultTestBundle!, backingSession: URLSession = [4;39mURLSession.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m31 |[0;0m self.outputDirectory = outputDirectory
[0;36m32 |[0;0m self.cassetteName = cassetteName
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:51: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m // MARK: - URLSession
[0;36m40 |[0;0m
[0;36m41 |[0;0m open override func dataTask(with url: URL) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m return addDataTask(URLRequest(url: url))
[0;36m43 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:41:24: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m39 |[0;0m // MARK: - URLSession
[0;36m40 |[0;0m
[0;36m41 |[0;0m open [4;39moverride[0;0m func dataTask(with url: URL) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m42 |[0;0m return addDataTask(URLRequest(url: url))
[0;36m43 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:97: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.[4;39mURLResponse[0;0m?, Error?) -> Void)) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
[0;36m47 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:132: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m open override func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
[0;36m47 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:45:24: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m43 |[0;0m }
[0;36m44 |[0;0m
[0;36m45 |[0;0m open [4;39moverride[0;0m func dataTask(with url: URL, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m46 |[0;0m return addDataTask(URLRequest(url: url), completionHandler: completionHandler)
[0;36m47 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:47: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m open override func dataTask(with request: [4;39mURLRequest[0;0m) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m50 |[0;0m return addDataTask(request)
[0;36m51 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:49:62: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m open override func dataTask(with request: URLRequest) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m return addDataTask(request)
[0;36m51 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:47: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m open override func dataTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m54 |[0;0m return addDataTask(request, completionHandler: completionHandler)
[0;36m55 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:108: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.[4;39mURLResponse[0;0m?, Error?) -> Void)) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m return addDataTask(request, completionHandler: completionHandler)
[0;36m55 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:53:143: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m }
[0;36m52 |[0;0m
[0;36m53 |[0;0m open override func dataTask(with request: URLRequest, completionHandler: @escaping ((Data?, Foundation.URLResponse?, Error?) -> Void)) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m return addDataTask(request, completionHandler: completionHandler)
[0;36m55 |[0;0m }
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m open override func downloadTask(with request: [4;39mURLRequest[0;0m) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m return addDownloadTask(request)
[0;36m59 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:57:66: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m open override func downloadTask(with request: URLRequest) -> [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m return addDownloadTask(request)
[0;36m59 |[0;0m }
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m }
[0;36m60 |[0;0m
[0;36m61 |[0;0m open override func downloadTask(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m62 |[0;0m return addDownloadTask(request, completionHandler: completionHandler)
[0;36m63 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:110: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m }
[0;36m60 |[0;0m
[0;36m61 |[0;0m open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.[4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m return addDownloadTask(request, completionHandler: completionHandler)
[0;36m63 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:61:144: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m59 |[0;0m }
[0;36m60 |[0;0m
[0;36m61 |[0;0m open override func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, Foundation.URLResponse?, Error?) -> Void) -> [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m return addDownloadTask(request, completionHandler: completionHandler)
[0;36m63 |[0;0m }
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m open override func uploadTask(with request: [4;39mURLRequest[0;0m, from bodyData: Data) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m66 |[0;0m return addUploadTask(request, fromData: bodyData)
[0;36m67 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:65:85: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m open override func uploadTask(with request: URLRequest, from bodyData: Data) -> [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m return addUploadTask(request, fromData: bodyData)
[0;36m67 |[0;0m }
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:50: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m67 |[0;0m }
[0;36m68 |[0;0m
[0;36m69 |[0;0m open override func uploadTask(with request: [4;39mURLRequest[0;0m, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m70 |[0;0m return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
[0;36m71 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:132: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m }
[0;36m68 |[0;0m
[0;36m69 |[0;0m open override func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.[4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
[0;36m71 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:69:166: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m }
[0;36m68 |[0;0m
[0;36m69 |[0;0m open override func uploadTask(with request: URLRequest, from bodyData: Data?, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m return addUploadTask(request, fromData: bodyData, completionHandler: completionHandler)
[0;36m71 |[0;0m }
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m71 |[0;0m }
[0;36m72 |[0;0m
[0;36m73 |[0;0m open override func uploadTask(with request: [4;39mURLRequest[0;0m, fromFile fileURL: URL) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m74 |[0;0m let data = try! Data(contentsOf: fileURL)
[0;36m75 |[0;0m return addUploadTask(request, fromData: data)
/host/spi-builder-workspace/Sources/DVR/Session.swift:73:87: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m }
[0;36m72 |[0;0m
[0;36m73 |[0;0m open override func uploadTask(with request: URLRequest, fromFile fileURL: URL) -> [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m let data = try! Data(contentsOf: fileURL)
[0;36m75 |[0;0m return addUploadTask(request, fromData: data)
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m open override func uploadTask(with request: [4;39mURLRequest[0;0m, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m79 |[0;0m let data = try! Data(contentsOf: fileURL)
[0;36m80 |[0;0m return addUploadTask(request, fromData: data, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:132: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.[4;39mURLResponse[0;0m?, Error?) -> Void) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m let data = try! Data(contentsOf: fileURL)
[0;36m80 |[0;0m return addUploadTask(request, fromData: data, completionHandler: completionHandler)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:78:166: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m }
[0;36m77 |[0;0m
[0;36m78 |[0;0m open override func uploadTask(with request: URLRequest, fromFile fileURL: URL, completionHandler: @escaping (Data?, Foundation.URLResponse?, Error?) -> Void) -> [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m let data = try! Data(contentsOf: fileURL)
[0;36m80 |[0;0m return addUploadTask(request, fromData: data, completionHandler: completionHandler)
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:83:24: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m81 |[0;0m }
[0;36m82 |[0;0m
[0;36m83 |[0;0m open [4;39moverride[0;0m func invalidateAndCancel() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m84 |[0;0m recording = false
[0;36m85 |[0;0m outstandingTasks.removeAll()
/host/spi-builder-workspace/Sources/DVR/Session.swift:134:29: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m132 |[0;0m }
[0;36m133 |[0;0m
[0;36m134 |[0;0m func finishTask(_ task: [4;39mURLSessionTask[0;0m, interaction: Interaction, playback: Bool) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m135 |[0;0m needsPersistence = needsPersistence || !playback
[0;36m136 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m157 |[0;0m // MARK: - Private
[0;36m158 |[0;0m
[0;36m159 |[0;0m private func addDataTask(_ request: [4;39mURLRequest[0;0m, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m160 |[0;0m let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m161 |[0;0m let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:92: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m157 |[0;0m // MARK: - Private
[0;36m158 |[0;0m
[0;36m159 |[0;0m private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.[4;39mURLResponse[0;0m?, NSError?) -> Void)? = nil) -> URLSessionDataTask {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m160 |[0;0m let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m161 |[0;0m let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:159:136: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m157 |[0;0m // MARK: - Private
[0;36m158 |[0;0m
[0;36m159 |[0;0m private func addDataTask(_ request: URLRequest, completionHandler: ((Data?, Foundation.URLResponse?, NSError?) -> Void)? = nil) -> [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m160 |[0;0m let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m161 |[0;0m let task = SessionDataTask(session: self, request: modifiedRequest, completion: completionHandler)
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:45: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m164 |[0;0m }
[0;36m165 |[0;0m
[0;36m166 |[0;0m private func addDownloadTask(_ request: [4;39mURLRequest[0;0m, completionHandler: SessionDownloadTask.Completion? = nil) -> URLSessionDownloadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m167 |[0;0m let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m168 |[0;0m let task = SessionDownloadTask(session: self, request: modifiedRequest, completion: completionHandler)
/host/spi-builder-workspace/Sources/DVR/Session.swift:166:118: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m164 |[0;0m }
[0;36m165 |[0;0m
[0;36m166 |[0;0m private func addDownloadTask(_ request: URLRequest, completionHandler: SessionDownloadTask.Completion? = nil) -> [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m167 |[0;0m let modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m168 |[0;0m let task = SessionDownloadTask(session: self, request: modifiedRequest, completion: completionHandler)
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m171 |[0;0m }
[0;36m172 |[0;0m
[0;36m173 |[0;0m private func addUploadTask(_ request: [4;39mURLRequest[0;0m, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> URLSessionUploadTask {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m174 |[0;0m var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m175 |[0;0m modifiedRequest = data.map(modifiedRequest.appending) ?? modifiedRequest
/host/spi-builder-workspace/Sources/DVR/Session.swift:173:136: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m171 |[0;0m }
[0;36m172 |[0;0m
[0;36m173 |[0;0m private func addUploadTask(_ request: URLRequest, fromData data: Data?, completionHandler: SessionUploadTask.Completion? = nil) -> [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m174 |[0;0m var modifiedRequest = backingSession.configuration.httpAdditionalHeaders.map(request.appending) ?? request
[0;36m175 |[0;0m modifiedRequest = data.map(modifiedRequest.appending) ?? modifiedRequest
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:181:34: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m179 |[0;0m }
[0;36m180 |[0;0m
[0;36m181 |[0;0m private func addTask(_ task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m182 |[0;0m let shouldRecord = !recording
[0;36m183 |[0;0m if shouldRecord {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/Session.swift:3:21: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m open class Session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m // MARK: - Properties
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:7:47: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m // MARK: - Types
[0;36m6 |[0;0m
[0;36m7 |[0;0m typealias Completion = (Data?, Foundation.[4;39mURLResponse[0;0m?, NSError?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:13:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m weak var session: Session!
[0;36m13 |[0;0m let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m let completion: Completion?
[0;36m15 |[0;0m private let queue = DispatchQueue(label: "com.venmo.DVR.sessionDataTaskQueue", attributes: [])
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:18: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m16 |[0;0m private var interaction: Interaction?
[0;36m17 |[0;0m
[0;36m18 |[0;0m [4;39moverride[0;0m var response: Foundation.URLResponse? {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m19 |[0;0m return interaction?.response
[0;36m20 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:18:39: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m private var interaction: Interaction?
[0;36m17 |[0;0m
[0;36m18 |[0;0m override var response: Foundation.[4;39mURLResponse[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m return interaction?.response
[0;36m20 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:22:34: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m
[0;36m22 |[0;0m override var currentRequest: [4;39mURLRequest[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m23 |[0;0m return request
[0;36m24 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:29:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m // MARK: - Initializers
[0;36m28 |[0;0m
[0;36m29 |[0;0m init(session: Session, request: [4;39mURLRequest[0;0m, completion: (Completion)? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m self.session = session
[0;36m31 |[0;0m self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:38:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m36 |[0;0m // MARK: - URLSessionTask
[0;36m37 |[0;0m
[0;36m38 |[0;0m [4;39moverride[0;0m func cancel() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m39 |[0;0m // Don't do anything
[0;36m40 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:42:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m [4;39moverride[0;0m func resume() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m43 |[0;0m let cassette = session.cassette
[0;36m44 |[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDataTask.swift:3:30: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m final class SessionDataTask: [4;39mURLSessionDataTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m // MARK: - Types
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:7:46: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m // MARK: - Types
[0;36m6 |[0;0m
[0;36m7 |[0;0m typealias Completion = (URL?, Foundation.[4;39mURLResponse[0;0m?, NSError?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m // MARK: - Properties
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:12:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m weak var session: Session!
[0;36m12 |[0;0m let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m let completion: Completion?
[0;36m14 |[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:18:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m // MARK: - Initializers
[0;36m17 |[0;0m
[0;36m18 |[0;0m init(session: Session, request: [4;39mURLRequest[0;0m, completion: Completion? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m self.session = session
[0;36m20 |[0;0m self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:26:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m24 |[0;0m // MARK: - URLSessionTask
[0;36m25 |[0;0m
[0;36m26 |[0;0m [4;39moverride[0;0m func cancel() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m27 |[0;0m // Don't do anything
[0;36m28 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:30:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m28 |[0;0m }
[0;36m29 |[0;0m
[0;36m30 |[0;0m [4;39moverride[0;0m func resume() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m31 |[0;0m let task = SessionDataTask(session: session, request: request) { data, response, error in
[0;36m32 |[0;0m let location: URL?
/host/spi-builder-workspace/Sources/DVR/SessionDownloadTask.swift:3:34: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m final class SessionDownloadTask: [4;39mURLSessionDownloadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m // MARK: - Types
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:7:47: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m // MARK: - Types
[0;36m6 |[0;0m
[0;36m7 |[0;0m typealias Completion = (Data?, Foundation.[4;39mURLResponse[0;0m?, NSError?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m // MARK: - Properties
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:12:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m weak var session: Session!
[0;36m12 |[0;0m let request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m let completion: Completion?
[0;36m14 |[0;0m let dataTask: SessionDataTask
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:18:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m // MARK: - Initializers
[0;36m17 |[0;0m
[0;36m18 |[0;0m init(session: Session, request: [4;39mURLRequest[0;0m, completion: Completion? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m self.session = session
[0;36m20 |[0;0m self.request = request
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:27:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m25 |[0;0m // MARK: - URLSessionTask
[0;36m26 |[0;0m
[0;36m27 |[0;0m [4;39moverride[0;0m func cancel() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m28 |[0;0m // Don't do anything
[0;36m29 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:31:19: [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
[0;36m31 |[0;0m [4;39moverride[0;0m func resume() {
[0;36m|[0;0m `- [1;31merror: [1;39mmethod does not override any method from its superclass[0;0m
[0;36m32 |[0;0m dataTask.resume()
[0;36m33 |[0;0m }
/host/spi-builder-workspace/Sources/DVR/SessionUploadTask.swift:3:32: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m final class SessionUploadTask: [4;39mURLSessionUploadTask[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m // MARK: - Types
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:3:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m var dictionary: [String: Any] {
[0;36m5 |[0;0m var dictionary = [String: Any]()
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:28:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m func appending(headers: [AnyHashable: Any]) -> URLRequest {
[0;36m30 |[0;0m guard let headers = headers as? [String: String] else { return self }
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:49:11: [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m
[0;36m49 |[0;0m extension [4;39mNSMutableURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m50 |[0;0m convenience init(dictionary: [String: Any]) {
[0;36m51 |[0;0m self.init()
/host/spi-builder-workspace/Sources/DVR/URLRequest.swift:72:11: [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m extension [4;39mNSMutableURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSMutableURLRequest' in scope[0;0m
[0;36m73 |[0;0m func appendHeaders(_ headers: [AnyHashable: Any]) {
[0;36m74 |[0;0m var existingHeaders = allHTTPHeaderFields ?? [:]
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:6:18: [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m4 |[0;0m class URLResponse: Foundation.URLResponse {
[0;36m5 |[0;0m private var _URL: Foundation.URL?
[0;36m6 |[0;0m [4;39moverride[0;0m var url: Foundation.URL? {
[0;36m|[0;0m `- [1;31merror: [1;39mproperty does not override any property from its superclass[0;0m
[0;36m7 |[0;0m get {
[0;36m8 |[0;0m return _URL ?? super.url
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:4:31: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m // There isn't a mutable URLResponse, so we have to make our own.
[0;36m4 |[0;0m class URLResponse: Foundation.[4;39mURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m5 |[0;0m private var _URL: Foundation.URL?
[0;36m6 |[0;0m override var url: Foundation.URL? {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/DVR/URLResponse.swift:18:1: [1;31merror: [1;39mnon-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m16 |[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m extension [4;39mFoundation.URLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m19 |[0;0m var dictionary: [String: Any] {
[0;36m20 |[0;0m 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