The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

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