The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TMDb, reference main (a3f131), with Swift 6.1 for Wasm on 5 Oct 2026 08:13:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 74 |         var urlRequest = URLRequest(url: httpRequest.url)
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:91:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     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.
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 93 |             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:168:27: error: cannot find type 'URLRequest' in scope
166 |     #else
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
    |                           `- error: cannot find type 'URLRequest' in scope
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:169:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
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:170:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |             try await urlSession.data(for: urlRequest)
172 |         }
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:42:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 40 |         self.urlSession = urlSession
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
    |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:43:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
 43 |             ?? URLSessionConfiguration.default
    |                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:45: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                             `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
 47 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
    |                                  `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:69: error: extra argument 'using' in call
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                                                     `- error: extra argument 'using' in call
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:74:26: error: cannot find 'URLRequest' in scope
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
 76 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:85:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 83 |             // read even if some cache is reachable, while the cache-free
 84 |             // session stops the *write*.
 85 |             urlRequest.cachePolicy = .reloadIgnoringLocalCacheData
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 86 |         }
 87 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         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.
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
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:96:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |         }
 95 |
 96 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 96 |         let statusCode = httpURLResponse.statusCode
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 99 |             if let key = key as? String, let value = value as? String {
100 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:171:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 |         }
173 |     #endif
[24/177] 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 |     /// A second session for user-specific requests, with **no** `URLCache`.
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:37:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |
 39 |     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:39:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     private let noCacheURLSession: URLSession
 38 |
 39 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         self.urlSession = urlSession
 41 |
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:65:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ///   the shared one.
 64 |     ///
 65 |     func session(for request: HTTPRequest) -> URLSession {
    |                                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         request.isUserSpecific ? noCacheURLSession : urlSession
 67 |     }
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 |     /// A second session for user-specific requests, with **no** `URLCache`.
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:37:17: error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                 `- error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 38 |
 39 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:73:70: error: cannot find type 'URLRequest' in scope
 71 | extension URLSessionHTTPClientAdapter {
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:91:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     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.
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 93 |             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:168:27: error: cannot find type 'URLRequest' in scope
166 |     #else
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
    |                           `- error: cannot find type 'URLRequest' in scope
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:169:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
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:170:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |             try await urlSession.data(for: urlRequest)
172 |         }
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:42:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 40 |         self.urlSession = urlSession
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
    |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:43:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
 43 |             ?? URLSessionConfiguration.default
    |                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:45: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                             `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
 47 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
    |                                  `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:69: error: extra argument 'using' in call
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                                                     `- error: extra argument 'using' in call
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:74:26: error: cannot find 'URLRequest' in scope
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
 76 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:85:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 83 |             // read even if some cache is reachable, while the cache-free
 84 |             // session stops the *write*.
 85 |             urlRequest.cachePolicy = .reloadIgnoringLocalCacheData
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 86 |         }
 87 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         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.
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
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:96:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |         }
 95 |
 96 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 96 |         let statusCode = httpURLResponse.statusCode
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 99 |             if let key = key as? String, let value = value as? String {
100 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:171:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 |         }
173 |     #endif
[25/177] 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 |     /// A second session for user-specific requests, with **no** `URLCache`.
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:37:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |
 39 |     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:39:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     private let noCacheURLSession: URLSession
 38 |
 39 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         self.urlSession = urlSession
 41 |
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:65:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ///   the shared one.
 64 |     ///
 65 |     func session(for request: HTTPRequest) -> URLSession {
    |                                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         request.isUserSpecific ? noCacheURLSession : urlSession
 67 |     }
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 |     /// A second session for user-specific requests, with **no** `URLCache`.
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:37:17: error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                 `- error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 38 |
 39 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:73:70: error: cannot find type 'URLRequest' in scope
 71 | extension URLSessionHTTPClientAdapter {
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:91:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     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.
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 93 |             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:168:27: error: cannot find type 'URLRequest' in scope
166 |     #else
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
    |                           `- error: cannot find type 'URLRequest' in scope
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:169:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
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:170:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |             try await urlSession.data(for: urlRequest)
172 |         }
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:42:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 40 |         self.urlSession = urlSession
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
    |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:43:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
 43 |             ?? URLSessionConfiguration.default
    |                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:45: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                             `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
 47 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
    |                                  `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:69: error: extra argument 'using' in call
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                                                     `- error: extra argument 'using' in call
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:74:26: error: cannot find 'URLRequest' in scope
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
 76 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:85:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 83 |             // read even if some cache is reachable, while the cache-free
 84 |             // session stops the *write*.
 85 |             urlRequest.cachePolicy = .reloadIgnoringLocalCacheData
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 86 |         }
 87 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         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.
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
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:96:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |         }
 95 |
 96 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 96 |         let statusCode = httpURLResponse.statusCode
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 99 |             if let key = key as? String, let value = value as? String {
100 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:171:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 |         }
173 |     #endif
[26/177] 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 |     /// A second session for user-specific requests, with **no** `URLCache`.
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:37:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |
 39 |     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:39:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     private let noCacheURLSession: URLSession
 38 |
 39 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         self.urlSession = urlSession
 41 |
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:65:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ///   the shared one.
 64 |     ///
 65 |     func session(for request: HTTPRequest) -> URLSession {
    |                                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         request.isUserSpecific ? noCacheURLSession : urlSession
 67 |     }
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 |     /// A second session for user-specific requests, with **no** `URLCache`.
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:37:17: error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                 `- error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 38 |
 39 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:73:70: error: cannot find type 'URLRequest' in scope
 71 | extension URLSessionHTTPClientAdapter {
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:91:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     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.
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 93 |             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:168:27: error: cannot find type 'URLRequest' in scope
166 |     #else
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
    |                           `- error: cannot find type 'URLRequest' in scope
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:169:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
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:170:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |             try await urlSession.data(for: urlRequest)
172 |         }
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:42:40: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 40 |         self.urlSession = urlSession
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
    |                                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:43:40: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 41 |
 42 |         let configuration = urlSession.configuration.copy() as? URLSessionConfiguration
 43 |             ?? URLSessionConfiguration.default
    |                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:45:45: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 43 |             ?? URLSessionConfiguration.default
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                             `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
 47 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:46:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 44 |         configuration.urlCache = nil
 45 |         configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
 46 |         self.noCacheURLSession = URLSession(configuration: configuration)
    |                                  `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 47 |     }
 48 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:36: error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                    `- error: cannot convert value of type 'HTTPResponse' to specified type '(_, _)'
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:52:69: error: extra argument 'using' in call
 50 |         let urlRequest = Self.urlRequest(from: request)
 51 |
 52 |         let (data, response) = try await perform(urlRequest, using: session(for: request))
    |                                                                     `- error: extra argument 'using' in call
 53 |
 54 |         return Self.httpResponse(from: data, response: response)
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:74:26: error: cannot find 'URLRequest' in scope
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
 76 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:85:39: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 83 |             // read even if some cache is reachable, while the cache-free
 84 |             // session stops the *write*.
 85 |             urlRequest.cachePolicy = .reloadIgnoringLocalCacheData
    |                                       `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 86 |         }
 87 |
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:92:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 92 |         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.
 93 |             return HTTPResponse(statusCode: -1, data: nil)
 94 |         }
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:96:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |         }
 95 |
 96 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 96 |         let statusCode = httpURLResponse.statusCode
 97 |         var headers = [String: String]()
 98 |         for (key, value) in httpURLResponse.allHeaderFields {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 99 |             if let key = key as? String, let value = value as? String {
100 |                 headers[key] = value
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:171:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 |         }
173 |     #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/202] Emitting module TMDb
/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 |     /// A second session for user-specific requests, with **no** `URLCache`.
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:37:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |
 39 |     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:39:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     private let noCacheURLSession: URLSession
 38 |
 39 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         self.urlSession = urlSession
 41 |
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:65:47: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     ///   the shared one.
 64 |     ///
 65 |     func session(for request: HTTPRequest) -> URLSession {
    |                                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |         request.isUserSpecific ? noCacheURLSession : urlSession
 67 |     }
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 |     /// A second session for user-specific requests, with **no** `URLCache`.
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:37:17: error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 35 |     /// so mutating it would unhook the `URLCache` from the primary session too,
 36 |     /// disabling caching everywhere.
 37 |     private let noCacheURLSession: URLSession
    |                 `- error: stored property 'noCacheURLSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 38 |
 39 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:73:70: error: cannot find type 'URLRequest' in scope
 71 | extension URLSessionHTTPClientAdapter {
 72 |
 73 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 74 |         var urlRequest = URLRequest(url: httpRequest.url)
 75 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:91:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     }
 90 |
 91 |     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.
 92 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 93 |             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:168:27: error: cannot find type 'URLRequest' in scope
