The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TMDb, reference 13.3.0 (edbaef), with Swift 6.1 for Wasm on 30 May 2025 04:07:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[17/163] Compiling TMDb Certifications.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[18/163] Compiling TMDb Company.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[19/163] Compiling TMDb ContentRating.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[20/163] Compiling TMDb ContentRatingResult.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[21/163] Compiling TMDb Country.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[22/163] Compiling TMDb Credential.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[23/163] Compiling TMDb CrewJob.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
[24/163] Compiling TMDb CrewMember.swift
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:38:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |
 37 |         let data: Data
 38 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
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:40:36: error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                    `- error: cannot assign value of type 'HTTPResponse' to type '(Data, URLResponse)' (aka '(Data, AnyObject)')
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:40:50: error: missing argument label 'request:' in call
 38 |         let response: URLResponse
 39 |         do {
 40 |             (data, response) = try await perform(urlRequest)
    |                                                  `- error: missing argument label 'request:' in call
 41 |         } catch let error {
 42 |             throw error
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:54:26: error: cannot find 'URLRequest' in scope
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
    |                          `- error: cannot find 'URLRequest' in scope
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
 56 |         urlRequest.httpBody = httpRequest.body
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:46: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
    |                                              `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:65:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |
 64 |     private static func httpResponse(from data: Data, response: URLResponse) -> HTTPResponse {
 65 |         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.
 66 |             return HTTPResponse(statusCode: -1, data: nil)
 67 |         }
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:69:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |         }
 68 |
 69 |         let statusCode = httpURLResponse.statusCode
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         return HTTPResponse(statusCode: statusCode, data: data)
 71 |     }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:99:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
 99 |             try await urlSession.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
