The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TMDb, reference 19.0.0 (b6aa28), with Swift 6.2 for Wasm on 11 Aug 2026 04:40:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[99/249] Compiling TMDb AlternativeTitle.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[100/249] Compiling TMDb AlternativeTitleCollection.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[101/249] Compiling TMDb AnyCodable.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[102/249] Compiling TMDb AppendToResponseOption.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[103/249] Compiling TMDb AuthenticatedSession.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[104/249] Compiling TMDb BelongsToCollection.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[105/249] Compiling TMDb CacheConfiguration.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     init(urlSession: URLSession) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:18:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     private let urlSession: URLSession
 17 |
 18 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.urlSession = urlSession
 20 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:16:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 14 | final class URLSessionHTTPClientAdapter: HTTPClient, Sendable {
 15 |
 16 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-Sendable type 'URLSession' (aka 'AnyObject')
 17 |
 18 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:34:70: error: cannot find type 'URLRequest' in scope
 32 | extension URLSessionHTTPClientAdapter {
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
    |                                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 47 |             return HTTPResponse(statusCode: -1, data: nil)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:44: error: cannot find type 'URLRequest' in scope
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
119 |             try await urlSession.data(for: urlRequest)
120 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:118:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |         }
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |             try await urlSession.data(for: urlRequest)
120 |         }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:25:50: error: missing argument label 'request:' in call
 23 |         let urlRequest = Self.urlRequest(from: request)
 24 |
 25 |         let (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 26 |
 27 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:35:26: error: cannot find 'URLRequest' in scope
 33 |
 34 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 35 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 36 |         urlRequest.httpMethod = httpRequest.method.rawValue
 37 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 46 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |             return HTTPResponse(statusCode: -1, data: nil)
 48 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:50:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 48 |         }
 49 |
 50 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 50 |         let statusCode = httpURLResponse.statusCode
 51 |         var headers = [String: String]()
 52 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 53 |             if let key = key as? String, let value = value as? String {
 54 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:119:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
117 |     #else
118 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
119 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
120 |         }
121 |     #endif
[106/273] Compiling TMDb ScreenedTheatricallyResult.swift
[107/273] Compiling TMDb Session.swift
[108/273] Compiling TMDb Show.swift
[109/273] Compiling TMDb ShowCastCredit.swift
[110/273] Compiling TMDb ShowCredits.swift
[111/273] Compiling TMDb ShowCrewCredit.swift
[112/273] Compiling TMDb ShowType.swift
[113/273] Compiling TMDb ShowWatchProvider.swift
[114/273] Compiling TMDb ShowWatchProviderResult.swift
[115/273] Compiling TMDb ShowWatchProvidersByCountry.swift
[116/273] Compiling TMDb SocialLinkIDs.swift
[117/273] Compiling TMDb SpokenLanguage.swift
[118/273] Compiling TMDb Status.swift
[119/273] Compiling TMDb SuccessResult.swift
[120/273] Compiling TMDb TMDbError+TMDbAPIError.swift
[121/273] Compiling TMDb TMDbError.swift
[122/273] Compiling TMDb TMDbErrorContext.swift
[123/273] Compiling TMDb TMDbStatusCode+RawRepresentable.swift
[124/273] Compiling TMDb TMDbStatusCode.swift
[125/273] Compiling TMDb TMDbStatusResponse.swift
[126/273] Compiling TMDb TVEpisode.swift
[127/273] Compiling TMDb TVEpisodeAirDate.swift
[128/273] Compiling TMDb TVEpisodeAppendOption.swift
[129/273] Compiling TMDb TVEpisodeDetailsResponse.swift
[130/273] Compiling TMDb KeywordCollection.swift
[131/273] Compiling TMDb KeywordPageableList.swift
[132/273] Compiling TMDb Language.swift
[133/273] Compiling TMDb Media.swift
[134/273] Compiling TMDb MediaList.swift
[135/273] Compiling TMDb MediaListItem.swift
[136/273] Compiling TMDb MediaListItemStatus.swift
[137/273] Compiling TMDb MediaListSummary.swift
[138/273] Compiling TMDb MediaListSummaryPageableList.swift
[139/273] Compiling TMDb MediaPageableList.swift
[140/273] Compiling TMDb Movie.swift
[141/273] Compiling TMDb MovieAppendOption.swift
[142/273] Compiling TMDb MovieCastCredit.swift
[143/273] Compiling TMDb MovieCrewCredit.swift
[144/273] Compiling TMDb MovieDetailsResponse.swift
[145/273] Compiling TMDb MovieExternalLinksCollection.swift
[146/273] Compiling TMDb MovieListItem.swift
[147/273] Compiling TMDb MoviePageableList.swift
[148/273] Compiling TMDb MovieReleaseDatesByCountry.swift
[149/273] Compiling TMDb MovieReleaseDatesResult.swift
[150/273] Compiling TMDb MovieReleaseType.swift
[151/273] Compiling TMDb Network.swift
[152/273] Compiling TMDb NetworkAlternativeName.swift
[153/273] Compiling TMDb NetworkLogo.swift
[154/273] Compiling TMDb CreditPerson.swift
[155/273] Compiling TMDb CreditTVSeries.swift
[156/273] Compiling TMDb CreditType.swift
[157/273] Compiling TMDb CrewJob.swift
[158/273] Compiling TMDb CrewMember.swift
[159/273] Compiling TMDb Department.swift
[160/273] Compiling TMDb ExternalLink.swift
[161/273] Compiling TMDb ExternalSource.swift
[162/273] Compiling TMDb FacebookLink.swift
[163/273] Compiling TMDb FindResults.swift
[164/273] Compiling TMDb Gender.swift
[165/273] Compiling TMDb Genre.swift
[166/273] Compiling TMDb GenreList.swift
[167/273] Compiling TMDb GuestSession.swift
[168/273] Compiling TMDb IMDbLink.swift
[169/273] Compiling TMDb ImageCollection.swift
[170/273] Compiling TMDb ImageMetadata.swift
[171/273] Compiling TMDb ImageProviding+Conformances.swift
[172/273] Compiling TMDb ImageProviding.swift
[173/273] Compiling TMDb ImageSize.swift
[174/273] Compiling TMDb ImagesConfiguration+URLs.swift
[175/273] Compiling TMDb ImagesConfiguration.swift
[176/273] Compiling TMDb InstagramLink.swift
[177/273] Compiling TMDb Keyword.swift
[178/369] Compiling TMDb MovieCertificationsRequest.swift
[179/369] Compiling TMDb TVSeriesCertificationsRequest.swift
[180/369] Compiling TMDb TMDbCertificationService.swift
[181/369] Compiling TMDb ChangesService+Pagination.swift
[182/369] Compiling TMDb ChangesService.swift
[183/369] Compiling TMDb TMDbChangesService.swift
[184/369] Compiling TMDb CollectionService.swift
[185/369] Compiling TMDb CollectionImagesRequest.swift
[186/369] Compiling TMDb CollectionRequest.swift
[187/369] Compiling TMDb CollectionTranslationsRequest.swift
[188/369] Compiling TMDb TMDbCollectionService.swift
[189/369] Compiling TMDb CompanyService.swift
[190/369] Compiling TMDb CompanyAlternativeNamesRequest.swift
[191/369] Compiling TMDb CompanyDetailsRequest.swift
[192/369] Compiling TMDb CompanyImagesRequest.swift
[193/369] Compiling TMDb TMDbCompanyService.swift
[194/369] Compiling TMDb ConfigurationService.swift
[195/369] Compiling TMDb APIConfigurationRequest.swift
[196/369] Compiling TMDb ConfigurationPrimaryTranslationsRequest.swift
[197/369] Compiling TMDb ConfigurationTimezonesRequest.swift
[198/369] Compiling TMDb CountriesConfigurationRequest.swift
[199/369] Compiling TMDb JobsConfigurationRequest.swift
[200/369] Compiling TMDb LanguaguesConfigurationRequest.swift
[201/369] Compiling TMDb TMDbConfigurationService.swift
[202/393] Compiling TMDb PersonTVSeriesCreditsRequest.swift
[203/393] Compiling TMDb PersonTaggedImagesRequest.swift
[204/393] Compiling TMDb PersonTranslationsRequest.swift
[205/393] Compiling TMDb PopularPeopleRequest.swift
[206/393] Compiling TMDb TMDbPersonService+Changes.swift
[207/393] Compiling TMDb TMDbPersonService+Media.swift
[208/393] Compiling TMDb TMDbPersonService+Translations.swift
[209/393] Compiling TMDb TMDbPersonService.swift
[210/393] Compiling TMDb ReviewRequest.swift
[211/393] Compiling TMDb ReviewService.swift
[212/393] Compiling TMDb TMDbReviewService.swift
[213/393] Compiling TMDb AllMediaSearchFilter.swift
[214/393] Compiling TMDb MovieSearchFilter.swift
[215/393] Compiling TMDb PersonSearchFilter.swift
[216/393] Compiling TMDb TVSeriesSearchFilter.swift
[217/393] Compiling TMDb CollectionSearchRequest.swift
[218/393] Compiling TMDb CompanySearchRequest.swift
[219/393] Compiling TMDb KeywordSearchRequest.swift
[220/393] Compiling TMDb MovieSearchRequest.swift
[221/393] Compiling TMDb MultiSearchRequest.swift
[222/393] Compiling TMDb PersonSearchRequest.swift
[223/393] Compiling TMDb TVSeriesSearchRequest.swift
[224/393] Compiling TMDb SearchService+Pagination.swift
[225/393] Compiling TMDb SearchService.swift
[226/417] Compiling TMDb AddToWatchlistRequest.swift
[227/417] Compiling TMDb FavouriteMoviesRequest.swift
[228/417] Compiling TMDb FavouriteTVSeriesRequest.swift
[229/417] Compiling TMDb MovieWatchlistRequest.swift
[230/417] Compiling TMDb RatedMoviesRequest.swift
[231/417] Compiling TMDb RatedTVEpisodesRequest.swift
[232/417] Compiling TMDb RatedTVSeriesRequest.swift
[233/417] Compiling TMDb TVSeriesWatchlistRequest.swift
[234/417] Compiling TMDb FavouriteSort.swift
[235/417] Compiling TMDb RatedSort.swift
[236/417] Compiling TMDb WatchlistSort.swift
[237/417] Compiling TMDb TMDbAccountService.swift
[238/417] Compiling TMDb AuthenticateURLBuilding.swift
[239/417] Compiling TMDb AuthenticationService.swift
[240/417] Compiling TMDb CreateGuestSessionRequest.swift
[241/417] Compiling TMDb CreateRequestTokenRequest.swift
[242/417] Compiling TMDb CreateSessionFromV4AccessTokenRequest.swift
[243/417] Compiling TMDb CreateSessionRequest.swift
[244/417] Compiling TMDb DeleteSessionRequest.swift
[245/417] Compiling TMDb ValidateKeyRequest.swift
[246/417] Compiling TMDb ValidateTokenWithLoginRequest.swift
[247/417] Compiling TMDb TMDbAuthenticationService.swift
[248/417] Compiling TMDb AuthenticateURLBuilder.swift
[249/417] Compiling TMDb CertificationService.swift
[250/441] Compiling TMDb GuestSessionService.swift
[251/441] Compiling TMDb GuestSessionRatedMoviesRequest.swift
[252/441] Compiling TMDb GuestSessionRatedTVEpisodesRequest.swift
[253/441] Compiling TMDb GuestSessionRatedTVSeriesRequest.swift
[254/441] Compiling TMDb TMDbGuestSessionService.swift
[255/441] Compiling TMDb APIConfigurationStore.swift
[256/441] Compiling TMDb ImageService+URLs.swift
[257/441] Compiling TMDb ImageService.swift
[258/441] Compiling TMDb TMDbImageService.swift
[259/441] Compiling TMDb KeywordService+Pagination.swift
[260/441] Compiling TMDb KeywordService.swift
[261/441] Compiling TMDb KeywordMoviesRequest.swift
[262/441] Compiling TMDb KeywordRequest.swift
[263/441] Compiling TMDb TMDbKeywordService.swift
[264/441] Compiling TMDb ListService+Pagination.swift
[265/441] Compiling TMDb ListService.swift
[266/441] Compiling TMDb AddMediaRequest.swift
[267/441] Compiling TMDb ClearListRequest.swift
[268/441] Compiling TMDb CreateListRequest.swift
[269/441] Compiling TMDb DeleteListRequest.swift
[270/441] Compiling TMDb ListItemStatusRequest.swift
[271/441] Compiling TMDb ListRequest.swift
[272/441] Compiling TMDb RemoveMediaRequest.swift
[273/441] Compiling TMDb TMDbListService.swift
[274/465] Compiling TMDb MovieWatchProvidersRequest.swift
[275/465] Compiling TMDb MoviesNowPlayingRequest.swift
[276/465] Compiling TMDb PopularMoviesRequest.swift
[277/465] Compiling TMDb SimilarMoviesRequest.swift
[278/465] Compiling TMDb TopRatedMoviesRequest.swift
[279/465] Compiling TMDb UpcomingMoviesRequest.swift
[280/465] Compiling TMDb TMDbMovieService.swift
[281/465] Compiling TMDb NetworkService.swift
[282/465] Compiling TMDb NetworkAlternativeNamesRequest.swift
[283/465] Compiling TMDb NetworkImagesRequest.swift
[284/465] Compiling TMDb NetworkRequest.swift
[285/465] Compiling TMDb TMDbNetworkService.swift
[286/465] Compiling TMDb PersonService+Defaults.swift
[287/465] Compiling TMDb PersonService+Pagination.swift
[288/465] Compiling TMDb PersonService.swift
[289/465] Compiling TMDb LatestPersonRequest.swift
[290/465] Compiling TMDb PersonChangesListRequest.swift
[291/465] Compiling TMDb PersonChangesRequest.swift
[292/465] Compiling TMDb PersonCombinedCreditsRequest.swift
[293/465] Compiling TMDb PersonDetailsAppendRequest.swift
[294/465] Compiling TMDb PersonExternalLinksRequest.swift
[295/465] Compiling TMDb PersonImagesRequest.swift
[296/465] Compiling TMDb PersonMovieCreditsRequest.swift
[297/465] Compiling TMDb PersonRequest.swift
[298/465] Compiling TMDb MovieImageFilter.swift
[299/465] Compiling TMDb MovieVideoFilter.swift
[300/465] Compiling TMDb MovieKeywordsResponse.swift
[301/465] Compiling TMDb MovieService+Pagination.swift
[302/465] Compiling TMDb MovieService.swift
[303/465] Compiling TMDb AddMovieRatingRequest.swift
[304/465] Compiling TMDb DeleteMovieRatingRequest.swift
[305/465] Compiling TMDb LatestMovieRequest.swift
[306/465] Compiling TMDb MovieAccountStatesRequest.swift
[307/465] Compiling TMDb MovieAlternativeTitlesRequest.swift
[308/465] Compiling TMDb MovieChangesListRequest.swift
[309/465] Compiling TMDb MovieChangesRequest.swift
[310/465] Compiling TMDb MovieCreditsRequest.swift
[311/465] Compiling TMDb MovieDetailsAppendRequest.swift
[312/465] Compiling TMDb MovieExternalLinksRequest.swift
[313/465] Compiling TMDb MovieImagesRequest.swift
[314/465] Compiling TMDb MovieKeywordsRequest.swift
[315/465] Compiling TMDb MovieListsRequest.swift
[316/465] Compiling TMDb MovieRecommendationsRequest.swift
[317/465] Compiling TMDb MovieReleaseDatesRequest.swift
[318/465] Compiling TMDb MovieRequest.swift
[319/465] Compiling TMDb MovieReviewsRequest.swift
[320/465] Compiling TMDb MovieTranslationsRequest.swift
[321/465] Compiling TMDb MovieVideosRequest.swift
[322/489] Compiling TMDb CreditService.swift
[323/489] Compiling TMDb CreditRequest.swift
[324/489] Compiling TMDb TMDbCreditService.swift
[325/489] Compiling TMDb DiscoverService+Pagination.swift
[326/489] Compiling TMDb DiscoverService.swift
[327/489] Compiling TMDb DiscoverFilterJoin.swift
[328/489] Compiling TMDb DiscoverMovieFilter+Fluent.swift
[329/489] Compiling TMDb DiscoverMovieFilter.swift
[330/489] Compiling TMDb DiscoverTVSeriesFilter+Fluent.swift
[331/489] Compiling TMDb DiscoverTVSeriesFilter.swift
[332/489] Compiling TMDb DiscoverMoviesRequest.swift
[333/489] Compiling TMDb DiscoverTVSeriesRequest.swift
[334/489] Compiling TMDb MovieSort.swift
[335/489] Compiling TMDb TVSeriesSort.swift
[336/489] Compiling TMDb TMDbDiscoverService.swift
[337/489] Compiling TMDb FindService.swift
[338/489] Compiling TMDb FindByIDRequest.swift
[339/489] Compiling TMDb TMDbFindService.swift
[340/489] Compiling TMDb GenreService.swift
[341/489] Compiling TMDb MovieGenresRequest.swift
[342/489] Compiling TMDb TVSeriesGenresRequest.swift
[343/489] Compiling TMDb TMDbGenreService.swift
[344/489] Compiling TMDb GuestSessionService+Defaults.swift
[345/489] Compiling TMDb GuestSessionService+Pagination.swift
[346/489] Compiling TMDb KeyedDecodingContainer+Nested.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[347/489] Compiling TMDb KeyedDecodingContainer+NonEmpty.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[348/489] Compiling TMDb Sequence+Uniqued.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[349/489] Compiling TMDb String+URLPathSegment.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[350/489] Compiling TMDb String+Validation.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[351/489] Compiling TMDb StringCodingKey.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[352/489] Compiling TMDb URL+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[353/489] Compiling TMDb APICredential.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[354/489] Compiling TMDb CacheHTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[355/489] Compiling TMDb EndpointPathRedactor.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[356/489] Compiling TMDb HTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[357/489] Compiling TMDb HTTPRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[358/489] Compiling TMDb HTTPResponse.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[359/489] Compiling TMDb RetryHTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[360/489] Compiling TMDb Serialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[361/489] Compiling TMDb TMDbAuthJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[362/489] Compiling TMDb TMDbJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[363/489] Compiling TMDb TMDbAPIClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[364/489] Compiling TMDb TMDbAPIError+HTTPStatusCode.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[365/489] Compiling TMDb TMDbAPIError.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[366/489] Compiling TMDb TMDbClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[367/489] Compiling TMDb TMDbConfiguration.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[368/489] Compiling TMDb TMDbFactory.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[369/489] Compiling TMDb TMDbServiceDependencies.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:98:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |     }
 97 |
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:100:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:114:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
112 |
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
116 |         }
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:101:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 99 |
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
103 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:102:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
100 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
101 |         let configuration = URLSessionConfiguration.default
102 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
103 |         configuration.timeoutIntervalForRequest = 30
104 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     #if !canImport(FoundationNetworking)
114 |         private static func urlCache() -> URLCache {
115 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |         }
117 |     #endif
[370/489] Compiling TMDb TaggedImagePageableList.swift
[371/489] Compiling TMDb TikTokLink.swift
[372/489] Compiling TMDb Timezone.swift
[373/489] Compiling TMDb Token.swift
[374/489] Compiling TMDb Translation.swift
[375/489] Compiling TMDb TrendingItem.swift
[376/489] Compiling TMDb TrendingPageableList.swift
[377/489] Compiling TMDb TwitterLink.swift
[378/489] Compiling TMDb VideoCollection.swift
[379/489] Compiling TMDb VideoMetadata.swift
[380/489] Compiling TMDb VideoSize.swift
[381/489] Compiling TMDb VideoType.swift
[382/489] Compiling TMDb WatchMonetizationType.swift
[383/489] Compiling TMDb WatchProvider.swift
[384/489] Compiling TMDb WatchProviderRegions.swift
[385/489] Compiling TMDb WatchProviderResult.swift
[386/489] Compiling TMDb WikiDataLink.swift
[387/489] Compiling TMDb AccountService+AuthenticatedSession.swift
[388/489] Compiling TMDb AccountService+Defaults.swift
[389/489] Compiling TMDb AccountService+Pagination.swift
[390/489] Compiling TMDb AccountService.swift
[391/489] Compiling TMDb AccountListsRequest.swift
[392/489] Compiling TMDb AccountRequest.swift
[393/489] Compiling TMDb AddFavouriteRequest.swift
[394/489] Compiling TMDb TVSeriesAggregateCreditsRequest.swift
[395/489] Compiling TMDb TVSeriesAiringTodayRequest.swift
[396/489] Compiling TMDb TVSeriesAlternativeTitlesRequest.swift
[397/489] Compiling TMDb TVSeriesChangesListRequest.swift
[398/489] Compiling TMDb TVSeriesChangesRequest.swift
[399/489] Compiling TMDb TVSeriesCreditsRequest.swift
[400/489] Compiling TMDb TVSeriesDeleteRatingRequest.swift
[401/489] Compiling TMDb TVSeriesDetailsAppendRequest.swift
[402/489] Compiling TMDb TVSeriesEpisodeGroupsRequest.swift
[403/489] Compiling TMDb TVSeriesExternalLinksRequest.swift
[404/489] Compiling TMDb TVSeriesImagesRequest.swift
[405/489] Compiling TMDb TVSeriesKeywordsRequest.swift
[406/489] Compiling TMDb TVSeriesListsRequest.swift
[407/489] Compiling TMDb TVSeriesOnTheAirRequest.swift
[408/489] Compiling TMDb TVSeriesRecommendationsRequest.swift
[409/489] Compiling TMDb TVSeriesRequest.swift
[410/489] Compiling TMDb TVSeriesReviewsRequest.swift
[411/489] Compiling TMDb TVSeriesScreenedTheatricallyRequest.swift
[412/489] Compiling TMDb TVSeriesTranslationsRequest.swift
[413/489] Compiling TMDb TVSeriesVideosRequest.swift
[414/489] Compiling TMDb TVSeriesWatchProvidersRequest.swift
[415/489] Compiling TMDb TopRatedTVSeriesRequest.swift
[416/489] Compiling TMDb TMDbTVSeriesService+Account.swift
[417/489] Compiling TMDb TMDbTVSeriesService+Changes.swift
[418/489] Compiling TMDb TMDbSearchService.swift
[419/489] Compiling TMDb TVEpisodeGroupRequest.swift
[420/489] Compiling TMDb TMDbTVEpisodeGroupService.swift
[421/489] Compiling TMDb TVEpisodeGroupService.swift
[422/489] Compiling TMDb TVEpisodeImageFilter.swift
[423/489] Compiling TMDb TVEpisodeVideoFilter.swift
[424/489] Compiling TMDb TVEpisodeAccountStatesRequest.swift
[425/489] Compiling TMDb TVEpisodeAddRatingRequest.swift
[426/489] Compiling TMDb TVEpisodeChangesRequest.swift
[427/489] Compiling TMDb TVEpisodeCreditsRequest.swift
[428/489] Compiling TMDb TVEpisodeDeleteRatingRequest.swift
[429/489] Compiling TMDb TVEpisodeDetailsAppendRequest.swift
[430/489] Compiling TMDb TVEpisodeExternalLinksRequest.swift
[431/489] Compiling TMDb TVEpisodeImagesRequest.swift
[432/489] Compiling TMDb TVEpisodeRequest.swift
[433/489] Compiling TMDb TVEpisodeTranslationsRequest.swift
[434/489] Compiling TMDb TVEpisodeVideosRequest.swift
[435/489] Compiling TMDb TMDbTVEpisodeService+Account.swift
[436/489] Compiling TMDb TMDbTVEpisodeService+Changes.swift
[437/489] Compiling TMDb TMDbTVEpisodeService+Metadata.swift
[438/489] Compiling TMDb TMDbTVEpisodeService.swift
[439/489] Compiling TMDb TVEpisodeService.swift
[440/489] Compiling TMDb TVSeasonImageFilter.swift
[441/489] Compiling TMDb TVSeasonVideoFilter.swift
[442/489] Compiling TMDb TVSeasonAccountStatesRequest.swift
[443/489] Compiling TMDb TVSeasonAggregateCreditsRequest.swift
[444/489] Compiling TMDb TVSeasonChangesRequest.swift
[445/489] Compiling TMDb TVSeasonCreditsRequest.swift
[446/489] Compiling TMDb TVSeasonDetailsAppendRequest.swift
[447/489] Compiling TMDb TVSeasonExternalLinksRequest.swift
[448/489] Compiling TMDb TVSeasonImagesRequest.swift
[449/489] Compiling TMDb TVSeasonRequest.swift
[450/489] Compiling TMDb TVSeasonTranslationsRequest.swift
[451/489] Compiling TMDb TVSeasonVideosRequest.swift
[452/489] Compiling TMDb TVSeasonWatchProvidersRequest.swift
[453/489] Compiling TMDb TMDbTVSeasonService+Account.swift
[454/489] Compiling TMDb TMDbTVSeasonService+Changes.swift
[455/489] Compiling TMDb TMDbTVSeasonService+Metadata.swift
[456/489] Compiling TMDb TMDbTVSeasonService.swift
[457/489] Compiling TMDb TVSeasonService.swift
[458/489] Compiling TMDb TVSeriesImageFilter.swift
[459/489] Compiling TMDb TVSeriesVideoFilter.swift
[460/489] Compiling TMDb ContentRatingRequest.swift
[461/489] Compiling TMDb LatestTVSeriesRequest.swift
[462/489] Compiling TMDb PopularTVSeriesRequest.swift
[463/489] Compiling TMDb SimilarTVSeriesRequest.swift
[464/489] Compiling TMDb TVSeriesAccountStatesRequest.swift
[465/489] Compiling TMDb TVSeriesAddRatingRequest.swift
[466/489] Compiling TMDb TMDbTVSeriesService+Lists.swift
[467/489] Compiling TMDb TMDbTVSeriesService+Media.swift
[468/489] Compiling TMDb TMDbTVSeriesService+Metadata.swift
[469/489] Compiling TMDb TMDbTVSeriesService.swift
[470/489] Compiling TMDb TVSeriesService+Pagination.swift
[471/489] Compiling TMDb TVSeriesService.swift
[472/489] Compiling TMDb TrendingTimeWindowFilterType.swift
[473/489] Compiling TMDb TrendingAllRequest.swift
[474/489] Compiling TMDb TrendingMoviesRequest.swift
[475/489] Compiling TMDb TrendingPeopleRequest.swift
[476/489] Compiling TMDb TrendingTVSeriesRequest.swift
[477/489] Compiling TMDb TMDbTrendingService.swift
[478/489] Compiling TMDb TrendingService+Pagination.swift
[479/489] Compiling TMDb TrendingService.swift
[480/489] Compiling TMDb WatchProviderFilter.swift
[481/489] Compiling TMDb WatchProviderRegionsRequest.swift
[482/489] Compiling TMDb WatchProvidersForMoviesRequest.swift
[483/489] Compiling TMDb WatchProvidersForTVSeriesRequest.swift
[484/489] Compiling TMDb TMDbWatchProviderService.swift
[485/489] Compiling TMDb WatchProviderService.swift
[486/489] Compiling TMDb DateFormatter+TMDb.swift
[487/489] Compiling TMDb Double+Rating.swift
[488/489] Compiling TMDb JSONDecoder+TMDb.swift
[489/489] Compiling TMDb JSONEncoder+TMDb.swift
BUILD FAILURE 6.2 wasm