Build Information
Failed to build TMDb, reference main (f8fd06), with Swift 6.3 for Wasm on 27 Apr 2026 05:08:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
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 '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 '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
[72/253] 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 '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 '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
[73/253] 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 '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 '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
[74/253] 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 '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 '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
[75/253] 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 '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 '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
[76/253] 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 '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 '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
[77/253] 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 '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 '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
[78/253] 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 '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 '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
[79/253] Compiling TMDb MovieAppendOption.swift
[80/253] Compiling TMDb MovieCastCredit.swift
[81/253] Compiling TMDb MovieCrewCredit.swift
[82/253] Compiling TMDb MovieDetailsResponse.swift
[83/253] Compiling TMDb MovieExternalLinksCollection.swift
[84/253] Compiling TMDb MovieListItem.swift
[85/253] Compiling TMDb MoviePageableList.swift
[86/253] Compiling TMDb MovieReleaseDatesByCountry.swift
[87/253] Compiling TMDb MovieReleaseDatesResult.swift
[88/253] Compiling TMDb MovieReleaseType.swift
[89/253] Compiling TMDb Network.swift
[90/253] Compiling TMDb NetworkAlternativeName.swift
[91/253] Compiling TMDb NetworkLogo.swift
[92/253] Compiling TMDb PageableListResult.swift
[93/253] Compiling TMDb PagedAsyncSequence.swift
[94/253] Compiling TMDb PagedPagesAsyncSequence.swift
[95/253] Compiling TMDb Person.swift
[96/253] Compiling TMDb PersonAppendOption.swift
[97/253] Compiling TMDb PersonCombinedCredits.swift
[98/253] Compiling TMDb PersonDetailsResponse.swift
[99/253] Compiling TMDb PersonExternalLinksCollection.swift
[100/253] Compiling TMDb PersonImageCollection.swift
[101/253] Compiling TMDb PersonListItem.swift
[102/253] Compiling TMDb PersonMovieCredits.swift
[103/253] Compiling TMDb PersonPageableList.swift
[104/253] Compiling TMDb TMDbError.swift
[105/253] Compiling TMDb TMDbStatusResponse.swift
[106/253] Compiling TMDb TVEpisode.swift
[107/253] Compiling TMDb TVEpisodeAirDate.swift
[108/253] Compiling TMDb TVEpisodeAppendOption.swift
[109/253] Compiling TMDb TVEpisodeDetailsResponse.swift
[110/253] Compiling TMDb TVEpisodeExternalLinksCollection.swift
[111/253] Compiling TMDb TVEpisodeGroup.swift
[112/253] Compiling TMDb TVEpisodeGroupCollection.swift
[113/253] Compiling TMDb TVEpisodeImageCollection.swift
[114/253] Compiling TMDb TVEpisodePageableList.swift
[115/253] Compiling TMDb TVSeason.swift
[116/253] Compiling TMDb TVSeasonAggregateCredits.swift
[117/253] Compiling TMDb TVSeasonAppendOption.swift
[118/253] Compiling TMDb TVSeasonDetailsResponse.swift
[119/253] Compiling TMDb TVSeasonExternalLinksCollection.swift
[120/253] Compiling TMDb TVSeasonImageCollection.swift
[121/253] Compiling TMDb TVSeries.swift
[122/253] Compiling TMDb TVSeriesAggregateCredits.swift
[123/253] Compiling TMDb TVSeriesAppendOption.swift
[124/253] Compiling TMDb TVSeriesCastCredit.swift
[125/253] Compiling TMDb TVSeriesCrewCredit.swift
[126/253] Compiling TMDb TVSeriesDetailsResponse.swift
[127/253] Compiling TMDb TVSeriesExternalLinksCollection.swift
[128/253] Compiling TMDb TVSeriesListItem.swift
[129/253] Compiling TMDb ExternalSource.swift
[130/253] Compiling TMDb FacebookLink.swift
[131/253] Compiling TMDb FindResults.swift
[132/253] Compiling TMDb Gender.swift
[133/253] Compiling TMDb Genre.swift
[134/253] Compiling TMDb GenreList.swift
[135/253] Compiling TMDb GuestSession.swift
[136/253] Compiling TMDb IMDbLink.swift
[137/253] Compiling TMDb ImageCollection.swift
[138/253] Compiling TMDb ImageMetadata.swift
[139/253] Compiling TMDb ImagesConfiguration+URLs.swift
[140/253] Compiling TMDb ImagesConfiguration.swift
[141/253] Compiling TMDb InstagramLink.swift
[142/253] Compiling TMDb Keyword.swift
[143/253] Compiling TMDb KeywordCollection.swift
[144/253] Compiling TMDb KeywordPageableList.swift
[145/253] Compiling TMDb Language.swift
[146/253] Compiling TMDb Media.swift
[147/253] Compiling TMDb MediaList.swift
[148/253] Compiling TMDb MediaListItem.swift
[149/253] Compiling TMDb MediaListItemStatus.swift
[150/253] Compiling TMDb MediaListSummary.swift
[151/253] Compiling TMDb MediaListSummaryPageableList.swift
[152/253] Compiling TMDb MediaPageableList.swift
[153/253] Compiling TMDb Movie.swift
[154/253] Compiling TMDb CollectionListItem.swift
[155/253] Compiling TMDb CollectionPageableList.swift
[156/253] Compiling TMDb CollectionTranslation.swift
[157/253] Compiling TMDb CollectionTranslationData.swift
[158/253] Compiling TMDb Company.swift
[159/253] Compiling TMDb CompanyAlternativeName.swift
[160/253] Compiling TMDb CompanyAlternativeNameCollection.swift
[161/253] Compiling TMDb CompanyImageCollection.swift
[162/253] Compiling TMDb CompanyPageableList.swift
[163/253] Compiling TMDb ContentRating.swift
[164/253] Compiling TMDb ContentRatingResult.swift
[165/253] Compiling TMDb Country.swift
[166/253] Compiling TMDb CreateListResult.swift
[167/253] Compiling TMDb Creator.swift
[168/253] Compiling TMDb Credential.swift
[169/253] Compiling TMDb Credit.swift
[170/253] Compiling TMDb CreditMedia.swift
[171/253] Compiling TMDb CreditMovie.swift
[172/253] Compiling TMDb CreditPerson.swift
[173/253] Compiling TMDb CreditTVSeries.swift
[174/253] Compiling TMDb CreditType.swift
[175/253] Compiling TMDb CrewJob.swift
[176/253] Compiling TMDb CrewMember.swift
[177/253] Compiling TMDb Department.swift
[178/253] Compiling TMDb ExternalLink.swift
[179/377] Compiling TMDb AccountRequest.swift
[180/377] Compiling TMDb AddFavouriteRequest.swift
[181/377] Compiling TMDb AddToWatchlistRequest.swift
[182/377] Compiling TMDb FavouriteMoviesRequest.swift
[183/377] Compiling TMDb FavouriteTVSeriesRequest.swift
[184/377] Compiling TMDb MovieWatchlistRequest.swift
[185/377] Compiling TMDb RatedMoviesRequest.swift
[186/377] Compiling TMDb RatedTVEpisodesRequest.swift
[187/377] Compiling TMDb RatedTVSeriesRequest.swift
[188/377] Compiling TMDb TVSeriesWatchlistRequest.swift
[189/377] Compiling TMDb FavouriteSort.swift
[190/377] Compiling TMDb RatedSort.swift
[191/377] Compiling TMDb WatchlistSort.swift
[192/377] Compiling TMDb TMDbAccountService.swift
[193/377] Compiling TMDb AuthenticateURLBuilding.swift
[194/377] Compiling TMDb AuthenticationService.swift
[195/377] Compiling TMDb CreateGuestSessionRequest.swift
[196/377] Compiling TMDb CreateRequestTokenRequest.swift
[197/377] Compiling TMDb CreateSessionFromV4AccessTokenRequest.swift
[198/377] Compiling TMDb CreateSessionRequest.swift
[199/377] Compiling TMDb DeleteSessionRequest.swift
[200/377] Compiling TMDb ValidateKeyRequest.swift
[201/377] Compiling TMDb ValidateTokenWithLoginRequest.swift
[202/377] Compiling TMDb TMDbAuthenticationService.swift
[203/377] Compiling TMDb AuthenticateURLBuilder.swift
[204/377] Compiling TMDb CreditRequest.swift
[205/377] Compiling TMDb TMDbCreditService.swift
[206/377] Compiling TMDb DiscoverService+Pagination.swift
[207/377] Compiling TMDb DiscoverService.swift
[208/377] Compiling TMDb DiscoverMovieFilter.swift
[209/377] Compiling TMDb DiscoverTVSeriesFilter.swift
[210/377] Compiling TMDb DiscoverMoviesRequest.swift
[211/377] Compiling TMDb DiscoverTVSeriesRequest.swift
[212/377] Compiling TMDb MovieSort.swift
[213/377] Compiling TMDb TVSeriesSort.swift
[214/377] Compiling TMDb TMDbDiscoverService.swift
[215/377] Compiling TMDb FindService.swift
[216/377] Compiling TMDb FindByIDRequest.swift
[217/377] Compiling TMDb TMDbFindService.swift
[218/377] Compiling TMDb GenreService.swift
[219/377] Compiling TMDb MovieGenresRequest.swift
[220/377] Compiling TMDb TVSeriesGenresRequest.swift
[221/377] Compiling TMDb TMDbGenreService.swift
[222/377] Compiling TMDb GuestSessionService+Defaults.swift
[223/377] Compiling TMDb GuestSessionService.swift
[224/377] Compiling TMDb GuestSessionRatedMoviesRequest.swift
[225/377] Compiling TMDb GuestSessionRatedTVEpisodesRequest.swift
[226/377] Compiling TMDb GuestSessionRatedTVSeriesRequest.swift
[227/377] Compiling TMDb TMDbGuestSessionService.swift
[228/377] Compiling TMDb KeywordService.swift
[229/377] Compiling TMDb CertificationService.swift
[230/377] Compiling TMDb MovieCertificationsRequest.swift
[231/377] Compiling TMDb TVSeriesCertificationsRequest.swift
[232/377] Compiling TMDb TMDbCertificationService.swift
[233/377] Compiling TMDb ChangesService.swift
[234/377] Compiling TMDb TMDbChangesService.swift
[235/377] Compiling TMDb CollectionService.swift
[236/377] Compiling TMDb CollectionImagesRequest.swift
[237/377] Compiling TMDb CollectionRequest.swift
[238/377] Compiling TMDb CollectionTranslationsRequest.swift
[239/377] Compiling TMDb TMDbCollectionService.swift
[240/377] Compiling TMDb CompanyService.swift
[241/377] Compiling TMDb CompanyAlternativeNamesRequest.swift
[242/377] Compiling TMDb CompanyDetailsRequest.swift
[243/377] Compiling TMDb CompanyImagesRequest.swift
[244/377] Compiling TMDb TMDbCompanyService.swift
[245/377] Compiling TMDb ConfigurationService.swift
[246/377] Compiling TMDb APIConfigurationRequest.swift
[247/377] Compiling TMDb ConfigurationPrimaryTranslationsRequest.swift
[248/377] Compiling TMDb ConfigurationTimezonesRequest.swift
[249/377] Compiling TMDb CountriesConfigurationRequest.swift
[250/377] Compiling TMDb JobsConfigurationRequest.swift
[251/377] Compiling TMDb LanguaguesConfigurationRequest.swift
[252/377] Compiling TMDb TMDbConfigurationService.swift
[253/377] Compiling TMDb CreditService.swift
[254/377] Compiling TMDb TVSeriesSearchFilter.swift
[255/377] Compiling TMDb CollectionSearchRequest.swift
[256/377] Compiling TMDb CompanySearchRequest.swift
[257/377] Compiling TMDb KeywordSearchRequest.swift
[258/377] Compiling TMDb MovieSearchRequest.swift
[259/377] Compiling TMDb MultiSearchRequest.swift
[260/377] Compiling TMDb PersonSearchRequest.swift
[261/377] Compiling TMDb TVSeriesSearchRequest.swift
[262/377] Compiling TMDb SearchService+Pagination.swift
[263/377] Compiling TMDb SearchService.swift
[264/377] Compiling TMDb TMDbSearchService.swift
[265/377] Compiling TMDb TVEpisodeGroupRequest.swift
[266/377] Compiling TMDb TMDbTVEpisodeGroupService.swift
[267/377] Compiling TMDb TVEpisodeGroupService.swift
[268/377] Compiling TMDb TVEpisodeImageFilter.swift
[269/377] Compiling TMDb TVEpisodeVideoFilter.swift
[270/377] Compiling TMDb TVEpisodeAccountStatesRequest.swift
[271/377] Compiling TMDb TVEpisodeAddRatingRequest.swift
[272/377] Compiling TMDb TVEpisodeChangesRequest.swift
[273/377] Compiling TMDb TVEpisodeCreditsRequest.swift
[274/377] Compiling TMDb TVEpisodeDeleteRatingRequest.swift
[275/377] Compiling TMDb TVEpisodeDetailsAppendRequest.swift
[276/377] Compiling TMDb TVEpisodeExternalLinksRequest.swift
[277/377] Compiling TMDb TVEpisodeImagesRequest.swift
[278/377] Compiling TMDb TVEpisodeRequest.swift
[279/377] Compiling TMDb TVEpisodeTranslationsRequest.swift
[280/377] Compiling TMDb TVEpisodeVideosRequest.swift
[281/377] Compiling TMDb TMDbTVEpisodeService+Account.swift
[282/377] Compiling TMDb TMDbTVEpisodeService+Changes.swift
[283/377] Compiling TMDb TMDbTVEpisodeService+Metadata.swift
[284/377] Compiling TMDb TMDbTVEpisodeService.swift
[285/377] Compiling TMDb TVEpisodeService.swift
[286/377] Compiling TMDb TVSeasonImageFilter.swift
[287/377] Compiling TMDb TVSeasonVideoFilter.swift
[288/377] Compiling TMDb TVSeasonAccountStatesRequest.swift
[289/377] Compiling TMDb TVSeasonAggregateCreditsRequest.swift
[290/377] Compiling TMDb TVSeasonChangesRequest.swift
[291/377] Compiling TMDb TVSeasonCreditsRequest.swift
[292/377] Compiling TMDb TVSeasonDetailsAppendRequest.swift
[293/377] Compiling TMDb TVSeasonExternalLinksRequest.swift
[294/377] Compiling TMDb TVSeasonImagesRequest.swift
[295/377] Compiling TMDb TVSeasonRequest.swift
[296/377] Compiling TMDb TVSeasonTranslationsRequest.swift
[297/377] Compiling TMDb TVSeasonVideosRequest.swift
[298/377] Compiling TMDb TVSeasonWatchProvidersRequest.swift
[299/377] Compiling TMDb TMDbTVSeasonService+Account.swift
[300/377] Compiling TMDb TMDbTVSeasonService+Changes.swift
[301/377] Compiling TMDb TMDbTVSeasonService+Metadata.swift
[302/377] Compiling TMDb TMDbTVSeasonService.swift
[303/377] Compiling TMDb PersonService+Pagination.swift
[304/377] Compiling TMDb PersonService.swift
[305/377] Compiling TMDb LatestPersonRequest.swift
[306/377] Compiling TMDb PersonChangesListRequest.swift
[307/377] Compiling TMDb PersonChangesRequest.swift
[308/377] Compiling TMDb PersonCombinedCreditsRequest.swift
[309/377] Compiling TMDb PersonDetailsAppendRequest.swift
[310/377] Compiling TMDb PersonExternalLinksRequest.swift
[311/377] Compiling TMDb PersonImagesRequest.swift
[312/377] Compiling TMDb PersonMovieCreditsRequest.swift
[313/377] Compiling TMDb PersonRequest.swift
[314/377] Compiling TMDb PersonTVSeriesCreditsRequest.swift
[315/377] Compiling TMDb PersonTaggedImagesRequest.swift
[316/377] Compiling TMDb PersonTranslationsRequest.swift
[317/377] Compiling TMDb PopularPeopleRequest.swift
[318/377] Compiling TMDb TMDbPersonService+Changes.swift
[319/377] Compiling TMDb TMDbPersonService+Media.swift
[320/377] Compiling TMDb TMDbPersonService+Translations.swift
[321/377] Compiling TMDb TMDbPersonService.swift
[322/377] Compiling TMDb ReviewRequest.swift
[323/377] Compiling TMDb ReviewService.swift
[324/377] Compiling TMDb TMDbReviewService.swift
[325/377] Compiling TMDb AllMediaSearchFilter.swift
[326/377] Compiling TMDb MovieSearchFilter.swift
[327/377] Compiling TMDb PersonSearchFilter.swift
[328/377] Compiling TMDb KeywordMoviesRequest.swift
[329/377] Compiling TMDb KeywordRequest.swift
[330/377] Compiling TMDb TMDbKeywordService.swift
[331/377] Compiling TMDb ListService+Pagination.swift
[332/377] Compiling TMDb ListService.swift
[333/377] Compiling TMDb AddMediaRequest.swift
[334/377] Compiling TMDb ClearListRequest.swift
[335/377] Compiling TMDb CreateListRequest.swift
[336/377] Compiling TMDb DeleteListRequest.swift
[337/377] Compiling TMDb ListItemStatusRequest.swift
[338/377] Compiling TMDb ListRequest.swift
[339/377] Compiling TMDb RemoveMediaRequest.swift
[340/377] Compiling TMDb TMDbListService.swift
[341/377] Compiling TMDb MovieImageFilter.swift
[342/377] Compiling TMDb MovieVideoFilter.swift
[343/377] Compiling TMDb MovieKeywordsResponse.swift
[344/377] Compiling TMDb MovieService+Pagination.swift
[345/377] Compiling TMDb MovieService.swift
[346/377] Compiling TMDb AddMovieRatingRequest.swift
[347/377] Compiling TMDb DeleteMovieRatingRequest.swift
[348/377] Compiling TMDb LatestMovieRequest.swift
[349/377] Compiling TMDb MovieAccountStatesRequest.swift
[350/377] Compiling TMDb MovieAlternativeTitlesRequest.swift
[351/377] Compiling TMDb MovieChangesListRequest.swift
[352/377] Compiling TMDb MovieChangesRequest.swift
[353/401] Compiling TMDb MovieCreditsRequest.swift
[354/401] Compiling TMDb MovieDetailsAppendRequest.swift
[355/401] Compiling TMDb MovieExternalLinksRequest.swift
[356/401] Compiling TMDb MovieImagesRequest.swift
[357/401] Compiling TMDb MovieKeywordsRequest.swift
[358/401] Compiling TMDb MovieListsRequest.swift
[359/401] Compiling TMDb MovieRecommendationsRequest.swift
[360/401] Compiling TMDb MovieReleaseDatesRequest.swift
[361/401] Compiling TMDb MovieRequest.swift
[362/401] Compiling TMDb MovieReviewsRequest.swift
[363/401] Compiling TMDb MovieTranslationsRequest.swift
[364/401] Compiling TMDb MovieVideosRequest.swift
[365/401] Compiling TMDb MovieWatchProvidersRequest.swift
[366/401] Compiling TMDb MoviesNowPlayingRequest.swift
[367/401] Compiling TMDb PopularMoviesRequest.swift
[368/401] Compiling TMDb SimilarMoviesRequest.swift
[369/401] Compiling TMDb TopRatedMoviesRequest.swift
[370/401] Compiling TMDb UpcomingMoviesRequest.swift
[371/401] Compiling TMDb TMDbMovieService.swift
[372/401] Compiling TMDb NetworkService.swift
[373/401] Compiling TMDb NetworkAlternativeNamesRequest.swift
[374/401] Compiling TMDb NetworkImagesRequest.swift
[375/401] Compiling TMDb NetworkRequest.swift
[376/401] Compiling TMDb TMDbNetworkService.swift
[377/401] Compiling TMDb PersonService+Defaults.swift
[378/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
[379/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
[380/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
[381/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
[382/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
[383/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
[384/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
[385/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
[386/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
[387/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
[388/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
[389/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
[390/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
[391/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
[392/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
[393/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
[394/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
[395/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
[396/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
[397/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
[398/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
[399/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
[400/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
[401/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
[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.3 wasm