100 |         }
101 |     #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/186] Compiling TMDb MovieCreditsRequest.swift
[26/186] Compiling TMDb MovieExternalLinksRequest.swift
[27/186] Compiling TMDb MovieImagesRequest.swift
[28/186] Compiling TMDb MovieRecommendationsRequest.swift
[29/186] Compiling TMDb MovieRequest.swift
[30/186] Compiling TMDb MovieReviewsRequest.swift
[31/186] Compiling TMDb MovieVideosRequest.swift
[32/186] Compiling TMDb MovieWatchProvidersRequest.swift
[33/186] Compiling TMDb MoviesNowPlayingRequest.swift
[34/186] Compiling TMDb PopularMoviesRequest.swift
[35/186] Compiling TMDb SimilarMoviesRequest.swift
[36/186] Compiling TMDb TopRatedMoviesRequest.swift
[37/186] Compiling TMDb UpcomingMoviesRequest.swift
[38/186] Compiling TMDb TMDbMovieService.swift
[39/186] Compiling TMDb PersonService.swift
[40/186] Compiling TMDb PersonCombinedCreditsRequest.swift
[41/186] Compiling TMDb PersonExternalLinksRequest.swift
[42/186] Compiling TMDb PersonImagesRequest.swift
[43/186] Compiling TMDb PersonMovieCreditsRequest.swift
[44/186] Compiling TMDb PersonRequest.swift
[45/186] Compiling TMDb PersonTVSeriesCreditsRequest.swift
[46/186] Compiling TMDb PopularPeopleRequest.swift
[47/186] Compiling TMDb TMDbPersonService.swift
[48/186] Emitting module TMDb
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:28:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     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:30:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let urlSession: URLSession
 29 |
 30 |     init(urlSession: URLSession) {
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         self.urlSession = urlSession
 32 |     }
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:28:17: error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 26 | final class URLSessionHTTPClientAdapter: HTTPClient {
 27 |
 28 |     private let urlSession: URLSession
    |                 `- error: stored property 'urlSession' of 'Sendable'-conforming class 'URLSessionHTTPClientAdapter' has non-sendable type 'URLSession' (aka 'AnyObject')
 29 |
 30 |     init(urlSession: URLSession) {
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:53:70: error: cannot find type 'URLRequest' in scope
 51 | extension URLSessionHTTPClientAdapter {
 52 |
 53 |     private static func urlRequest(from httpRequest: HTTPRequest) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
 54 |         var urlRequest = URLRequest(url: httpRequest.url)
 55 |         urlRequest.httpMethod = httpRequest.method.rawValue
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:64:65: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |     }
 63 |
 64 |     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.
 65 |         guard let httpURLResponse = response as? HTTPURLResponse else {
 66 |             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:98:44: error: cannot find type 'URLRequest' in scope
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
/host/spi-builder-workspace/Sources/TMDb/Adapters/URLSessionHTTPClientAdapter.swift:98:79: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |         }
 97 |     #else
 98 |         private func perform(_ urlRequest: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 99 |             try await urlSession.data(for: urlRequest)
100 |         }
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:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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
[49/186] Compiling TMDb AddFavouriteRequest.swift
[50/186] Compiling TMDb AddToWatchlistRequest.swift
[51/186] Compiling TMDb FavouriteMoviesRequest.swift
[52/186] Compiling TMDb FavouriteTVSeriesRequest.swift
[53/186] Compiling TMDb MovieWatchlistRequest.swift
[54/186] Compiling TMDb TVSeriesWatchlistRequest.swift
[55/186] Compiling TMDb FavouriteSort.swift
[56/186] Compiling TMDb WatchlistSort.swift
[57/186] Compiling TMDb TMDbAccountService.swift
[58/186] Compiling TMDb AuthenticateURLBuilding.swift
[59/186] Compiling TMDb AuthenticationService.swift
[60/186] Compiling TMDb CreateGuestSessionRequest.swift
[61/186] Compiling TMDb CreateRequestTokenRequest.swift
[62/186] Compiling TMDb CreateSessionRequest.swift
[63/186] Compiling TMDb DeleteSessionRequest.swift
[64/186] Compiling TMDb ValidateKeyRequest.swift
[65/186] Compiling TMDb ValidateTokenWithLoginRequest.swift
[66/186] Compiling TMDb TMDbAuthenticationService.swift
[67/186] Compiling TMDb AuthenticateURLBuilder.swift
[68/186] Compiling TMDb CertificationService.swift
[69/186] Compiling TMDb MovieCertificationsRequest.swift
[70/186] Compiling TMDb TVSeriesCertificationsRequest.swift
[71/186] Compiling TMDb TMDbCertificationService.swift
[72/232] Compiling TMDb TrendingService.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[73/232] Compiling TMDb WatchProviderFilter.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[74/232] Compiling TMDb WatchProviderRegionsRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[75/232] Compiling TMDb WatchProvidersForMoviesRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[76/232] Compiling TMDb WatchProvidersForTVSeriesRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[77/232] Compiling TMDb TMDbWatchProviderService.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[78/232] Compiling TMDb WatchProviderService.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[79/232] Compiling TMDb DateFormatter+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[80/232] Compiling TMDb JSONDecoder+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[81/232] Compiling TMDb JSONEncoder+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[82/232] Compiling TMDb Sequence+Uniqued.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[83/232] Compiling TMDb URL+TMDb.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[84/232] Compiling TMDb HTTPClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[85/232] Compiling TMDb HTTPRequest.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[86/232] Compiling TMDb HTTPResponse.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[87/232] Compiling TMDb Serialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[88/232] Compiling TMDb TMDbAuthJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[89/232] Compiling TMDb TMDbJSONSerialiser.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[90/232] Compiling TMDb TMDbAPIClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[91/232] Compiling TMDb TMDbAPIError+HTTPStatusCode.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[92/232] Compiling TMDb TMDbAPIError.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[93/232] Compiling TMDb TMDBClient.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[94/232] Compiling TMDb TMDbFactory.swift
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:68:37: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |     }
 67 |
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
    |                                     `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:70:54: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |     private static let urlSession = URLSession(configuration: urlSessionConfiguration())
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
    |                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         let configuration = URLSessionConfiguration.default
 72 |         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:84:43: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
    |                                           `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
 86 |         }
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:71:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 69 |
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
 73 |         configuration.timeoutIntervalForRequest = 30
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:72:45: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 70 |     private static func urlSessionConfiguration() -> URLSessionConfiguration {
 71 |         let configuration = URLSessionConfiguration.default
 72 |         configuration.requestCachePolicy = .useProtocolCachePolicy
    |                                             `- error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
 73 |         configuration.timeoutIntervalForRequest = 30
 74 |
/host/spi-builder-workspace/Sources/TMDb/TMDbFactory.swift:85:13: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |     #if !canImport(FoundationNetworking)
 84 |         private static func urlCache() -> URLCache {
 85 |             URLCache(memoryCapacity: 50_000_000, diskCapacity: 1_000_000_000)
    |             `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |         }
 87 |     #endif
[95/232] Compiling TMDb AllMediaSearchFilter.swift
[96/232] Compiling TMDb MovieSearchFilter.swift
[97/232] Compiling TMDb PersonSearchFilter.swift
[98/232] Compiling TMDb TVSeriesSearchFilter.swift
[99/232] Compiling TMDb MovieSearchRequest.swift
[100/232] Compiling TMDb MultiSearchRequest.swift
[101/232] Compiling TMDb PersonSearchRequest.swift
[102/232] Compiling TMDb TVSeriesSearchRequest.swift
[103/232] Compiling TMDb SearchService.swift
[104/232] Compiling TMDb TMDbSearchService.swift
[105/232] Compiling TMDb TVEpisodeImageFilter.swift
[106/232] Compiling TMDb TVEpisodeVideoFilter.swift
[107/232] Compiling TMDb TVEpisodeImagesRequest.swift
[108/232] Compiling TMDb TVEpisodeRequest.swift
[109/232] Compiling TMDb TVEpisodeVideosRequest.swift
[110/232] Compiling TMDb TMDbTVEpisodeService.swift
[111/232] Compiling TMDb TVEpisodeService.swift
[112/232] Compiling TMDb TVSeasonImageFilter.swift
[113/232] Compiling TMDb TVSeasonVideoFilter.swift
[114/232] Compiling TMDb TVSeasonAggregateCreditsRequest.swift
[115/232] Compiling TMDb TVSeasonImagesRequest.swift
[116/232] Compiling TMDb TVSeasonRequest.swift
[117/232] Compiling TMDb TVSeasonVideosRequest.swift
[118/232] Compiling TMDb PersonCombinedCredits.swift
[119/232] Compiling TMDb PersonExternalLinksCollection.swift
[120/232] Compiling TMDb PersonImageCollection.swift
[121/232] Compiling TMDb PersonListItem.swift
[122/232] Compiling TMDb PersonMovieCredits.swift
[123/232] Compiling TMDb PersonPageableList.swift
[124/232] Compiling TMDb PersonTVSeriesCredits.swift
[125/232] Compiling TMDb ProductionCompany.swift
[126/232] Compiling TMDb ProductionCountry.swift
[127/232] Compiling TMDb Review.swift
[128/232] Compiling TMDb ReviewPageableList.swift
[129/232] Compiling TMDb Session.swift
[130/232] Compiling TMDb Show.swift
[131/232] Compiling TMDb ShowCredits.swift
[132/232] Compiling TMDb ShowType.swift
[133/232] Compiling TMDb ShowWatchProvider.swift
[134/232] Compiling TMDb ShowWatchProviderResult.swift
[135/232] Compiling TMDb SpokenLanguage.swift
[136/232] Compiling TMDb Status.swift
[137/232] Compiling TMDb SuccessResult.swift
[138/232] Compiling TMDb TMDbError+TMDbAPIError.swift
[139/232] Compiling TMDb TMDbError.swift
[140/232] Compiling TMDb TMDbStatusResponse.swift
[141/232] Compiling TMDb CompanyService.swift
[142/232] Compiling TMDb CompanyDetailsRequest.swift
[143/232] Compiling TMDb TMDbCompanyService.swift
[144/232] Compiling TMDb ConfigurationService.swift
[145/232] Compiling TMDb APIConfigurationRequest.swift
[146/232] Compiling TMDb CountriesConfigurationRequest.swift
[147/232] Compiling TMDb JobsConfigurationRequest.swift
[148/232] Compiling TMDb LanguaguesConfigurationRequest.swift
[149/232] Compiling TMDb TMDbConfigurationService.swift
[150/232] Compiling TMDb DiscoverService.swift
[151/232] Compiling TMDb DiscoverMovieFilter.swift
[152/232] Compiling TMDb DiscoverMoviesRequest.swift
[153/232] Compiling TMDb DiscoverTVSeriesRequest.swift
[154/232] Compiling TMDb MovieSort.swift
[155/232] Compiling TMDb TVSeriesSort.swift
[156/232] Compiling TMDb TMDbDiscoverService.swift
[157/232] Compiling TMDb GenreService.swift
[158/232] Compiling TMDb MovieGenresRequest.swift
[159/232] Compiling TMDb TVSeriesGenresRequest.swift
[160/232] Compiling TMDb TMDbGenreService.swift
[161/232] Compiling TMDb MovieImageFilter.swift
[162/232] Compiling TMDb MovieVideoFilter.swift
[163/232] Compiling TMDb MovieService.swift
[164/232] Compiling TMDb TVEpisode.swift
[165/232] Compiling TMDb TVEpisodeImageCollection.swift
[166/232] Compiling TMDb TVSeason.swift
[167/232] Compiling TMDb TVSeasonAggregateCredits.swift
[168/232] Compiling TMDb TVSeasonImageCollection.swift
[169/232] Compiling TMDb TVSeries.swift
[170/232] Compiling TMDb TVSeriesAggregateCredits.swift
[171/232] Compiling TMDb TVSeriesExternalLinksCollection.swift
[172/232] Compiling TMDb TVSeriesListItem.swift
[173/232] Compiling TMDb TVSeriesPageableList.swift
[174/232] Compiling TMDb TikTokLink.swift
[175/232] Compiling TMDb Token.swift
[176/232] Compiling TMDb TwitterLink.swift
[177/232] Compiling TMDb VideoCollection.swift
[178/232] Compiling TMDb VideoMetadata.swift
[179/232] Compiling TMDb VideoSize.swift
[180/232] Compiling TMDb VideoType.swift
[181/232] Compiling TMDb WatchProvider.swift
[182/232] Compiling TMDb WatchProviderRegions.swift
[183/232] Compiling TMDb WatchProviderResult.swift
[184/232] Compiling TMDb WikiDataLink.swift
[185/232] Compiling TMDb AccountService.swift
[186/232] Compiling TMDb AccountRequest.swift
[187/232] Compiling TMDb Department.swift
[188/232] Compiling TMDb ExternalLink.swift
[189/232] Compiling TMDb FacebookLink.swift
[190/232] Compiling TMDb Gender.swift
[191/232] Compiling TMDb Genre.swift
[192/232] Compiling TMDb GenreList.swift
[193/232] Compiling TMDb GuestSession.swift
[194/232] Compiling TMDb IMDbLink.swift
[195/232] Compiling TMDb ImageCollection.swift
[196/232] Compiling TMDb ImageMetadata.swift
[197/232] Compiling TMDb ImagesConfiguration+URLs.swift
[198/232] Compiling TMDb ImagesConfiguration.swift
[199/232] Compiling TMDb InstagramLink.swift
[200/232] Compiling TMDb Language.swift
[201/232] Compiling TMDb Media.swift
[202/232] Compiling TMDb MediaPageableList.swift
[203/232] Compiling TMDb Movie.swift
[204/232] Compiling TMDb MovieExternalLinksCollection.swift
[205/232] Compiling TMDb MovieListItem.swift
[206/232] Compiling TMDb MoviePageableList.swift
[207/232] Compiling TMDb Network.swift
[208/232] Compiling TMDb PageableListResult.swift
[209/232] Compiling TMDb Person.swift
[210/232] Compiling TMDb TMDbTVSeasonService.swift
[211/232] Compiling TMDb TVSeasonService.swift
[212/232] Compiling TMDb TVSeriesImageFilter.swift
[213/232] Compiling TMDb TVSeriesVideoFilter.swift
[214/232] Compiling TMDb ContentRatingRequest.swift
[215/232] Compiling TMDb PopularTVSeriesRequest.swift
[216/232] Compiling TMDb SimilarTVSeriesRequest.swift
[217/232] Compiling TMDb TVSeriesAggregateCreditsRequest.swift
[218/232] Compiling TMDb TVSeriesCreditsRequest.swift
[219/232] Compiling TMDb TVSeriesExternalLinksRequest.swift
[220/232] Compiling TMDb TVSeriesImagesRequest.swift
[221/232] Compiling TMDb TVSeriesRecommendationsRequest.swift
[222/232] Compiling TMDb TVSeriesRequest.swift
[223/232] Compiling TMDb TVSeriesReviewsRequest.swift
[224/232] Compiling TMDb TVSeriesVideosRequest.swift
[225/232] Compiling TMDb TVSeriesWatchProvidersRequest.swift
[226/232] Compiling TMDb TMDbTVSeriesService.swift
[227/232] Compiling TMDb TVSeriesService.swift
[228/232] Compiling TMDb TrendingTimeWindowFilterType.swift
[229/232] Compiling TMDb TrendingMoviesRequest.swift
[230/232] Compiling TMDb TrendingPeopleRequest.swift
[231/232] Compiling TMDb TrendingTVSeriesRequest.swift
[232/232] Compiling TMDb TMDbTrendingService.swift
BUILD FAILURE 6.1 wasm