Build Information
Failed to build JellyfinAPI, reference 0.6.0 (e7bb3b), with Swift 6.1 for Linux on 24 Oct 2025 00:27:34 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/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
38 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:35:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
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/JellyfinClient.swift:35:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:58:26: error: cannot find type 'URLSessionDelegate' in scope
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
58 | sessionDelegate: URLSessionDelegate? = nil
| `- error: cannot find type 'URLSessionDelegate' in scope
59 | ) {
60 | self.configuration = configuration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:57:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
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/JellyfinClient.swift:57:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:160:19: error: cannot find type 'URLSessionDataDelegate' in scope
158 | public func data(
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
161 | configure: ((inout URLRequest) throws -> Void)? = nil
162 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:161:28: error: cannot find type 'URLRequest' in scope
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
161 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
162 | ) async throws -> Response<Data> {
163 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | public func download(
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:169:28: error: cannot find type 'URLRequest' in scope
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
169 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:176:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
174 | public func download(
175 | resumeFrom resumeData: Data,
176 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:66:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
64 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
65 | configuration.delegate = passthroughDelegate
66 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
67 | configuration.sessionDelegate = sessionDelegate
68 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:171:30: error: value of type 'APIClient' has no member 'download'
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
172 | }
173 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:178:30: error: value of type 'APIClient' has no member 'download'
176 | delegate: URLSessionDownloadDelegate? = nil
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
179 | }
180 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/OpenISO8601Formatter.swift:12:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
10 |
11 | // https://stackoverflow.com/a/50281094/976628
12 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | static let withoutSeconds: DateFormatter = {
14 | let formatter = DateFormatter()
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:19:73: error: cannot find type 'URLRequest' in scope
17 | var actualDelegate: APIClientDelegate?
18 |
19 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
20 |
21 | // Inject required headers
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:29:69: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
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/PassthroughAPIClientDelegate.swift:29:104: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:39:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
41 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:31:36: error: no exact matches in call to instance method 'client'
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:33:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 | throw APIError.unacceptableStatusCode(response.statusCode)
35 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:34:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
34 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 | }
36 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:40:67: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
41 | }
42 |
[285/438] Compiling JellyfinAPI CompleteWizardAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | private var _apiClient: APIClient!
25 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private var passthroughDelegate: PassthroughAPIClientDelegate
27 |
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/JellyfinClient.swift:36:26: error: cannot find type 'URLSessionDelegate' in scope
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
36 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
37 | delegate: APIClientDelegate? = nil,
38 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:35:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
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/JellyfinClient.swift:35:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:58:26: error: cannot find type 'URLSessionDelegate' in scope
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
58 | sessionDelegate: URLSessionDelegate? = nil
| `- error: cannot find type 'URLSessionDelegate' in scope
59 | ) {
60 | self.configuration = configuration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:57:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
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/JellyfinClient.swift:57:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:160:19: error: cannot find type 'URLSessionDataDelegate' in scope
158 | public func data(
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
161 | configure: ((inout URLRequest) throws -> Void)? = nil
162 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:161:28: error: cannot find type 'URLRequest' in scope
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
161 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
162 | ) async throws -> Response<Data> {
163 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | public func download(
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:169:28: error: cannot find type 'URLRequest' in scope
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
169 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:176:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
174 | public func download(
175 | resumeFrom resumeData: Data,
176 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:66:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
64 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
65 | configuration.delegate = passthroughDelegate
66 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
67 | configuration.sessionDelegate = sessionDelegate
68 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:171:30: error: value of type 'APIClient' has no member 'download'
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
172 | }
173 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:178:30: error: value of type 'APIClient' has no member 'download'
176 | delegate: URLSessionDownloadDelegate? = nil
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
179 | }
180 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/OpenISO8601Formatter.swift:12:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
10 |
11 | // https://stackoverflow.com/a/50281094/976628
12 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | static let withoutSeconds: DateFormatter = {
14 | let formatter = DateFormatter()
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:19:73: error: cannot find type 'URLRequest' in scope
17 | var actualDelegate: APIClientDelegate?
18 |
19 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
20 |
21 | // Inject required headers
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:29:69: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
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/PassthroughAPIClientDelegate.swift:29:104: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:39:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
41 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:31:36: error: no exact matches in call to instance method 'client'
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:33:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 | throw APIError.unacceptableStatusCode(response.statusCode)
35 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:34:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
34 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 | }
36 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:40:67: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
41 | }
42 |
[286/438] Compiling JellyfinAPI ConnectAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | private var _apiClient: APIClient!
25 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private var passthroughDelegate: PassthroughAPIClientDelegate
27 |
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/JellyfinClient.swift:36:26: error: cannot find type 'URLSessionDelegate' in scope
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
36 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
37 | delegate: APIClientDelegate? = nil,
38 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:35:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
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/JellyfinClient.swift:35:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:58:26: error: cannot find type 'URLSessionDelegate' in scope
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
58 | sessionDelegate: URLSessionDelegate? = nil
| `- error: cannot find type 'URLSessionDelegate' in scope
59 | ) {
60 | self.configuration = configuration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:57:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
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/JellyfinClient.swift:57:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:160:19: error: cannot find type 'URLSessionDataDelegate' in scope
158 | public func data(
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
161 | configure: ((inout URLRequest) throws -> Void)? = nil
162 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:161:28: error: cannot find type 'URLRequest' in scope
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
161 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
162 | ) async throws -> Response<Data> {
163 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | public func download(
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:169:28: error: cannot find type 'URLRequest' in scope
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
169 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:176:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
174 | public func download(
175 | resumeFrom resumeData: Data,
176 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:66:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
64 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
65 | configuration.delegate = passthroughDelegate
66 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
67 | configuration.sessionDelegate = sessionDelegate
68 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:171:30: error: value of type 'APIClient' has no member 'download'
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
172 | }
173 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:178:30: error: value of type 'APIClient' has no member 'download'
176 | delegate: URLSessionDownloadDelegate? = nil
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
179 | }
180 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/OpenISO8601Formatter.swift:12:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
10 |
11 | // https://stackoverflow.com/a/50281094/976628
12 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | static let withoutSeconds: DateFormatter = {
14 | let formatter = DateFormatter()
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:19:73: error: cannot find type 'URLRequest' in scope
17 | var actualDelegate: APIClientDelegate?
18 |
19 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
20 |
21 | // Inject required headers
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:29:69: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
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/PassthroughAPIClientDelegate.swift:29:104: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:39:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
41 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:31:36: error: no exact matches in call to instance method 'client'
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:33:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 | throw APIError.unacceptableStatusCode(response.statusCode)
35 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:34:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
34 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 | }
36 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:40:67: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
41 | }
42 |
[287/438] Compiling JellyfinAPI CreateAdminNotificationAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | private var _apiClient: APIClient!
25 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private var passthroughDelegate: PassthroughAPIClientDelegate
27 |
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/JellyfinClient.swift:36:26: error: cannot find type 'URLSessionDelegate' in scope
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
36 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
37 | delegate: APIClientDelegate? = nil,
38 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:35:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
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/JellyfinClient.swift:35:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:58:26: error: cannot find type 'URLSessionDelegate' in scope
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
58 | sessionDelegate: URLSessionDelegate? = nil
| `- error: cannot find type 'URLSessionDelegate' in scope
59 | ) {
60 | self.configuration = configuration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:57:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
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/JellyfinClient.swift:57:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:160:19: error: cannot find type 'URLSessionDataDelegate' in scope
158 | public func data(
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
161 | configure: ((inout URLRequest) throws -> Void)? = nil
162 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:161:28: error: cannot find type 'URLRequest' in scope
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
161 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
162 | ) async throws -> Response<Data> {
163 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | public func download(
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:169:28: error: cannot find type 'URLRequest' in scope
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
169 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:176:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
174 | public func download(
175 | resumeFrom resumeData: Data,
176 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:66:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
64 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
65 | configuration.delegate = passthroughDelegate
66 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
67 | configuration.sessionDelegate = sessionDelegate
68 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:171:30: error: value of type 'APIClient' has no member 'download'
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
172 | }
173 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:178:30: error: value of type 'APIClient' has no member 'download'
176 | delegate: URLSessionDownloadDelegate? = nil
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
179 | }
180 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/OpenISO8601Formatter.swift:12:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
10 |
11 | // https://stackoverflow.com/a/50281094/976628
12 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | static let withoutSeconds: DateFormatter = {
14 | let formatter = DateFormatter()
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:19:73: error: cannot find type 'URLRequest' in scope
17 | var actualDelegate: APIClientDelegate?
18 |
19 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
20 |
21 | // Inject required headers
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:29:69: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
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/PassthroughAPIClientDelegate.swift:29:104: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:39:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
41 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:31:36: error: no exact matches in call to instance method 'client'
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:33:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 | throw APIError.unacceptableStatusCode(response.statusCode)
35 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:34:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
34 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 | }
36 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:40:67: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
41 | }
42 |
[288/438] Compiling JellyfinAPI CreateBackupAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:25:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 | private var _apiClient: APIClient!
25 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | private var passthroughDelegate: PassthroughAPIClientDelegate
27 |
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/JellyfinClient.swift:36:26: error: cannot find type 'URLSessionDelegate' in scope
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
36 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
37 | delegate: APIClientDelegate? = nil,
38 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:35:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
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/JellyfinClient.swift:35:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | public convenience init(
34 | configuration: Configuration,
35 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
36 | sessionDelegate: URLSessionDelegate? = nil,
37 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:58:26: error: cannot find type 'URLSessionDelegate' in scope
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
58 | sessionDelegate: URLSessionDelegate? = nil
| `- error: cannot find type 'URLSessionDelegate' in scope
59 | ) {
60 | self.configuration = configuration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:57:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
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/JellyfinClient.swift:57:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
55 | configuration: Configuration,
56 | delegate: APIClientDelegate? = nil,
57 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
58 | sessionDelegate: URLSessionDelegate? = nil
59 | ) {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:160:19: error: cannot find type 'URLSessionDataDelegate' in scope
158 | public func data(
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
161 | configure: ((inout URLRequest) throws -> Void)? = nil
162 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:161:28: error: cannot find type 'URLRequest' in scope
159 | for request: Request<some Any>,
160 | delegate: URLSessionDataDelegate? = nil,
161 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
162 | ) async throws -> Response<Data> {
163 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | public func download(
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:169:28: error: cannot find type 'URLRequest' in scope
167 | for request: Request<some Any>,
168 | delegate: URLSessionDownloadDelegate? = nil,
169 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:176:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
174 | public func download(
175 | resumeFrom resumeData: Data,
176 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:66:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
64 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
65 | configuration.delegate = passthroughDelegate
66 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
67 | configuration.sessionDelegate = sessionDelegate
68 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:171:30: error: value of type 'APIClient' has no member 'download'
169 | configure: ((inout URLRequest) throws -> Void)? = nil
170 | ) async throws -> Response<URL> {
171 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
172 | }
173 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:178:30: error: value of type 'APIClient' has no member 'download'
176 | delegate: URLSessionDownloadDelegate? = nil
177 | ) async throws -> Response<URL> {
178 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
179 | }
180 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
197 | func signIn(username: String, password: String) async throws -> AuthenticationResult {
198 | let request = Paths.authenticateUserByName(.init(pw: password, username: username))
199 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
200 |
201 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no 'async' operations occur within 'await' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
220 | func signIn(quickConnectSecret: String) async throws -> AuthenticationResult {
221 | let request = Paths.authenticateWithQuickConnect(.init(secret: quickConnectSecret))
222 | let response = try await send(request).value
| `- warning: no calls to throwing functions occur within 'try' expression
223 |
224 | if let accessToken = response.accessToken {
/host/spi-builder-workspace/Sources/OpenISO8601Formatter.swift:12:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
10 |
11 | // https://stackoverflow.com/a/50281094/976628
12 | public class OpenISO8601DateFormatter: DateFormatter {
| `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | static let withoutSeconds: DateFormatter = {
14 | let formatter = DateFormatter()
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:19:73: error: cannot find type 'URLRequest' in scope
17 | var actualDelegate: APIClientDelegate?
18 |
19 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
20 |
21 | // Inject required headers
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:29:69: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
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/PassthroughAPIClientDelegate.swift:29:104: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | }
28 |
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:39:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | }
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
41 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:31:36: error: no exact matches in call to instance method 'client'
29 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
30 | if let actualDelegate {
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
31 | /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
32 | /// the `200..<300` range.
33 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
:
87 | }
88 |
89 | func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| `- note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
90 | guard (200..<300).contains(response.statusCode) else {
91 | throw APIError.unacceptableStatusCode(response.statusCode)
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:33:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
31 | try actualDelegate.client(client, validateResponse: response, data: data, task: task)
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
34 | throw APIError.unacceptableStatusCode(response.statusCode)
35 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:34:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
32 | } else {
33 | guard (200 ..< 300).contains(response.statusCode) else {
34 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
35 | }
36 | }
/host/spi-builder-workspace/Sources/PassthroughAPIClientDelegate.swift:40:67: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
38 |
39 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
40 | try await actualDelegate?.client(client, shouldRetry: task, error: error, attempts: attempts) ?? false
| |- error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
| `- note: did you mean to use 'as!' to force downcast?
41 | }
42 |
[289/488] Compiling JellyfinAPI ProfileConditionType.swift
[290/488] Compiling JellyfinAPI ProfileConditionValue.swift
[291/488] Compiling JellyfinAPI ProgramAudio.swift
[292/488] Compiling JellyfinAPI PublicSystemInfo.swift
[293/488] Compiling JellyfinAPI QueryFilters.swift
[294/488] Compiling JellyfinAPI QueryFiltersLegacy.swift
[295/488] Compiling JellyfinAPI QueueItem.swift
[296/488] Compiling JellyfinAPI QueueRequestDto.swift
[297/488] Compiling JellyfinAPI QuickConnectDto.swift
[298/488] Compiling JellyfinAPI QuickConnectResult.swift
[299/488] Compiling JellyfinAPI RatingType.swift
[300/488] Compiling JellyfinAPI ReadyRequestDto.swift
[301/488] Compiling JellyfinAPI RecommendationDto.swift
[302/488] Compiling JellyfinAPI RecommendationType.swift
[303/488] Compiling JellyfinAPI RecordingStatus.swift
[304/488] Compiling JellyfinAPI RefreshProgressMessage.swift
[305/488] Compiling JellyfinAPI RemoteImageInfo.swift
[306/488] Compiling JellyfinAPI RemoteImageResult.swift
[307/488] Compiling JellyfinAPI RemoteLyricInfoDto.swift
[308/488] Compiling JellyfinAPI RemoteSearchResult.swift
[309/488] Compiling JellyfinAPI RemoteSubtitleInfo.swift
[310/488] Compiling JellyfinAPI RemoveFromPlaylistRequestDto.swift
[311/488] Compiling JellyfinAPI RepeatMode.swift
[312/488] Compiling JellyfinAPI RepositoryInfo.swift
[313/488] Compiling JellyfinAPI ResponseProfile.swift
[314/513] Compiling JellyfinAPI SessionMessageType.swift
[315/513] Compiling JellyfinAPI SessionUserInfo.swift
[316/513] Compiling JellyfinAPI SessionsMessage.swift
[317/513] Compiling JellyfinAPI SessionsStartMessage.swift
[318/513] Compiling JellyfinAPI SessionsStopMessage.swift
[319/513] Compiling JellyfinAPI SetChannelMappingDto.swift
[320/513] Compiling JellyfinAPI SetPlaylistItemRequestDto.swift
[321/513] Compiling JellyfinAPI SetRepeatModeRequestDto.swift
[322/513] Compiling JellyfinAPI SetShuffleModeRequestDto.swift
[323/513] Compiling JellyfinAPI SongInfo.swift
[324/513] Compiling JellyfinAPI SortOrder.swift
[325/513] Compiling JellyfinAPI SpecialFeatureType.swift
[326/513] Compiling JellyfinAPI SpecialViewOptionDto.swift
[327/513] Compiling JellyfinAPI StartupConfigurationDto.swift
[328/513] Compiling JellyfinAPI StartupRemoteAccessDto.swift
[329/513] Compiling JellyfinAPI StartupUserDto.swift
[330/513] Compiling JellyfinAPI StringGroupUpdate.swift
[331/513] Compiling JellyfinAPI SubtitleDeliveryMethod.swift
[332/513] Compiling JellyfinAPI SubtitleOptions.swift
[333/513] Compiling JellyfinAPI SubtitlePlaybackMode.swift
[334/513] Compiling JellyfinAPI SubtitleProfile.swift
[335/513] Compiling JellyfinAPI SyncPlayCommandMessage.swift
[336/513] Compiling JellyfinAPI SyncPlayGroupDoesNotExistUpdate.swift
[337/513] Compiling JellyfinAPI SyncPlayGroupJoinedUpdate.swift
[338/513] Compiling JellyfinAPI SyncPlayGroupLeftUpdate.swift
[339/538] Compiling JellyfinAPI GetBrandingCss2API.swift
[340/538] Compiling JellyfinAPI GetBrandingCssAPI.swift
[341/538] Compiling JellyfinAPI GetBrandingOptionsAPI.swift
[342/538] Compiling JellyfinAPI GetChannelAPI.swift
[343/538] Compiling JellyfinAPI GetChannelFeaturesAPI.swift
[344/538] Compiling JellyfinAPI GetChannelItemsAPI.swift
[345/538] Compiling JellyfinAPI GetChannelMappingOptionsAPI.swift
[346/538] Compiling JellyfinAPI GetChannelsAPI.swift
[347/538] Compiling JellyfinAPI GetConfigurationAPI.swift
[348/538] Compiling JellyfinAPI GetConfigurationPagesAPI.swift
[349/538] Compiling JellyfinAPI GetConnectionManager2API.swift
[350/538] Compiling JellyfinAPI GetConnectionManager3API.swift
[351/538] Compiling JellyfinAPI GetConnectionManagerAPI.swift
[352/538] Compiling JellyfinAPI GetContentDirectory2API.swift
[353/538] Compiling JellyfinAPI GetContentDirectory3API.swift
[354/538] Compiling JellyfinAPI GetContentDirectoryAPI.swift
[355/538] Compiling JellyfinAPI GetCountriesAPI.swift
[356/538] Compiling JellyfinAPI GetCriticReviewsAPI.swift
[357/538] Compiling JellyfinAPI GetCulturesAPI.swift
[358/538] Compiling JellyfinAPI GetCurrentUserAPI.swift
[359/538] Compiling JellyfinAPI GetDashboardConfigurationPageAPI.swift
[360/538] Compiling JellyfinAPI GetDefaultDirectoryBrowserAPI.swift
[361/538] Compiling JellyfinAPI GetDefaultListingProviderAPI.swift
[362/538] Compiling JellyfinAPI GetDefaultMetadataOptionsAPI.swift
[363/538] Compiling JellyfinAPI GetDefaultProfileAPI.swift
[364/538] Compiling JellyfinAPI CreateCollectionAPI.swift
[365/538] Compiling JellyfinAPI CreateKeyAPI.swift
[366/538] Compiling JellyfinAPI CreatePlaylistAPI.swift
[367/538] Compiling JellyfinAPI CreateProfileAPI.swift
[368/538] Compiling JellyfinAPI CreateSeriesTimerAPI.swift
[369/538] Compiling JellyfinAPI CreateTimerAPI.swift
[370/538] Compiling JellyfinAPI CreateUserByNameAPI.swift
[371/538] Compiling JellyfinAPI DeleteAlternateSourcesAPI.swift
[372/538] Compiling JellyfinAPI DeleteCustomSplashscreenAPI.swift
[373/538] Compiling JellyfinAPI DeleteDeviceAPI.swift
[374/538] Compiling JellyfinAPI DeleteItemAPI.swift
[375/538] Compiling JellyfinAPI DeleteItemImageAPI.swift
[376/538] Compiling JellyfinAPI DeleteItemImageByIndexAPI.swift
[377/538] Compiling JellyfinAPI DeleteItemsAPI.swift
[378/538] Compiling JellyfinAPI DeleteListingProviderAPI.swift
[379/538] Compiling JellyfinAPI DeleteLyricsAPI.swift
[380/538] Compiling JellyfinAPI DeleteProfileAPI.swift
[381/538] Compiling JellyfinAPI DeleteRecordingAPI.swift
[382/538] Compiling JellyfinAPI DeleteSubtitleAPI.swift
[383/538] Compiling JellyfinAPI DeleteTunerHostAPI.swift
[384/538] Compiling JellyfinAPI DeleteUserAPI.swift
[385/538] Compiling JellyfinAPI DeleteUserImageAPI.swift
[386/538] Compiling JellyfinAPI DeleteUserImageByIndexAPI.swift
[387/538] Compiling JellyfinAPI DeleteUserItemRatingAPI.swift
[388/538] Compiling JellyfinAPI DisablePluginAPI.swift
[389/588] Compiling JellyfinAPI SyncPlayGroupUpdateCommandMessage.swift
[390/588] Compiling JellyfinAPI SyncPlayGroupUpdateMessage.swift
[391/588] Compiling JellyfinAPI SyncPlayLibraryAccessDeniedUpdate.swift
[392/588] Compiling JellyfinAPI SyncPlayNotInGroupUpdate.swift
[393/588] Compiling JellyfinAPI SyncPlayPlayQueueUpdate.swift
[394/588] Compiling JellyfinAPI SyncPlayQueueItem.swift
[395/588] Compiling JellyfinAPI SyncPlayStateUpdate.swift
[396/588] Compiling JellyfinAPI SyncPlayUserAccessType.swift
[397/588] Compiling JellyfinAPI SyncPlayUserJoinedUpdate.swift
[398/588] Compiling JellyfinAPI SyncPlayUserLeftUpdate.swift
[399/588] Compiling JellyfinAPI SystemInfo.swift
[400/588] Compiling JellyfinAPI SystemStorageDto.swift
[401/588] Compiling JellyfinAPI TaskCompletionStatus.swift
[402/588] Compiling JellyfinAPI TaskInfo.swift
[403/588] Compiling JellyfinAPI TaskResult.swift
[404/588] Compiling JellyfinAPI TaskState.swift
[405/588] Compiling JellyfinAPI TaskTriggerInfo.swift
[406/588] Compiling JellyfinAPI TaskTriggerInfoType.swift
[407/588] Compiling JellyfinAPI TaskTriggerType.swift
[408/588] Compiling JellyfinAPI ThemeMediaResult.swift
[409/588] Compiling JellyfinAPI TimerCancelledMessage.swift
[410/588] Compiling JellyfinAPI TimerCreatedMessage.swift
[411/588] Compiling JellyfinAPI TimerEventInfo.swift
[412/588] Compiling JellyfinAPI TimerInfoDto.swift
[413/588] Compiling JellyfinAPI TimerInfoDtoQueryResult.swift
[414/588] Compiling JellyfinAPI UploadSubtitleDto.swift
[415/588] Compiling JellyfinAPI UserConfiguration.swift
[416/588] Compiling JellyfinAPI UserDataChangeInfo.swift
[417/588] Compiling JellyfinAPI UserDataChangedMessage.swift
[418/588] Compiling JellyfinAPI UserDeletedMessage.swift
[419/588] Compiling JellyfinAPI UserDto.swift
[420/588] Compiling JellyfinAPI UserItemDataDto.swift
[421/588] Compiling JellyfinAPI UserPolicy.swift
[422/588] Compiling JellyfinAPI UserUpdatedMessage.swift
[423/588] Compiling JellyfinAPI UtcTimeResponse.swift
[424/588] Compiling JellyfinAPI ValidatePathDto.swift
[425/588] Compiling JellyfinAPI VersionInfo.swift
[426/588] Compiling JellyfinAPI Video3DFormat.swift
[427/588] Compiling JellyfinAPI VideoRange.swift
[428/588] Compiling JellyfinAPI VideoRangeType.swift
[429/588] Compiling JellyfinAPI VideoType.swift
[430/588] Compiling JellyfinAPI VirtualFolderInfo.swift
[431/588] Compiling JellyfinAPI WakeOnLanInfo.swift
[432/588] Compiling JellyfinAPI WebSocketMessage.swift
[433/588] Compiling JellyfinAPI XbmcMetadataOptions.swift
[434/588] Compiling JellyfinAPI XmlAttribute.swift
[435/588] Compiling JellyfinAPI AnyJSON.swift
[436/588] Compiling JellyfinAPI JellyfinClient+Version.swift
[437/588] Compiling JellyfinAPI Paths.swift
[438/588] Compiling JellyfinAPI StringCodingKey.swift
[439/588] Compiling JellyfinAPI TonemappingAlgorithm.swift
[440/588] Compiling JellyfinAPI TonemappingMode.swift
[441/588] Compiling JellyfinAPI TonemappingRange.swift
[442/588] Compiling JellyfinAPI TrailerInfo.swift
[443/588] Compiling JellyfinAPI TrailerInfoRemoteSearchQuery.swift
[444/588] Compiling JellyfinAPI TranscodeReason.swift
[445/588] Compiling JellyfinAPI TranscodeSeekInfo.swift
[446/588] Compiling JellyfinAPI TranscodingInfo.swift
[447/588] Compiling JellyfinAPI TranscodingProfile.swift
[448/588] Compiling JellyfinAPI TransportStreamTimestamp.swift
[449/588] Compiling JellyfinAPI TrickplayInfo.swift
[450/588] Compiling JellyfinAPI TrickplayInfoDto.swift
[451/588] Compiling JellyfinAPI TrickplayOptions.swift
[452/588] Compiling JellyfinAPI TrickplayScanBehavior.swift
[453/588] Compiling JellyfinAPI TunerChannelMapping.swift
[454/588] Compiling JellyfinAPI TunerHostInfo.swift
[455/588] Compiling JellyfinAPI TypeOptions.swift
[456/588] Compiling JellyfinAPI UnratedItem.swift
[457/588] Compiling JellyfinAPI UpdateLibraryOptionsDto.swift
[458/588] Compiling JellyfinAPI UpdateMediaPathRequestDto.swift
[459/588] Compiling JellyfinAPI UpdatePlaylistDto.swift
[460/588] Compiling JellyfinAPI UpdatePlaylistUserDto.swift
[461/588] Compiling JellyfinAPI UpdateUserEasyPassword.swift
[462/588] Compiling JellyfinAPI UpdateUserItemDataDto.swift
[463/588] Compiling JellyfinAPI UpdateUserPassword.swift
[464/663] Compiling JellyfinAPI GetDefaultTimerAPI.swift
[465/663] Compiling JellyfinAPI GetDescriptionXml2API.swift
[466/663] Compiling JellyfinAPI GetDescriptionXmlAPI.swift
[467/663] Compiling JellyfinAPI GetDeviceInfoAPI.swift
[468/663] Compiling JellyfinAPI GetDeviceOptionsAPI.swift
[469/663] Compiling JellyfinAPI GetDevicesAPI.swift
[470/663] Compiling JellyfinAPI GetDirectoryContentsAPI.swift
[471/663] Compiling JellyfinAPI GetDisplayPreferencesAPI.swift
[472/663] Compiling JellyfinAPI GetDownloadAPI.swift
[473/663] Compiling JellyfinAPI GetDrivesAPI.swift
[474/663] Compiling JellyfinAPI GetEnabledAPI.swift
[475/663] Compiling JellyfinAPI GetEndpointInfoAPI.swift
[476/663] Compiling JellyfinAPI GetEpisodesAPI.swift
[477/663] Compiling JellyfinAPI GetExternalIDInfosAPI.swift
[478/663] Compiling JellyfinAPI GetFallbackFontAPI.swift
[479/663] Compiling JellyfinAPI GetFallbackFontListAPI.swift
[480/663] Compiling JellyfinAPI GetFileAPI.swift
[481/663] Compiling JellyfinAPI GetFirstUser2API.swift
[482/663] Compiling JellyfinAPI GetFirstUserAPI.swift
[483/663] Compiling JellyfinAPI GetGeneralImageAPI.swift
[484/663] Compiling JellyfinAPI GetGeneralImagesAPI.swift
[485/663] Compiling JellyfinAPI GetGenreAPI.swift
[486/663] Compiling JellyfinAPI GetGenreImageAPI.swift
[487/663] Compiling JellyfinAPI GetGenreImageByIndexAPI.swift
[488/663] Compiling JellyfinAPI GetGenresAPI.swift
[489/663] Compiling JellyfinAPI DiscoverTunersAPI.swift
[490/663] Compiling JellyfinAPI DiscvoverTunersAPI.swift
[491/663] Compiling JellyfinAPI DisplayContentAPI.swift
[492/663] Compiling JellyfinAPI DownloadRemoteImageAPI.swift
[493/663] Compiling JellyfinAPI DownloadRemoteLyricsAPI.swift
[494/663] Compiling JellyfinAPI DownloadRemoteSubtitlesAPI.swift
[495/663] Compiling JellyfinAPI EnablePluginAPI.swift
[496/663] Compiling JellyfinAPI ForgotPasswordAPI.swift
[497/663] Compiling JellyfinAPI ForgotPasswordPinAPI.swift
[498/663] Compiling JellyfinAPI GetAPI.swift
[499/663] Compiling JellyfinAPI GetAdditionalPartAPI.swift
[500/663] Compiling JellyfinAPI GetAlbumArtistsAPI.swift
[501/663] Compiling JellyfinAPI GetAllChannelFeaturesAPI.swift
[502/663] Compiling JellyfinAPI GetAncestorsAPI.swift
[503/663] Compiling JellyfinAPI GetArtistByNameAPI.swift
[504/663] Compiling JellyfinAPI GetArtistImageAPI.swift
[505/663] Compiling JellyfinAPI GetArtistsAPI.swift
[506/663] Compiling JellyfinAPI GetAttachmentAPI.swift
[507/663] Compiling JellyfinAPI GetAudioStreamAPI.swift
[508/663] Compiling JellyfinAPI GetAudioStreamByContainerAPI.swift
[509/663] Compiling JellyfinAPI GetAuthProvidersAPI.swift
[510/663] Compiling JellyfinAPI GetBackupAPI.swift
[511/663] Compiling JellyfinAPI GetBitrateTestBytesAPI.swift
[512/663] Compiling JellyfinAPI GetBookRemoteSearchResultsAPI.swift
[513/663] Compiling JellyfinAPI GetBoxSetRemoteSearchResultsAPI.swift
[514/712] Compiling JellyfinAPI RestartRequiredMessage.swift
[515/712] Compiling JellyfinAPI ScheduledTaskEndedMessage.swift
[516/712] Compiling JellyfinAPI ScheduledTasksInfoMessage.swift
[517/712] Compiling JellyfinAPI ScheduledTasksInfoStartMessage.swift
[518/712] Compiling JellyfinAPI ScheduledTasksInfoStopMessage.swift
[519/712] Compiling JellyfinAPI ScrollDirection.swift
[520/712] Compiling JellyfinAPI SearchHint.swift
[521/712] Compiling JellyfinAPI SearchHintResult.swift
[522/712] Compiling JellyfinAPI SeekRequestDto.swift
[523/712] Compiling JellyfinAPI SendCommand.swift
[524/712] Compiling JellyfinAPI SendCommandType.swift
[525/712] Compiling JellyfinAPI SendToUserType.swift
[526/712] Compiling JellyfinAPI SeriesInfo.swift
[527/712] Compiling JellyfinAPI SeriesInfoRemoteSearchQuery.swift
[528/712] Compiling JellyfinAPI SeriesStatus.swift
[529/712] Compiling JellyfinAPI SeriesTimerCancelledMessage.swift
[530/712] Compiling JellyfinAPI SeriesTimerCreatedMessage.swift
[531/712] Compiling JellyfinAPI SeriesTimerInfoDto.swift
[532/712] Compiling JellyfinAPI SeriesTimerInfoDtoQueryResult.swift
[533/712] Compiling JellyfinAPI ServerConfiguration.swift
[534/712] Compiling JellyfinAPI ServerDiscoveryInfo.swift
[535/712] Compiling JellyfinAPI ServerRestartingMessage.swift
[536/712] Compiling JellyfinAPI ServerShuttingDownMessage.swift
[537/712] Compiling JellyfinAPI SessionInfo.swift
[538/712] Compiling JellyfinAPI SessionInfoDto.swift
[539/736] Compiling JellyfinAPI GetQuickConnectEnabledAPI.swift
[540/736] Compiling JellyfinAPI GetQuickConnectStateAPI.swift
[541/736] Compiling JellyfinAPI GetRatingImageAPI.swift
[542/736] Compiling JellyfinAPI GetRatingImagesAPI.swift
[543/736] Compiling JellyfinAPI GetRecommendedProgramsAPI.swift
[544/736] Compiling JellyfinAPI GetRecordingAPI.swift
[545/736] Compiling JellyfinAPI GetRecordingFoldersAPI.swift
[546/736] Compiling JellyfinAPI GetRecordingGroupAPI.swift
[547/736] Compiling JellyfinAPI GetRecordingGroupsAPI.swift
[548/736] Compiling JellyfinAPI GetRecordingsAPI.swift
[549/736] Compiling JellyfinAPI GetRecordingsSeriesAPI.swift
[550/736] Compiling JellyfinAPI GetRemoteImageProvidersAPI.swift
[551/736] Compiling JellyfinAPI GetRemoteImagesAPI.swift
[552/736] Compiling JellyfinAPI GetRemoteLyricsAPI.swift
[553/736] Compiling JellyfinAPI GetRemoteSubtitlesAPI.swift
[554/736] Compiling JellyfinAPI GetRepositoriesAPI.swift
[555/736] Compiling JellyfinAPI GetResumeItemsAPI.swift
[556/736] Compiling JellyfinAPI GetRootFolderAPI.swift
[557/736] Compiling JellyfinAPI GetSchedulesDirectCountriesAPI.swift
[558/736] Compiling JellyfinAPI GetSearchHintsAPI.swift
[559/736] Compiling JellyfinAPI GetSeasonsAPI.swift
[560/736] Compiling JellyfinAPI GetSeriesRemoteSearchResultsAPI.swift
[561/736] Compiling JellyfinAPI GetSeriesTimerAPI.swift
[562/736] Compiling JellyfinAPI GetSeriesTimersAPI.swift
[563/736] Compiling JellyfinAPI GetServerLogsAPI.swift
[564/736] Compiling JellyfinAPI GetMediaReceiverRegistrar2API.swift
[565/736] Compiling JellyfinAPI GetMediaReceiverRegistrar3API.swift
[566/736] Compiling JellyfinAPI GetMediaReceiverRegistrarAPI.swift
[567/736] Compiling JellyfinAPI GetMetadataEditorInfoAPI.swift
[568/736] Compiling JellyfinAPI GetMovieRecommendationsAPI.swift
[569/736] Compiling JellyfinAPI GetMovieRemoteSearchResultsAPI.swift
[570/736] Compiling JellyfinAPI GetMusicAlbumRemoteSearchResultsAPI.swift
[571/736] Compiling JellyfinAPI GetMusicArtistRemoteSearchResultsAPI.swift
[572/736] Compiling JellyfinAPI GetMusicGenreAPI.swift
[573/736] Compiling JellyfinAPI GetMusicGenreImageAPI.swift
[574/736] Compiling JellyfinAPI GetMusicGenreImageByIndexAPI.swift
[575/736] Compiling JellyfinAPI GetMusicGenresAPI.swift
[576/736] Compiling JellyfinAPI GetMusicVideoRemoteSearchResultsAPI.swift
[577/736] Compiling JellyfinAPI GetNamedConfigurationAPI.swift
[578/736] Compiling JellyfinAPI GetNetworkSharesAPI.swift
[579/736] Compiling JellyfinAPI GetNextUpAPI.swift
[580/736] Compiling JellyfinAPI GetNotificationServicesAPI.swift
[581/736] Compiling JellyfinAPI GetNotificationTypesAPI.swift
[582/736] Compiling JellyfinAPI GetNotificationsAPI.swift
[583/736] Compiling JellyfinAPI GetNotificationsSummaryAPI.swift
[584/736] Compiling JellyfinAPI GetPackageInfoAPI.swift
[585/736] Compiling JellyfinAPI GetPackagesAPI.swift
[586/736] Compiling JellyfinAPI GetParentPathAPI.swift
[587/736] Compiling JellyfinAPI GetParentalRatingsAPI.swift
[588/736] Compiling JellyfinAPI GetPasswordResetProvidersAPI.swift
[589/736] Compiling JellyfinAPI GetPersonAPI.swift
[590/736] Compiling JellyfinAPI GetPersonImageAPI.swift
[591/736] Compiling JellyfinAPI GetPersonImageByIndexAPI.swift
[592/736] Compiling JellyfinAPI GetPersonRemoteSearchResultsAPI.swift
[593/736] Compiling JellyfinAPI GetPersonsAPI.swift
[594/736] Compiling JellyfinAPI GetPhysicalPathsAPI.swift
[595/736] Compiling JellyfinAPI GetPingSystemAPI.swift
[596/736] Compiling JellyfinAPI GetPlaybackInfoAPI.swift
[597/736] Compiling JellyfinAPI GetPlaylistAPI.swift
[598/736] Compiling JellyfinAPI GetPlaylistItemsAPI.swift
[599/736] Compiling JellyfinAPI GetPlaylistUserAPI.swift
[600/736] Compiling JellyfinAPI GetPlaylistUsersAPI.swift
[601/736] Compiling JellyfinAPI GetPluginConfigurationAPI.swift
[602/736] Compiling JellyfinAPI GetPluginImageAPI.swift
[603/736] Compiling JellyfinAPI GetPluginManifestAPI.swift
[604/736] Compiling JellyfinAPI GetPluginsAPI.swift
[605/736] Compiling JellyfinAPI GetPostedPlaybackInfoAPI.swift
[606/736] Compiling JellyfinAPI GetProfileAPI.swift
[607/736] Compiling JellyfinAPI GetProfileInfosAPI.swift
[608/736] Compiling JellyfinAPI GetProgramAPI.swift
[609/736] Compiling JellyfinAPI GetProgramsAPI.swift
[610/736] Compiling JellyfinAPI GetPublicSystemInfoAPI.swift
[611/736] Compiling JellyfinAPI GetPublicUsersAPI.swift
[612/736] Compiling JellyfinAPI GetQueryFiltersAPI.swift
[613/736] Compiling JellyfinAPI GetQueryFiltersLegacyAPI.swift
[614/760] Compiling JellyfinAPI GetGroupingOptionsAPI.swift
[615/760] Compiling JellyfinAPI GetGuideInfoAPI.swift
[616/760] Compiling JellyfinAPI GetHlsAudioSegmentAPI.swift
[617/760] Compiling JellyfinAPI GetHlsAudioSegmentLegacyAacAPI.swift
[618/760] Compiling JellyfinAPI GetHlsAudioSegmentLegacyMp3API.swift
[619/760] Compiling JellyfinAPI GetHlsPlaylistLegacyAPI.swift
[620/760] Compiling JellyfinAPI GetHlsVideoSegmentAPI.swift
[621/760] Compiling JellyfinAPI GetHlsVideoSegmentLegacyAPI.swift
[622/760] Compiling JellyfinAPI GetIconAPI.swift
[623/760] Compiling JellyfinAPI GetIconIDAPI.swift
[624/760] Compiling JellyfinAPI GetInstantMixFromAlbumAPI.swift
[625/760] Compiling JellyfinAPI GetInstantMixFromArtists2API.swift
[626/760] Compiling JellyfinAPI GetInstantMixFromArtistsAPI.swift
[627/760] Compiling JellyfinAPI GetInstantMixFromItemAPI.swift
[628/760] Compiling JellyfinAPI GetInstantMixFromMusicGenreByIDAPI.swift
[629/760] Compiling JellyfinAPI GetInstantMixFromMusicGenreByNameAPI.swift
[630/760] Compiling JellyfinAPI GetInstantMixFromPlaylistAPI.swift
[631/760] Compiling JellyfinAPI GetInstantMixFromSongAPI.swift
[632/760] Compiling JellyfinAPI GetIntrosAPI.swift
[633/760] Compiling JellyfinAPI GetItemAPI.swift
[634/760] Compiling JellyfinAPI GetItemCountsAPI.swift
[635/760] Compiling JellyfinAPI GetItemImage2API.swift
[636/760] Compiling JellyfinAPI GetItemImageAPI.swift
[637/760] Compiling JellyfinAPI GetItemImageByIndexAPI.swift
[638/760] Compiling JellyfinAPI GetItemImageInfosAPI.swift
[639/832] Compiling JellyfinAPI GetItemSegmentsAPI.swift
[640/832] Compiling JellyfinAPI GetItemUserDataAPI.swift
[641/832] Compiling JellyfinAPI GetItemsAPI.swift
[642/832] Compiling JellyfinAPI GetItemsByUserIDAPI.swift
[643/832] Compiling JellyfinAPI GetKeysAPI.swift
[644/832] Compiling JellyfinAPI GetLatestChannelItemsAPI.swift
[645/832] Compiling JellyfinAPI GetLatestMediaAPI.swift
[646/832] Compiling JellyfinAPI GetLibraryOptionsInfoAPI.swift
[647/832] Compiling JellyfinAPI GetLineupsAPI.swift
[648/832] Compiling JellyfinAPI GetLiveHlsStreamAPI.swift
[649/832] Compiling JellyfinAPI GetLiveRecordingFileAPI.swift
[650/832] Compiling JellyfinAPI GetLiveStreamFileAPI.swift
[651/832] Compiling JellyfinAPI GetLiveTvChannelsAPI.swift
[652/832] Compiling JellyfinAPI GetLiveTvInfoAPI.swift
[653/832] Compiling JellyfinAPI GetLiveTvProgramsAPI.swift
[654/832] Compiling JellyfinAPI GetLocalTrailersAPI.swift
[655/832] Compiling JellyfinAPI GetLocalizationOptionsAPI.swift
[656/832] Compiling JellyfinAPI GetLogEntriesAPI.swift
[657/832] Compiling JellyfinAPI GetLogFileAPI.swift
[658/832] Compiling JellyfinAPI GetLyricsAPI.swift
[659/832] Compiling JellyfinAPI GetMasterHlsAudioPlaylistAPI.swift
[660/832] Compiling JellyfinAPI GetMasterHlsVideoPlaylistAPI.swift
[661/832] Compiling JellyfinAPI GetMediaFoldersAPI.swift
[662/832] Compiling JellyfinAPI GetMediaInfoImageAPI.swift
[663/832] Compiling JellyfinAPI GetMediaInfoImagesAPI.swift
[664/856] Compiling JellyfinAPI UpdateItemUserDataAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[665/856] Compiling JellyfinAPI UpdateLibraryOptionsAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[666/856] Compiling JellyfinAPI UpdateMediaEncoderPathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[667/856] Compiling JellyfinAPI UpdateMediaPathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[668/856] Compiling JellyfinAPI UpdateNamedConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[669/856] Compiling JellyfinAPI UpdatePlaylistAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[670/856] Compiling JellyfinAPI UpdatePlaylistUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[671/856] Compiling JellyfinAPI UpdatePluginConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[672/856] Compiling JellyfinAPI UpdateProfileAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[673/856] Compiling JellyfinAPI UpdateSeriesTimerAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[674/856] Compiling JellyfinAPI UpdateStartupUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[675/856] Compiling JellyfinAPI UpdateTaskAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[676/856] Compiling JellyfinAPI UpdateTimerAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[677/856] Compiling JellyfinAPI UpdateUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[678/856] Compiling JellyfinAPI UpdateUserConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[679/856] Compiling JellyfinAPI UpdateUserEasyPasswordAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[680/856] Compiling JellyfinAPI UpdateUserItemRatingAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[681/856] Compiling JellyfinAPI UpdateUserPasswordAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[682/856] Compiling JellyfinAPI UpdateUserPolicyAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[683/856] Compiling JellyfinAPI UploadCustomSplashscreenAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[684/856] Compiling JellyfinAPI UploadLyricsAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[685/856] Compiling JellyfinAPI UploadSubtitleAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[686/856] Compiling JellyfinAPI ValidatePathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[687/856] Compiling JellyfinAPI QuickConnect.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
67 |
68 | /// The current state of the authorization flow.
69 | @Published
| `- error: unknown attribute 'Published'
70 | public private(set) var state: State = .idle
71 |
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
16 | ///
17 | /// To stop the authorization flow, typically for user cancellation, call `stop()`.
18 | public final class QuickConnect: ObservableObject {
| `- error: cannot find type 'ObservableObject' in scope
19 |
20 | // MARK: State
/host/spi-builder-workspace/Sources/JellyfinClient.swift:143:19: error: cannot find type 'URLSessionDataDelegate' in scope
141 | public func send<T>(
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
144 | configure: ((inout URLRequest) throws -> Void)? = nil
145 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:144:28: error: cannot find type 'URLRequest' in scope
142 | _ request: Request<T>,
143 | delegate: URLSessionDataDelegate? = nil,
144 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
145 | ) async throws -> Response<T> where T: Decodable {
146 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:152:19: error: cannot find type 'URLSessionDataDelegate' in scope
150 | public func send(
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
153 | configure: ((inout URLRequest) throws -> Void)? = nil
154 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 | _ request: Request<Void>,
152 | delegate: URLSessionDataDelegate? = nil,
153 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
154 | ) async throws -> Response<Void> {
155 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[688/856] Compiling JellyfinAPI SendPlaystateCommandAPI.swift
[689/856] Compiling JellyfinAPI SendSystemCommandAPI.swift
[690/856] Compiling JellyfinAPI SetChannelMappingAPI.swift
[691/856] Compiling JellyfinAPI SetItemImageAPI.swift
[692/856] Compiling JellyfinAPI SetItemImageByIndexAPI.swift
[693/856] Compiling JellyfinAPI SetReadAPI.swift
[694/856] Compiling JellyfinAPI SetRemoteAccessAPI.swift
[695/856] Compiling JellyfinAPI SetRepositoriesAPI.swift
[696/856] Compiling JellyfinAPI SetUnreadAPI.swift
[697/856] Compiling JellyfinAPI ShutdownApplicationAPI.swift
[698/856] Compiling JellyfinAPI StartRestoreBackupAPI.swift
[699/856] Compiling JellyfinAPI StartTaskAPI.swift
[700/856] Compiling JellyfinAPI StopEncodingProcessAPI.swift
[701/856] Compiling JellyfinAPI StopTaskAPI.swift
[702/856] Compiling JellyfinAPI SyncPlayBufferingAPI.swift
[703/856] Compiling JellyfinAPI SyncPlayCreateGroupAPI.swift
[704/856] Compiling JellyfinAPI SyncPlayGetGroupAPI.swift
[705/856] Compiling JellyfinAPI SyncPlayGetGroupsAPI.swift
[706/856] Compiling JellyfinAPI SyncPlayJoinGroupAPI.swift
[707/856] Compiling JellyfinAPI SyncPlayLeaveGroupAPI.swift
[708/856] Compiling JellyfinAPI SyncPlayMovePlaylistItemAPI.swift
[709/856] Compiling JellyfinAPI SyncPlayNextItemAPI.swift
[710/856] Compiling JellyfinAPI SyncPlayPauseAPI.swift
[711/856] Compiling JellyfinAPI SyncPlayPingAPI.swift
[712/856] Compiling JellyfinAPI GetSessionsAPI.swift
[713/856] Compiling JellyfinAPI GetSimilarAlbumsAPI.swift
[714/856] Compiling JellyfinAPI GetSimilarArtistsAPI.swift
[715/856] Compiling JellyfinAPI GetSimilarItemsAPI.swift
[716/856] Compiling JellyfinAPI GetSimilarMoviesAPI.swift
[717/856] Compiling JellyfinAPI GetSimilarShowsAPI.swift
[718/856] Compiling JellyfinAPI GetSimilarTrailersAPI.swift
[719/856] Compiling JellyfinAPI GetSpecialFeaturesAPI.swift
[720/856] Compiling JellyfinAPI GetSplashscreenAPI.swift
[721/856] Compiling JellyfinAPI GetStartupConfigurationAPI.swift
[722/856] Compiling JellyfinAPI GetStudioAPI.swift
[723/856] Compiling JellyfinAPI GetStudioImageAPI.swift
[724/856] Compiling JellyfinAPI GetStudioImageByIndexAPI.swift
[725/856] Compiling JellyfinAPI GetStudiosAPI.swift
[726/856] Compiling JellyfinAPI GetSubtitleAPI.swift
[727/856] Compiling JellyfinAPI GetSubtitlePlaylistAPI.swift
[728/856] Compiling JellyfinAPI GetSubtitleWithTicksAPI.swift
[729/856] Compiling JellyfinAPI GetSuggestionsAPI.swift
[730/856] Compiling JellyfinAPI GetSystemInfoAPI.swift
[731/856] Compiling JellyfinAPI GetSystemStorageAPI.swift
[732/856] Compiling JellyfinAPI GetTaskAPI.swift
[733/856] Compiling JellyfinAPI GetTasksAPI.swift
[734/856] Compiling JellyfinAPI GetThemeMediaAPI.swift
[735/856] Compiling JellyfinAPI GetThemeSongsAPI.swift
[736/856] Compiling JellyfinAPI GetThemeVideosAPI.swift
[737/856] Compiling JellyfinAPI GetTimerAPI.swift
[738/856] Compiling JellyfinAPI GetTimersAPI.swift
[739/856] Compiling JellyfinAPI GetTrailerRemoteSearchResultsAPI.swift
[740/856] Compiling JellyfinAPI GetTrailersAPI.swift
[741/856] Compiling JellyfinAPI GetTrickplayHlsPlaylistAPI.swift
[742/856] Compiling JellyfinAPI GetTrickplayTileImageAPI.swift
[743/856] Compiling JellyfinAPI GetTunerHostTypesAPI.swift
[744/856] Compiling JellyfinAPI GetUniversalAudioStreamAPI.swift
[745/856] Compiling JellyfinAPI GetUpcomingEpisodesAPI.swift
[746/856] Compiling JellyfinAPI GetUserByIDAPI.swift
[747/856] Compiling JellyfinAPI GetUserImageAPI.swift
[748/856] Compiling JellyfinAPI GetUserImageByIndexAPI.swift
[749/856] Compiling JellyfinAPI GetUserViewsAPI.swift
[750/856] Compiling JellyfinAPI GetUsersAPI.swift
[751/856] Compiling JellyfinAPI GetUtcTimeAPI.swift
[752/856] Compiling JellyfinAPI GetVariantHlsAudioPlaylistAPI.swift
[753/856] Compiling JellyfinAPI GetVariantHlsVideoPlaylistAPI.swift
[754/856] Compiling JellyfinAPI GetVideoStreamAPI.swift
[755/856] Compiling JellyfinAPI GetVideoStreamByContainerAPI.swift
[756/856] Compiling JellyfinAPI GetVirtualFoldersAPI.swift
[757/856] Compiling JellyfinAPI GetWakeOnLanInfoAPI.swift
[758/856] Compiling JellyfinAPI GetYearAPI.swift
[759/856] Compiling JellyfinAPI GetYearsAPI.swift
[760/856] Compiling JellyfinAPI HeadArtistImageAPI.swift
[761/856] Compiling JellyfinAPI SyncPlayPreviousItemAPI.swift
[762/856] Compiling JellyfinAPI SyncPlayQueueAPI.swift
[763/856] Compiling JellyfinAPI SyncPlayReadyAPI.swift
[764/856] Compiling JellyfinAPI SyncPlayRemoveFromPlaylistAPI.swift
[765/856] Compiling JellyfinAPI SyncPlaySeekAPI.swift
[766/856] Compiling JellyfinAPI SyncPlaySetIgnoreWaitAPI.swift
[767/856] Compiling JellyfinAPI SyncPlaySetNewQueueAPI.swift
[768/856] Compiling JellyfinAPI SyncPlaySetPlaylistItemAPI.swift
[769/856] Compiling JellyfinAPI SyncPlaySetRepeatModeAPI.swift
[770/856] Compiling JellyfinAPI SyncPlaySetShuffleModeAPI.swift
[771/856] Compiling JellyfinAPI SyncPlayStopAPI.swift
[772/856] Compiling JellyfinAPI SyncPlayUnpauseAPI.swift
[773/856] Compiling JellyfinAPI TmdbClientConfigurationAPI.swift
[774/856] Compiling JellyfinAPI UninstallPluginAPI.swift
[775/856] Compiling JellyfinAPI UninstallPluginByVersionAPI.swift
[776/856] Compiling JellyfinAPI UnmarkFavoriteItemAPI.swift
[777/856] Compiling JellyfinAPI UpdateBrandingConfigurationAPI.swift
[778/856] Compiling JellyfinAPI UpdateConfigurationAPI.swift
[779/856] Compiling JellyfinAPI UpdateDeviceOptionsAPI.swift
[780/856] Compiling JellyfinAPI UpdateDisplayPreferencesAPI.swift
[781/856] Compiling JellyfinAPI UpdateInitialConfigurationAPI.swift
[782/856] Compiling JellyfinAPI UpdateItemAPI.swift
[783/856] Compiling JellyfinAPI UpdateItemContentTypeAPI.swift
[784/856] Compiling JellyfinAPI UpdateItemImageIndexAPI.swift
[785/856] Compiling JellyfinAPI ProcessMediaReceiverRegistrarControlRequestAPI.swift
[786/856] Compiling JellyfinAPI RefreshItemAPI.swift
[787/856] Compiling JellyfinAPI RefreshLibraryAPI.swift
[788/856] Compiling JellyfinAPI RemoveFromCollectionAPI.swift
[789/856] Compiling JellyfinAPI RemoveFromPlaylistAPI.swift
[790/856] Compiling JellyfinAPI RemoveItemFromPlaylistAPI.swift
[791/856] Compiling JellyfinAPI RemoveMediaPathAPI.swift
[792/856] Compiling JellyfinAPI RemoveUserFromPlaylistAPI.swift
[793/856] Compiling JellyfinAPI RemoveUserFromSessionAPI.swift
[794/856] Compiling JellyfinAPI RemoveVirtualFolderAPI.swift
[795/856] Compiling JellyfinAPI RenameVirtualFolderAPI.swift
[796/856] Compiling JellyfinAPI ReportPlaybackProgressAPI.swift
[797/856] Compiling JellyfinAPI ReportPlaybackStartAPI.swift
[798/856] Compiling JellyfinAPI ReportPlaybackStoppedAPI.swift
[799/856] Compiling JellyfinAPI ReportSessionEndedAPI.swift
[800/856] Compiling JellyfinAPI ReportViewingAPI.swift
[801/856] Compiling JellyfinAPI ResetTunerAPI.swift
[802/856] Compiling JellyfinAPI RestartApplicationAPI.swift
[803/856] Compiling JellyfinAPI RevokeKeyAPI.swift
[804/856] Compiling JellyfinAPI SearchRemoteLyricsAPI.swift
[805/856] Compiling JellyfinAPI SearchRemoteSubtitlesAPI.swift
[806/856] Compiling JellyfinAPI SendFullGeneralCommandAPI.swift
[807/856] Compiling JellyfinAPI SendGeneralCommandAPI.swift
[808/856] Compiling JellyfinAPI SendMessageCommandAPI.swift
[809/856] Compiling JellyfinAPI LogFileAPI.swift
[810/856] Compiling JellyfinAPI MarkFavoriteItemAPI.swift
[811/856] Compiling JellyfinAPI MarkPlayedItemAPI.swift
[812/856] Compiling JellyfinAPI MarkUnplayedItemAPI.swift
[813/856] Compiling JellyfinAPI MergeVersionsAPI.swift
[814/856] Compiling JellyfinAPI MoveItemAPI.swift
[815/856] Compiling JellyfinAPI OnPlaybackProgressAPI.swift
[816/856] Compiling JellyfinAPI OnPlaybackStartAPI.swift
[817/856] Compiling JellyfinAPI OnPlaybackStoppedAPI.swift
[818/856] Compiling JellyfinAPI OpenLiveStreamAPI.swift
[819/856] Compiling JellyfinAPI PingPlaybackSessionAPI.swift
[820/856] Compiling JellyfinAPI PlayAPI.swift
[821/856] Compiling JellyfinAPI PostAddedMoviesAPI.swift
[822/856] Compiling JellyfinAPI PostAddedSeriesAPI.swift
[823/856] Compiling JellyfinAPI PostCapabilitiesAPI.swift
[824/856] Compiling JellyfinAPI PostFullCapabilitiesAPI.swift
[825/856] Compiling JellyfinAPI PostPingSystemAPI.swift
[826/856] Compiling JellyfinAPI PostUpdatedMediaAPI.swift
[827/856] Compiling JellyfinAPI PostUpdatedMoviesAPI.swift
[828/856] Compiling JellyfinAPI PostUpdatedSeriesAPI.swift
[829/856] Compiling JellyfinAPI PostUserImageAPI.swift
[830/856] Compiling JellyfinAPI PostUserImageByIndexAPI.swift
[831/856] Compiling JellyfinAPI ProcessConnectionManagerControlRequestAPI.swift
[832/856] Compiling JellyfinAPI ProcessContentDirectoryControlRequestAPI.swift
[833/856] Compiling JellyfinAPI HeadAudioStreamAPI.swift
[834/856] Compiling JellyfinAPI HeadAudioStreamByContainerAPI.swift
[835/856] Compiling JellyfinAPI HeadGenreImageAPI.swift
[836/856] Compiling JellyfinAPI HeadGenreImageByIndexAPI.swift
[837/856] Compiling JellyfinAPI HeadItemImage2API.swift
[838/856] Compiling JellyfinAPI HeadItemImageAPI.swift
[839/856] Compiling JellyfinAPI HeadItemImageByIndexAPI.swift
[840/856] Compiling JellyfinAPI HeadMasterHlsAudioPlaylistAPI.swift
[841/856] Compiling JellyfinAPI HeadMasterHlsVideoPlaylistAPI.swift
[842/856] Compiling JellyfinAPI HeadMusicGenreImageAPI.swift
[843/856] Compiling JellyfinAPI HeadMusicGenreImageByIndexAPI.swift
[844/856] Compiling JellyfinAPI HeadPersonImageAPI.swift
[845/856] Compiling JellyfinAPI HeadPersonImageByIndexAPI.swift
[846/856] Compiling JellyfinAPI HeadStudioImageAPI.swift
[847/856] Compiling JellyfinAPI HeadStudioImageByIndexAPI.swift
[848/856] Compiling JellyfinAPI HeadUniversalAudioStreamAPI.swift
[849/856] Compiling JellyfinAPI HeadUserImageAPI.swift
[850/856] Compiling JellyfinAPI HeadUserImageByIndexAPI.swift
[851/856] Compiling JellyfinAPI HeadVideoStreamAPI.swift
[852/856] Compiling JellyfinAPI HeadVideoStreamByContainerAPI.swift
[853/856] Compiling JellyfinAPI InitiateAPI.swift
[854/856] Compiling JellyfinAPI InitiateQuickConnectAPI.swift
[855/856] Compiling JellyfinAPI InstallPackageAPI.swift
[856/856] Compiling JellyfinAPI ListBackupsAPI.swift
BUILD FAILURE 6.1 linux