166 |     #else
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
    |                           `- error: cannot find type 'URLRequest' in scope
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:169:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         private func perform(
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
    |                               `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         ) async throws -> (Data, URLResponse) {
171 |             try await urlSession.data(for: urlRequest)
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:170:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
168 |             _ urlRequest: URLRequest,
169 |             using urlSession: URLSession
170 |         ) async throws -> (Data, URLResponse) {
    |                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 |             try await urlSession.data(for: urlRequest)
172 |         }
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/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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
[28/227] Compiling TMDb CreditPerson.swift
[29/227] Compiling TMDb CreditTVSeries.swift
[30/227] Compiling TMDb CreditType.swift
[31/227] Compiling TMDb CrewJob.swift
[32/227] Compiling TMDb CrewMember.swift
[33/227] Compiling TMDb Department.swift
[34/227] Compiling TMDb DroppedItemCount.swift
[35/227] Compiling TMDb ExternalLink.swift
[36/227] Compiling TMDb ExternalSource.swift
[37/227] Compiling TMDb FacebookLink.swift
[38/227] Compiling TMDb FindResults.swift
[39/227] Compiling TMDb Gender.swift
[40/227] Compiling TMDb Genre.swift
[41/227] Compiling TMDb GenreList.swift
[42/227] Compiling TMDb GuestSession.swift
[43/227] Compiling TMDb IMDbLink.swift
[44/227] Compiling TMDb ImageCollection.swift
[45/227] Compiling TMDb ImageMetadata.swift
[46/227] Compiling TMDb ImageProviding+Conformances.swift
[47/227] Compiling TMDb ImageProviding.swift
[48/227] Compiling TMDb ImageSize.swift
[49/227] Compiling TMDb ImagesConfiguration+URLs.swift
[50/227] Compiling TMDb ImagesConfiguration.swift
[51/227] Compiling TMDb InstagramLink.swift
[52/227] Compiling TMDb Keyword.swift
[53/251] Compiling TMDb Show.swift
[54/251] Compiling TMDb ShowCastCredit.swift
[55/251] Compiling TMDb ShowCredits.swift
[56/251] Compiling TMDb ShowCrewCredit.swift
[57/251] Compiling TMDb ShowType.swift
[58/251] Compiling TMDb ShowWatchProvider.swift
[59/251] Compiling TMDb ShowWatchProviderResult.swift
[60/251] Compiling TMDb ShowWatchProvidersByCountry.swift
[61/251] Compiling TMDb SocialLinkIDs.swift
[62/251] Compiling TMDb SpokenLanguage.swift
[63/251] Compiling TMDb Status.swift
[64/251] Compiling TMDb SuccessResult.swift
[65/251] Compiling TMDb TMDbError+TMDbAPIError.swift
[66/251] Compiling TMDb TMDbError.swift
[67/251] Compiling TMDb TMDbErrorContext.swift
[68/251] Compiling TMDb TMDbStatusCode+RawRepresentable.swift
[69/251] Compiling TMDb TMDbStatusCode.swift
[70/251] Compiling TMDb TMDbStatusResponse.swift
[71/251] Compiling TMDb TVEpisode.swift
[72/251] Compiling TMDb TVEpisodeAirDate.swift
[73/251] Compiling TMDb TVEpisodeAppendOption.swift
[74/251] Compiling TMDb TVEpisodeDetailsResponse.swift
[75/251] Compiling TMDb TVEpisodeExternalLinksCollection.swift
[76/251] Compiling TMDb TVEpisodeGroup.swift
[77/251] Compiling TMDb TVEpisodeGroupCollection.swift
[78/275] Compiling TMDb PagedAsyncSequence.swift
[79/275] Compiling TMDb PagedPagesAsyncSequence.swift
[80/275] Compiling TMDb Person.swift
[81/275] Compiling TMDb PersonAppendOption.swift
[82/275] Compiling TMDb PersonCombinedCredits.swift
[83/275] Compiling TMDb PersonDetailsResponse.swift
[84/275] Compiling TMDb PersonExternalLinksCollection.swift
[85/275] Compiling TMDb PersonImageCollection.swift
[86/275] Compiling TMDb PersonListItem.swift
[87/275] Compiling TMDb PersonMovieCredits.swift
[88/275] Compiling TMDb PersonPageableList.swift
[89/275] Compiling TMDb PersonTVSeriesCredits.swift
[90/275] Compiling TMDb PrefetchPolicy.swift
[91/275] Compiling TMDb ProductionCompany.swift
[92/275] Compiling TMDb ProductionCountry.swift
[93/275] Compiling TMDb ReleaseDate.swift
[94/275] Compiling TMDb ReleaseType.swift
[95/275] Compiling TMDb RetryConfiguration.swift
[96/275] Compiling TMDb RetryableErrors.swift
[97/275] Compiling TMDb Review.swift
[98/275] Compiling TMDb ReviewAuthorDetails.swift
[99/275] Compiling TMDb ReviewPageableList.swift
[100/275] Compiling TMDb ScreenedTheatricallyCollection.swift
[101/275] Compiling TMDb ScreenedTheatricallyResult.swift
[102/275] Compiling TMDb Session.swift
[103/275] Compiling TMDb KeywordCollection.swift
[104/275] Compiling TMDb KeywordPageableList.swift
[105/275] Compiling TMDb Language.swift
[106/275] Compiling TMDb Media.swift
[107/275] Compiling TMDb MediaList.swift
[108/275] Compiling TMDb MediaListItem.swift
[109/275] Compiling TMDb MediaListItemStatus.swift
[110/275] Compiling TMDb MediaListSummary.swift
[111/275] Compiling TMDb MediaListSummaryPageableList.swift
[112/275] Compiling TMDb MediaPageableList.swift
[113/275] Compiling TMDb Movie.swift
[114/275] Compiling TMDb MovieAppendOption.swift
[115/275] Compiling TMDb MovieCastCredit.swift
[116/275] Compiling TMDb MovieCrewCredit.swift
[117/275] Compiling TMDb MovieDetailsResponse.swift
[118/275] Compiling TMDb MovieExternalLinksCollection.swift
[119/275] Compiling TMDb MovieListItem.swift
[120/275] Compiling TMDb MoviePageableList.swift
[121/275] Compiling TMDb MovieReleaseDatesByCountry.swift
[122/275] Compiling TMDb MovieReleaseDatesResult.swift
[123/275] Compiling TMDb MovieReleaseType.swift
[124/275] Compiling TMDb Network.swift
[125/275] Compiling TMDb NetworkAlternativeName.swift
[126/275] Compiling TMDb NetworkLogo.swift
[127/275] Compiling TMDb PageableListResult.swift
[128/275] Compiling TMDb CastMember.swift
[129/275] Compiling TMDb CastRole.swift
[130/275] Compiling TMDb Certification.swift
[131/275] Compiling TMDb Certifications.swift
[132/275] Compiling TMDb Change.swift
[133/275] Compiling TMDb Collection.swift
[134/275] Compiling TMDb CollectionImageCollection.swift
[135/275] Compiling TMDb CollectionListItem.swift
[136/275] Compiling TMDb CollectionPageableList.swift
[137/275] Compiling TMDb CollectionTranslation.swift
[138/275] Compiling TMDb CollectionTranslationData.swift
[139/275] Compiling TMDb Company.swift
[140/275] Compiling TMDb CompanyAlternativeName.swift
[141/275] Compiling TMDb CompanyAlternativeNameCollection.swift
[142/275] Compiling TMDb CompanyImageCollection.swift
[143/275] Compiling TMDb CompanyPageableList.swift
[144/275] Compiling TMDb ContentRating.swift
[145/275] Compiling TMDb ContentRatingResult.swift
[146/275] Compiling TMDb Country.swift
[147/275] Compiling TMDb CreateListResult.swift
[148/275] Compiling TMDb Creator.swift
[149/275] Compiling TMDb Credential.swift
[150/275] Compiling TMDb Credit.swift
[151/275] Compiling TMDb CreditMedia.swift
[152/275] Compiling TMDb CreditMovie.swift
[153/347] Compiling TMDb WatchProviderRegions.swift
[154/347] Compiling TMDb WatchProviderResult.swift
[155/347] Compiling TMDb WikiDataLink.swift
[156/347] Compiling TMDb AccountService+AuthenticatedSession.swift
[157/347] Compiling TMDb AccountService+Conveniences.swift
[158/347] Compiling TMDb AccountService+Defaults.swift
[159/347] Compiling TMDb AccountService+Pagination.swift
[160/347] Compiling TMDb AccountService.swift
[161/347] Compiling TMDb AccountListsRequest.swift
[162/347] Compiling TMDb AccountRequest.swift
[163/347] Compiling TMDb AddFavouriteRequest.swift
[164/347] Compiling TMDb AddToWatchlistRequest.swift
[165/347] Compiling TMDb FavouriteMoviesRequest.swift
[166/347] Compiling TMDb FavouriteTVSeriesRequest.swift
[167/347] Compiling TMDb MovieWatchlistRequest.swift
[168/347] Compiling TMDb RatedMoviesRequest.swift
[169/347] Compiling TMDb RatedTVEpisodesRequest.swift
[170/347] Compiling TMDb RatedTVSeriesRequest.swift
[171/347] Compiling TMDb TVSeriesWatchlistRequest.swift
[172/347] Compiling TMDb FavouriteSort.swift
[173/347] Compiling TMDb RatedSort.swift
[174/347] Compiling TMDb WatchlistSort.swift
[175/347] Compiling TMDb TMDbAccountService.swift
[176/347] Compiling TMDb AuthenticateURLBuilding.swift
[177/347] Compiling TMDb AuthenticationService.swift
[178/347] Compiling TMDb TVEpisodeImageCollection.swift
[179/347] Compiling TMDb TVEpisodePageableList.swift
[180/347] Compiling TMDb TVSeason.swift
[181/347] Compiling TMDb TVSeasonAggregateCredits.swift
[182/347] Compiling TMDb TVSeasonAppendOption.swift
[183/347] Compiling TMDb TVSeasonDetailsResponse.swift
[184/347] Compiling TMDb TVSeasonExternalLinksCollection.swift
[185/347] Compiling TMDb TVSeasonImageCollection.swift
[186/347] Compiling TMDb TVSeries.swift
[187/347] Compiling TMDb TVSeriesAggregateCredits.swift
[188/347] Compiling TMDb TVSeriesAppendOption.swift
[189/347] Compiling TMDb TVSeriesCastCredit.swift
[190/347] Compiling TMDb TVSeriesCrewCredit.swift
[191/347] Compiling TMDb TVSeriesDetailsResponse.swift
[192/347] Compiling TMDb TVSeriesExternalLinksCollection.swift
[193/347] Compiling TMDb TVSeriesListItem.swift
[194/347] Compiling TMDb TVSeriesPageableList.swift
[195/347] Compiling TMDb TVSeriesStatus.swift
[196/347] Compiling TMDb TVSeriesType.swift
[197/347] Compiling TMDb TaggedImage.swift
[198/347] Compiling TMDb TaggedImageMedia.swift
[199/347] Compiling TMDb TaggedImagePageableList.swift
[200/347] Compiling TMDb TikTokLink.swift
[201/347] Compiling TMDb Timezone.swift
[202/347] Compiling TMDb Token.swift
[203/395] Compiling TMDb Translation.swift
[204/395] Compiling TMDb TrendingItem.swift
[205/395] Compiling TMDb TrendingPageableList.swift
[206/395] Compiling TMDb TwitterLink.swift
[207/395] Compiling TMDb UnknownMediaTypeError.swift
[208/395] Compiling TMDb V4AccessToken.swift
[209/395] Compiling TMDb V4ClearListResult.swift
[210/395] Compiling TMDb V4CreateListResult.swift
[211/395] Compiling TMDb V4List.swift
[212/395] Compiling TMDb V4ListAttributes.swift
[213/395] Compiling TMDb V4ListCreator.swift
[214/395] Compiling TMDb V4ListItem.swift
[215/395] Compiling TMDb V4ListItemComment.swift
[216/395] Compiling TMDb V4ListItemStatusResult.swift
[217/395] Compiling TMDb V4ListItemsResult.swift
[218/395] Compiling TMDb V4ListMediaItem.swift
[219/395] Compiling TMDb V4ListSortBy.swift
[220/395] Compiling TMDb V4ListSummary.swift
[221/395] Compiling TMDb V4RequestToken.swift
[222/395] Compiling TMDb VideoCollection.swift
[223/395] Compiling TMDb VideoMetadata.swift
[224/395] Compiling TMDb VideoSize.swift
[225/395] Compiling TMDb VideoType.swift
[226/395] Compiling TMDb WatchMonetizationType.swift
[227/395] Compiling TMDb WatchProvider.swift
[228/419] Compiling TMDb CreateGuestSessionRequest.swift
[229/419] Compiling TMDb CreateRequestTokenRequest.swift
[230/419] Compiling TMDb CreateSessionFromV4AccessTokenRequest.swift
[231/419] Compiling TMDb CreateSessionRequest.swift
[232/419] Compiling TMDb DeleteSessionRequest.swift
[233/419] Compiling TMDb ValidateKeyRequest.swift
[234/419] Compiling TMDb ValidateTokenWithLoginRequest.swift
[235/419] Compiling TMDb TMDbAuthenticationService.swift
[236/419] Compiling TMDb AuthenticateURLBuilder.swift
[237/419] Compiling TMDb CertificationService.swift
[238/419] Compiling TMDb MovieCertificationsRequest.swift
[239/419] Compiling TMDb TVSeriesCertificationsRequest.swift
[240/419] Compiling TMDb TMDbCertificationService.swift
[241/419] Compiling TMDb ChangesService+Conveniences.swift
[242/419] Compiling TMDb ChangesService+Pagination.swift
[243/419] Compiling TMDb ChangesService.swift
[244/419] Compiling TMDb TMDbChangesService.swift
[245/419] Compiling TMDb CollectionService.swift
[246/419] Compiling TMDb CollectionImagesRequest.swift
[247/419] Compiling TMDb CollectionRequest.swift
[248/419] Compiling TMDb CollectionTranslationsRequest.swift
[249/419] Compiling TMDb TMDbCollectionService.swift
[250/419] Compiling TMDb CompanyService.swift
[251/419] Compiling TMDb CompanyAlternativeNamesRequest.swift
[252/443] Compiling TMDb CompanyDetailsRequest.swift
[253/443] Compiling TMDb CompanyImagesRequest.swift
[254/443] Compiling TMDb TMDbCompanyService.swift
[255/443] Compiling TMDb ConfigurationService.swift
[256/443] Compiling TMDb APIConfigurationRequest.swift
[257/443] Compiling TMDb ConfigurationPrimaryTranslationsRequest.swift
[258/443] Compiling TMDb ConfigurationTimezonesRequest.swift
[259/443] Compiling TMDb CountriesConfigurationRequest.swift
[260/443] Compiling TMDb JobsConfigurationRequest.swift
[261/443] Compiling TMDb LanguaguesConfigurationRequest.swift
[262/443] Compiling TMDb TMDbConfigurationService.swift
[263/443] Compiling TMDb CreditService.swift
[264/443] Compiling TMDb CreditRequest.swift
[265/443] Compiling TMDb TMDbCreditService.swift
[266/443] Compiling TMDb DiscoverService+Conveniences.swift
[267/443] Compiling TMDb DiscoverService+Pagination.swift
[268/443] Compiling TMDb DiscoverService.swift
[269/443] Compiling TMDb DiscoverFilterJoin.swift
[270/443] Compiling TMDb DiscoverMovieFilter+Fluent.swift
[271/443] Compiling TMDb DiscoverMovieFilter.swift
[272/443] Compiling TMDb DiscoverTVSeriesFilter+Fluent.swift
[273/443] Compiling TMDb DiscoverTVSeriesFilter.swift
[274/443] Compiling TMDb DiscoverMoviesRequest.swift
[275/443] Compiling TMDb DiscoverTVSeriesRequest.swift
[276/467] Compiling TMDb MovieSort.swift
[277/467] Compiling TMDb TVSeriesSort.swift
[278/467] Compiling TMDb TMDbDiscoverService.swift
[279/467] Compiling TMDb FindService.swift
[280/467] Compiling TMDb FindByIDRequest.swift
[281/467] Compiling TMDb TMDbFindService.swift
[282/467] Compiling TMDb GenreService.swift
[283/467] Compiling TMDb MovieGenresRequest.swift
[284/467] Compiling TMDb TVSeriesGenresRequest.swift
[285/467] Compiling TMDb TMDbGenreService.swift
[286/467] Compiling TMDb GuestSessionService+Defaults.swift
[287/467] Compiling TMDb GuestSessionService+Pagination.swift
[288/467] Compiling TMDb GuestSessionService.swift
[289/467] Compiling TMDb GuestSessionRatedMoviesRequest.swift
[290/467] Compiling TMDb GuestSessionRatedTVEpisodesRequest.swift
[291/467] Compiling TMDb GuestSessionRatedTVSeriesRequest.swift
[292/467] Compiling TMDb TMDbGuestSessionService.swift
[293/467] Compiling TMDb APIConfigurationStore.swift
[294/467] Compiling TMDb ImageService+URLs.swift
[295/467] Compiling TMDb ImageService.swift
[296/467] Compiling TMDb ResumeOnce.swift
[297/467] Compiling TMDb TMDbImageService.swift
[298/467] Compiling TMDb KeywordService+Pagination.swift
[299/467] Compiling TMDb KeywordService.swift
[300/467] Compiling TMDb ReviewService.swift
[301/467] Compiling TMDb TMDbReviewService.swift
[302/467] Compiling TMDb AllMediaSearchFilter.swift
[303/467] Compiling TMDb MovieSearchFilter.swift
[304/467] Compiling TMDb PersonSearchFilter.swift
[305/467] Compiling TMDb TVSeriesSearchFilter.swift
[306/467] Compiling TMDb CollectionSearchRequest.swift
[307/467] Compiling TMDb CompanySearchRequest.swift
[308/467] Compiling TMDb KeywordSearchRequest.swift
[309/467] Compiling TMDb MovieSearchRequest.swift
[310/467] Compiling TMDb MultiSearchRequest.swift
[311/467] Compiling TMDb PersonSearchRequest.swift
[312/467] Compiling TMDb TVSeriesSearchRequest.swift
[313/467] Compiling TMDb SearchService+Conveniences.swift
[314/467] Compiling TMDb SearchService+Pagination.swift
[315/467] Compiling TMDb SearchService.swift
[316/467] Compiling TMDb TMDbSearchService.swift
[317/467] Compiling TMDb TVEpisodeGroupRequest.swift
[318/467] Compiling TMDb TMDbTVEpisodeGroupService.swift
[319/467] Compiling TMDb TVEpisodeGroupService.swift
[320/467] Compiling TMDb TVEpisodeImageFilter.swift
[321/467] Compiling TMDb TVEpisodeVideoFilter.swift
[322/467] Compiling TMDb TVEpisodeAccountStatesRequest.swift
[323/467] Compiling TMDb TVEpisodeAddRatingRequest.swift
[324/515] Compiling TMDb NetworkRequest.swift
[325/515] Compiling TMDb TMDbNetworkService.swift
[326/515] Compiling TMDb PersonService+Conveniences.swift
[327/515] Compiling TMDb PersonService+Defaults.swift
[328/515] Compiling TMDb PersonService+Pagination.swift
[329/515] Compiling TMDb PersonService.swift
[330/515] Compiling TMDb LatestPersonRequest.swift
[331/515] Compiling TMDb PersonChangesListRequest.swift
[332/515] Compiling TMDb PersonChangesRequest.swift
[333/515] Compiling TMDb PersonCombinedCreditsRequest.swift
[334/515] Compiling TMDb PersonDetailsAppendRequest.swift
[335/515] Compiling TMDb PersonExternalLinksRequest.swift
[336/515] Compiling TMDb PersonImagesRequest.swift
[337/515] Compiling TMDb PersonMovieCreditsRequest.swift
[338/515] Compiling TMDb PersonRequest.swift
[339/515] Compiling TMDb PersonTVSeriesCreditsRequest.swift
[340/515] Compiling TMDb PersonTaggedImagesRequest.swift
[341/515] Compiling TMDb PersonTranslationsRequest.swift
[342/515] Compiling TMDb PopularPeopleRequest.swift
[343/515] Compiling TMDb TMDbPersonService+Changes.swift
[344/515] Compiling TMDb TMDbPersonService+Media.swift
[345/515] Compiling TMDb TMDbPersonService+Translations.swift
[346/515] Compiling TMDb TMDbPersonService.swift
[347/515] Compiling TMDb ReviewRequest.swift
[348/539] Compiling TMDb MovieChangesListRequest.swift
[349/539] Compiling TMDb MovieChangesRequest.swift
[350/539] Compiling TMDb MovieCreditsRequest.swift
[351/539] Compiling TMDb MovieDetailsAppendRequest.swift
[352/539] Compiling TMDb MovieExternalLinksRequest.swift
[353/539] Compiling TMDb MovieImagesRequest.swift
[354/539] Compiling TMDb MovieKeywordsRequest.swift
[355/539] Compiling TMDb MovieListsRequest.swift
[356/539] Compiling TMDb MovieRecommendationsRequest.swift
[357/539] Compiling TMDb MovieReleaseDatesRequest.swift
[358/539] Compiling TMDb MovieRequest.swift
[359/539] Compiling TMDb MovieReviewsRequest.swift
[360/539] Compiling TMDb MovieTranslationsRequest.swift
[361/539] Compiling TMDb MovieVideosRequest.swift
[362/539] Compiling TMDb MovieWatchProvidersRequest.swift
[363/539] Compiling TMDb MoviesNowPlayingRequest.swift
[364/539] Compiling TMDb PopularMoviesRequest.swift
[365/539] Compiling TMDb SimilarMoviesRequest.swift
[366/539] Compiling TMDb TopRatedMoviesRequest.swift
[367/539] Compiling TMDb UpcomingMoviesRequest.swift
[368/539] Compiling TMDb TMDbMovieService.swift
[369/539] Compiling TMDb NetworkService.swift
[370/539] Compiling TMDb NetworkAlternativeNamesRequest.swift
[371/539] Compiling TMDb NetworkImagesRequest.swift
[372/539] Compiling TMDb TVEpisodeChangesRequest.swift
[373/539] Compiling TMDb TVEpisodeCreditsRequest.swift
[374/539] Compiling TMDb TVEpisodeDeleteRatingRequest.swift
[375/539] Compiling TMDb TVEpisodeDetailsAppendRequest.swift
[376/539] Compiling TMDb TVEpisodeExternalLinksRequest.swift
[377/539] Compiling TMDb TVEpisodeImagesRequest.swift
[378/539] Compiling TMDb TVEpisodeRequest.swift
[379/539] Compiling TMDb TVEpisodeTranslationsRequest.swift
[380/539] Compiling TMDb TVEpisodeVideosRequest.swift
[381/539] Compiling TMDb TMDbTVEpisodeService+Account.swift
[382/539] Compiling TMDb TMDbTVEpisodeService+Changes.swift
[383/539] Compiling TMDb TMDbTVEpisodeService+Metadata.swift
[384/539] Compiling TMDb TMDbTVEpisodeService.swift
[385/539] Compiling TMDb TVEpisodeService+Conveniences.swift
[386/539] Compiling TMDb TVEpisodeService.swift
[387/539] Compiling TMDb TVSeasonImageFilter.swift
[388/539] Compiling TMDb TVSeasonVideoFilter.swift
[389/539] Compiling TMDb TVSeasonAccountStatesRequest.swift
[390/539] Compiling TMDb TVSeasonAggregateCreditsRequest.swift
[391/539] Compiling TMDb TVSeasonChangesRequest.swift
[392/539] Compiling TMDb TVSeasonCreditsRequest.swift
[393/539] Compiling TMDb TVSeasonDetailsAppendRequest.swift
[394/539] Compiling TMDb TVSeasonExternalLinksRequest.swift
[395/539] Compiling TMDb TVSeasonImagesRequest.swift
[396/539] Compiling TMDb KeywordMoviesRequest.swift
[397/539] Compiling TMDb KeywordRequest.swift
[398/539] Compiling TMDb TMDbKeywordService.swift
[399/539] Compiling TMDb ListService+Pagination.swift
[400/539] Compiling TMDb ListService.swift
[401/539] Compiling TMDb AddMediaRequest.swift
[402/539] Compiling TMDb ClearListRequest.swift
[403/539] Compiling TMDb CreateListRequest.swift
[404/539] Compiling TMDb DeleteListRequest.swift
[405/539] Compiling TMDb ListItemStatusRequest.swift
[406/539] Compiling TMDb ListRequest.swift
[407/539] Compiling TMDb RemoveMediaRequest.swift
[408/539] Compiling TMDb TMDbListService.swift
[409/539] Compiling TMDb MovieImageFilter.swift
[410/539] Compiling TMDb MovieVideoFilter.swift
[411/539] Compiling TMDb MovieKeywordsResponse.swift
[412/539] Compiling TMDb MovieService+Conveniences.swift
[413/539] Compiling TMDb MovieService+Pagination.swift
[414/539] Compiling TMDb MovieService.swift
[415/539] Compiling TMDb AddMovieRatingRequest.swift
[416/539] Compiling TMDb DeleteMovieRatingRequest.swift
[417/539] Compiling TMDb LatestMovieRequest.swift
[418/539] Compiling TMDb MovieAccountStatesRequest.swift
[419/539] Compiling TMDb MovieAlternativeTitlesRequest.swift
[420/539] Compiling TMDb TVSeasonRequest.swift
[421/539] Compiling TMDb TVSeasonTranslationsRequest.swift
[422/539] Compiling TMDb TVSeasonVideosRequest.swift
[423/539] Compiling TMDb TVSeasonWatchProvidersRequest.swift
[424/539] Compiling TMDb TMDbTVSeasonService+Account.swift
[425/539] Compiling TMDb TMDbTVSeasonService+Changes.swift
[426/539] Compiling TMDb TMDbTVSeasonService+Metadata.swift
[427/539] Compiling TMDb TMDbTVSeasonService.swift
[428/539] Compiling TMDb TVSeasonService+Conveniences.swift
[429/539] Compiling TMDb TVSeasonService.swift
[430/539] Compiling TMDb TVSeriesImageFilter.swift
[431/539] Compiling TMDb TVSeriesVideoFilter.swift
[432/539] Compiling TMDb ContentRatingRequest.swift
[433/539] Compiling TMDb LatestTVSeriesRequest.swift
[434/539] Compiling TMDb PopularTVSeriesRequest.swift
[435/539] Compiling TMDb SimilarTVSeriesRequest.swift
[436/539] Compiling TMDb TVSeriesAccountStatesRequest.swift
[437/539] Compiling TMDb TVSeriesAddRatingRequest.swift
[438/539] Compiling TMDb TVSeriesAggregateCreditsRequest.swift
[439/539] Compiling TMDb TVSeriesAiringTodayRequest.swift
[440/539] Compiling TMDb TVSeriesAlternativeTitlesRequest.swift
[441/539] Compiling TMDb TVSeriesChangesListRequest.swift
[442/539] Compiling TMDb TVSeriesChangesRequest.swift
[443/539] Compiling TMDb TVSeriesCreditsRequest.swift
[444/539] Compiling TMDb StringCodingKey.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[445/539] Compiling TMDb URL+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[446/539] Compiling TMDb APICredential.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[447/539] Compiling TMDb CacheHTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[448/539] Compiling TMDb EndpointPathRedactor.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[449/539] Compiling TMDb Error+Cancellation.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[450/539] Compiling TMDb HTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[451/539] Compiling TMDb HTTPRequest+StateChanging.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[452/539] Compiling TMDb HTTPRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[453/539] Compiling TMDb HTTPResponse.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[454/539] Compiling TMDb NetworkErrorRedactor.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[455/539] Compiling TMDb RetryHTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[456/539] Compiling TMDb Serialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[457/539] Compiling TMDb TMDbAuthJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[458/539] Compiling TMDb TMDbJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[459/539] Compiling TMDb TMDbV4JSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[460/539] Compiling TMDb TMDbAPIClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[461/539] Compiling TMDb TMDbAPIError+HTTPStatusCode.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[462/539] Compiling TMDb TMDbAPIError.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[463/539] Compiling TMDb URLPathSegmentValidator.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[464/539] Compiling TMDb TMDbClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[465/539] Compiling TMDb TMDbConfiguration.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[466/539] Compiling TMDb TMDbFactory.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[467/539] Compiling TMDb TMDbServiceDependencies.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:115:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
113 |     }
114 |
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:117:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         let configuration = URLSessionConfiguration.default
119 |         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:131:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
133 |         }
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:118:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
116 |
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
120 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:119:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
117 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
118 |         let configuration = URLSessionConfiguration.default
119 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
120 |         configuration.timeoutIntervalForRequest = 30
121 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:132:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     #if !canImport(FoundationNetworking)
131 |         private static func urlCache() -> URLCache {
132 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |         }
134 |     #endif
[468/539] Compiling TMDb V4AccountListsRequest.swift
[469/539] Compiling TMDb V4AuthorizationHeaders.swift
[470/539] Compiling TMDb V4ListItemStatusRequest.swift
[471/539] Compiling TMDb V4ListRequest.swift
[472/539] Compiling TMDb TMDbV4ListService.swift
[473/539] Compiling TMDb V4ListService+Conveniences.swift
[474/539] Compiling TMDb V4ListService.swift
[475/539] Compiling TMDb WatchProviderFilter.swift
[476/539] Compiling TMDb WatchProviderRegionsRequest.swift
[477/539] Compiling TMDb WatchProvidersForMoviesRequest.swift
[478/539] Compiling TMDb WatchProvidersForTVSeriesRequest.swift
[479/539] Compiling TMDb TMDbWatchProviderService.swift
[480/539] Compiling TMDb WatchProviderService+Conveniences.swift
[481/539] Compiling TMDb WatchProviderService.swift
[482/539] Compiling TMDb DateFormatter+TMDb.swift
[483/539] Compiling TMDb Double+Rating.swift
[484/539] Compiling TMDb JSONDecoder+TMDb.swift
[485/539] Compiling TMDb JSONEncoder+TMDb.swift
[486/539] Compiling TMDb KeyedDecodingContainer+MediaType.swift
[487/539] Compiling TMDb KeyedDecodingContainer+Nested.swift
[488/539] Compiling TMDb KeyedDecodingContainer+NonEmpty.swift
[489/539] Compiling TMDb Sequence+Uniqued.swift
[490/539] Compiling TMDb String+URLPathSegment.swift
[491/539] Compiling TMDb String+Validation.swift
[492/539] Compiling TMDb TVSeriesService.swift
[493/539] Compiling TMDb TrendingTimeWindowFilterType.swift
[494/539] Compiling TMDb TrendingAllRequest.swift
[495/539] Compiling TMDb TrendingMoviesRequest.swift
[496/539] Compiling TMDb TrendingPeopleRequest.swift
[497/539] Compiling TMDb TrendingTVSeriesRequest.swift
[498/539] Compiling TMDb TMDbTrendingService.swift
[499/539] Compiling TMDb TrendingService+Conveniences.swift
[500/539] Compiling TMDb TrendingService+Pagination.swift
[501/539] Compiling TMDb TrendingService.swift
[502/539] Compiling TMDb CreateV4AccessTokenRequest.swift
[503/539] Compiling TMDb CreateV4RequestTokenRequest.swift
[504/539] Compiling TMDb DeleteV4AccessTokenRequest.swift
[505/539] Compiling TMDb TMDbV4AuthenticationService.swift
[506/539] Compiling TMDb V4AuthenticateURLBuilder.swift
[507/539] Compiling TMDb V4AuthenticateURLBuilding.swift
[508/539] Compiling TMDb V4AuthenticationService.swift
[509/539] Compiling TMDb AddV4ListItemsRequest.swift
[510/539] Compiling TMDb ClearV4ListRequest.swift
[511/539] Compiling TMDb CreateV4ListRequest.swift
[512/539] Compiling TMDb DeleteV4ListRequest.swift
[513/539] Compiling TMDb RemoveV4ListItemsRequest.swift
[514/539] Compiling TMDb UpdateV4ListItemsRequest.swift
[515/539] Compiling TMDb UpdateV4ListRequest.swift
[516/539] Compiling TMDb TVSeriesDeleteRatingRequest.swift
[517/539] Compiling TMDb TVSeriesDetailsAppendRequest.swift
[518/539] Compiling TMDb TVSeriesEpisodeGroupsRequest.swift
[519/539] Compiling TMDb TVSeriesExternalLinksRequest.swift
[520/539] Compiling TMDb TVSeriesImagesRequest.swift
[521/539] Compiling TMDb TVSeriesKeywordsRequest.swift
[522/539] Compiling TMDb TVSeriesListsRequest.swift
[523/539] Compiling TMDb TVSeriesOnTheAirRequest.swift
[524/539] Compiling TMDb TVSeriesRecommendationsRequest.swift
[525/539] Compiling TMDb TVSeriesRequest.swift
[526/539] Compiling TMDb TVSeriesReviewsRequest.swift
[527/539] Compiling TMDb TVSeriesScreenedTheatricallyRequest.swift
[528/539] Compiling TMDb TVSeriesTranslationsRequest.swift
[529/539] Compiling TMDb TVSeriesVideosRequest.swift
[530/539] Compiling TMDb TVSeriesWatchProvidersRequest.swift
[531/539] Compiling TMDb TopRatedTVSeriesRequest.swift
[532/539] Compiling TMDb TMDbTVSeriesService+Account.swift
[533/539] Compiling TMDb TMDbTVSeriesService+Changes.swift
[534/539] Compiling TMDb TMDbTVSeriesService+Lists.swift
[535/539] Compiling TMDb TMDbTVSeriesService+Media.swift
[536/539] Compiling TMDb TMDbTVSeriesService+Metadata.swift
[537/539] Compiling TMDb TMDbTVSeriesService.swift
[538/539] Compiling TMDb TVSeriesService+Conveniences.swift
[539/539] Compiling TMDb TVSeriesService+Pagination.swift
BUILD FAILURE 6.1 wasm