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