The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TMDb, reference main (f8fd06), with Swift 6.1 for Wasm on 27 Apr 2026 05:09:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

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