Build Information
Failed to build JellyfinAPI, reference main (6039de
), with Swift 6.0 for Linux on 13 May 2025 01:01:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 | }
172 |
173 | public 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.
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
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/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| |- warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
| `- note: move 'client(_:willSendRequest:)' to another extension to silence this warning
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- note: requirement 'client(_:willSendRequest:)' declared here
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
161 | }
162 |
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| |- warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
| `- note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
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: requirement 'client(_:validateResponse:data:task:)' declared here
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
171 | }
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| |- warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
| `- note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
49 |
50 | /// Constructs URL for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
38 |
39 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
40 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
41 | configuration.delegate = self
42 | configuration.sessionDelegate = sessionDelegate
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
128 | }
129 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
132 | delegate: URLSessionDownloadDelegate? = nil
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
135 | }
136 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
166 | } else {
167 | 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/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 | throw APIError.unacceptableStatusCode(response.statusCode)
169 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
168 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
169 | }
170 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
174 | try await delegate?.client(_apiClient, 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?
175 | }
176 |
/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()
[313/490] Compiling JellyfinAPI ConnectAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:23:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | private var _apiClient: APIClient!
23 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | private let delegate: APIClientDelegate?
25 |
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:30:26: error: cannot find type 'URLSessionDelegate' in scope
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
30 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
31 | delegate: APIClientDelegate? = nil,
32 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | 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:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
114 | public func data(
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
117 | configure: ((inout URLRequest) throws -> Void)? = nil
118 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
117 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
118 | ) async throws -> Response<Data> {
119 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
122 | public func download(
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
125 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
130 | public func download(
131 | resumeFrom resumeData: Data,
132 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:163:107: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:173:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 | }
172 |
173 | public 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.
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
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/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| |- warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
| `- note: move 'client(_:willSendRequest:)' to another extension to silence this warning
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- note: requirement 'client(_:willSendRequest:)' declared here
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
161 | }
162 |
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| |- warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
| `- note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
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: requirement 'client(_:validateResponse:data:task:)' declared here
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
171 | }
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| |- warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
| `- note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
49 |
50 | /// Constructs URL for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
38 |
39 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
40 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
41 | configuration.delegate = self
42 | configuration.sessionDelegate = sessionDelegate
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
128 | }
129 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
132 | delegate: URLSessionDownloadDelegate? = nil
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
135 | }
136 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
166 | } else {
167 | 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/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 | throw APIError.unacceptableStatusCode(response.statusCode)
169 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
168 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
169 | }
170 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
174 | try await delegate?.client(_apiClient, 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?
175 | }
176 |
/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()
[314/490] Compiling JellyfinAPI CreateAdminNotificationAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:23:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | private var _apiClient: APIClient!
23 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | private let delegate: APIClientDelegate?
25 |
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:30:26: error: cannot find type 'URLSessionDelegate' in scope
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
30 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
31 | delegate: APIClientDelegate? = nil,
32 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | 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:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
114 | public func data(
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
117 | configure: ((inout URLRequest) throws -> Void)? = nil
118 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
117 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
118 | ) async throws -> Response<Data> {
119 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
122 | public func download(
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
125 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
130 | public func download(
131 | resumeFrom resumeData: Data,
132 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:163:107: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:173:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 | }
172 |
173 | public 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.
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
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/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| |- warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
| `- note: move 'client(_:willSendRequest:)' to another extension to silence this warning
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- note: requirement 'client(_:willSendRequest:)' declared here
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
161 | }
162 |
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| |- warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
| `- note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
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: requirement 'client(_:validateResponse:data:task:)' declared here
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
171 | }
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| |- warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
| `- note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
49 |
50 | /// Constructs URL for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
38 |
39 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
40 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
41 | configuration.delegate = self
42 | configuration.sessionDelegate = sessionDelegate
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
128 | }
129 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
132 | delegate: URLSessionDownloadDelegate? = nil
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
135 | }
136 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
166 | } else {
167 | 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/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 | throw APIError.unacceptableStatusCode(response.statusCode)
169 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
168 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
169 | }
170 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
174 | try await delegate?.client(_apiClient, 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?
175 | }
176 |
/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()
[315/490] Compiling JellyfinAPI CreateCollectionAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:23:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | private var _apiClient: APIClient!
23 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | private let delegate: APIClientDelegate?
25 |
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:30:26: error: cannot find type 'URLSessionDelegate' in scope
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
30 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
31 | delegate: APIClientDelegate? = nil,
32 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | 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:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
114 | public func data(
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
117 | configure: ((inout URLRequest) throws -> Void)? = nil
118 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
117 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
118 | ) async throws -> Response<Data> {
119 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
122 | public func download(
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
125 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
130 | public func download(
131 | resumeFrom resumeData: Data,
132 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:163:107: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:173:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 | }
172 |
173 | public 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.
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
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/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| |- warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
| `- note: move 'client(_:willSendRequest:)' to another extension to silence this warning
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- note: requirement 'client(_:willSendRequest:)' declared here
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
161 | }
162 |
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| |- warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
| `- note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
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: requirement 'client(_:validateResponse:data:task:)' declared here
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
171 | }
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| |- warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
| `- note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
49 |
50 | /// Constructs URL for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
38 |
39 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
40 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
41 | configuration.delegate = self
42 | configuration.sessionDelegate = sessionDelegate
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
128 | }
129 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
132 | delegate: URLSessionDownloadDelegate? = nil
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
135 | }
136 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
166 | } else {
167 | 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/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 | throw APIError.unacceptableStatusCode(response.statusCode)
169 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
168 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
169 | }
170 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
174 | try await delegate?.client(_apiClient, 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?
175 | }
176 |
/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()
[316/490] Compiling JellyfinAPI CreateKeyAPI.swift
/host/spi-builder-workspace/Sources/JellyfinClient.swift:23:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |
22 | private var _apiClient: APIClient!
23 | private let sessionConfiguration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | private let delegate: APIClientDelegate?
25 |
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:30:26: error: cannot find type 'URLSessionDelegate' in scope
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
30 | sessionDelegate: URLSessionDelegate? = nil,
| `- error: cannot find type 'URLSessionDelegate' in scope
31 | delegate: APIClientDelegate? = nil,
32 | accessToken: String? = nil
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | 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:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
27 | public init(
28 | configuration: Configuration,
29 | sessionConfiguration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | sessionDelegate: URLSessionDelegate? = nil,
31 | delegate: APIClientDelegate? = nil,
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
114 | public func data(
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
117 | configure: ((inout URLRequest) throws -> Void)? = nil
118 | ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
115 | for request: Request<some Any>,
116 | delegate: URLSessionDataDelegate? = nil,
117 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
118 | ) async throws -> Response<Data> {
119 | try await _apiClient.data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
122 | public func download(
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
123 | for request: Request<some Any>,
124 | delegate: URLSessionDownloadDelegate? = nil,
125 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
130 | public func download(
131 | resumeFrom resumeData: Data,
132 | delegate: URLSessionDownloadDelegate? = nil
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| `- error: cannot find type 'URLRequest' in scope
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:163:107: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
161 | }
162 |
163 | public 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.
164 | if let delegate {
165 | try delegate.client(_apiClient, 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/JellyfinClient.swift:173:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
171 | }
172 |
173 | public 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.
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
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/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
154 | extension JellyfinClient: APIClientDelegate {
155 |
156 | public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
| |- warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
| `- note: move 'client(_:willSendRequest:)' to another extension to silence this warning
157 | // Inject required headers
158 | request.addValue(authHeaders(), forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
18 | /// - client: The client that sends the request.
19 | /// - request: The request about to be sent. Can be modified
20 | func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
| `- note: requirement 'client(_:willSendRequest:)' declared here
21 |
22 | /// Validates response for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
161 | }
162 |
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
| |- warning: instance method 'client(_:validateResponse:data:task:)' nearly matches defaulted requirement 'client(_:validateResponse:data:task:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
| `- note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
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: requirement 'client(_:validateResponse:data:task:)' declared here
34 |
35 | /// Gets called after a networking failure. Only one retry attempt is allowed.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
171 | }
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
| |- warning: instance method 'client(_:shouldRetry:error:attempts:)' nearly matches defaulted requirement 'client(_:shouldRetry:error:attempts:)' of protocol 'APIClientDelegate'
| |- note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
| `- note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
174 | try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
175 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
46 | ///
47 | /// - returns: Return `true` to retry the request.
48 | func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
| `- note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
49 |
50 | /// Constructs URL for the given request.
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
38 |
39 | self._apiClient = APIClient(baseURL: configuration.url) { configuration in
40 | configuration.sessionConfiguration = sessionConfiguration
| |- error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
| `- note: did you mean to use 'as!' to force downcast?
41 | configuration.delegate = self
42 | configuration.sessionDelegate = sessionDelegate
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
125 | configure: ((inout URLRequest) throws -> Void)? = nil
126 | ) async throws -> Response<URL> {
127 | try await _apiClient.download(for: request, delegate: delegate, configure: configure)
| `- error: value of type 'APIClient' has no member 'download'
128 | }
129 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
132 | delegate: URLSessionDownloadDelegate? = nil
133 | ) async throws -> Response<URL> {
134 | try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
| `- error: value of type 'APIClient' has no member 'download'
135 | }
136 |
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
163 | public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
164 | if let delegate {
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
| `- error: no exact matches in call to instance method 'client'
166 | } else {
167 | 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/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 | try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 | throw APIError.unacceptableStatusCode(response.statusCode)
169 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 | } else {
167 | guard (200 ..< 300).contains(response.statusCode) else {
168 | throw APIError.unacceptableStatusCode(response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
169 | }
170 | }
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
172 |
173 | public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
174 | try await delegate?.client(_apiClient, 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?
175 | }
176 |
/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()
[317/514] Compiling JellyfinAPI SpecialViewOptionDto.swift
[318/514] Compiling JellyfinAPI StartupConfigurationDto.swift
[319/514] Compiling JellyfinAPI StartupRemoteAccessDto.swift
[320/514] Compiling JellyfinAPI StartupUserDto.swift
[321/514] Compiling JellyfinAPI StringGroupUpdate.swift
[322/514] Compiling JellyfinAPI SubtitleDeliveryMethod.swift
[323/514] Compiling JellyfinAPI SubtitleOptions.swift
[324/514] Compiling JellyfinAPI SubtitlePlaybackMode.swift
[325/514] Compiling JellyfinAPI SubtitleProfile.swift
[326/514] Compiling JellyfinAPI SyncPlayCommandMessage.swift
[327/514] Compiling JellyfinAPI SyncPlayGroupUpdateCommandMessage.swift
[328/514] Compiling JellyfinAPI SyncPlayQueueItem.swift
[329/514] Compiling JellyfinAPI SyncPlayUserAccessType.swift
[330/514] Compiling JellyfinAPI SystemInfo.swift
[331/514] Compiling JellyfinAPI TaskCompletionStatus.swift
[332/514] Compiling JellyfinAPI TaskInfo.swift
[333/514] Compiling JellyfinAPI TaskResult.swift
[334/514] Compiling JellyfinAPI TaskState.swift
[335/514] Compiling JellyfinAPI TaskTriggerInfo.swift
[336/514] Compiling JellyfinAPI TaskTriggerType.swift
[337/514] Compiling JellyfinAPI ThemeMediaResult.swift
[338/514] Compiling JellyfinAPI TimerCancelledMessage.swift
[339/514] Compiling JellyfinAPI TimerCreatedMessage.swift
[340/514] Compiling JellyfinAPI TimerEventInfo.swift
[341/514] Compiling JellyfinAPI TimerInfoDto.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 GetDefaultTimerAPI.swift
[365/538] Compiling JellyfinAPI GetDescriptionXml2API.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/538] Compiling JellyfinAPI DiscoverTunersAPI.swift
[390/538] Compiling JellyfinAPI DiscvoverTunersAPI.swift
[391/586] Compiling JellyfinAPI TimerInfoDtoQueryResult.swift
[392/586] Compiling JellyfinAPI TonemappingAlgorithm.swift
[393/586] Compiling JellyfinAPI TonemappingMode.swift
[394/586] Compiling JellyfinAPI TonemappingRange.swift
[395/586] Compiling JellyfinAPI TrailerInfo.swift
[396/586] Compiling JellyfinAPI TrailerInfoRemoteSearchQuery.swift
[397/586] Compiling JellyfinAPI TranscodeReason.swift
[398/586] Compiling JellyfinAPI TranscodeSeekInfo.swift
[399/586] Compiling JellyfinAPI TranscodingInfo.swift
[400/586] Compiling JellyfinAPI TranscodingProfile.swift
[401/586] Compiling JellyfinAPI TransportStreamTimestamp.swift
[402/586] Compiling JellyfinAPI TrickplayInfo.swift
[403/586] Compiling JellyfinAPI TrickplayOptions.swift
[404/586] Compiling JellyfinAPI TrickplayScanBehavior.swift
[405/586] Compiling JellyfinAPI TunerChannelMapping.swift
[406/586] Compiling JellyfinAPI TunerHostInfo.swift
[407/586] Compiling JellyfinAPI TypeOptions.swift
[408/586] Compiling JellyfinAPI UnratedItem.swift
[409/586] Compiling JellyfinAPI UpdateLibraryOptionsDto.swift
[410/586] Compiling JellyfinAPI UpdateMediaPathRequestDto.swift
[411/586] Compiling JellyfinAPI UpdatePlaylistDto.swift
[412/586] Compiling JellyfinAPI UpdatePlaylistUserDto.swift
[413/586] Compiling JellyfinAPI UpdateUserEasyPassword.swift
[414/586] Compiling JellyfinAPI UpdateUserItemDataDto.swift
[415/586] Compiling JellyfinAPI UpdateUserPassword.swift
[416/610] Compiling JellyfinAPI GetDescriptionXmlAPI.swift
[417/610] Compiling JellyfinAPI GetDeviceInfoAPI.swift
[418/610] Compiling JellyfinAPI GetDeviceOptionsAPI.swift
[419/610] Compiling JellyfinAPI GetDevicesAPI.swift
[420/610] Compiling JellyfinAPI GetDirectoryContentsAPI.swift
[421/610] Compiling JellyfinAPI GetDisplayPreferencesAPI.swift
[422/610] Compiling JellyfinAPI GetDownloadAPI.swift
[423/610] Compiling JellyfinAPI GetDrivesAPI.swift
[424/610] Compiling JellyfinAPI GetEnabledAPI.swift
[425/610] Compiling JellyfinAPI GetEndpointInfoAPI.swift
[426/610] Compiling JellyfinAPI GetEpisodesAPI.swift
[427/610] Compiling JellyfinAPI GetExternalIDInfosAPI.swift
[428/610] Compiling JellyfinAPI GetFallbackFontAPI.swift
[429/610] Compiling JellyfinAPI GetFallbackFontListAPI.swift
[430/610] Compiling JellyfinAPI GetFileAPI.swift
[431/610] Compiling JellyfinAPI GetFirstUser2API.swift
[432/610] Compiling JellyfinAPI GetFirstUserAPI.swift
[433/610] Compiling JellyfinAPI GetGeneralImageAPI.swift
[434/610] Compiling JellyfinAPI GetGeneralImagesAPI.swift
[435/610] Compiling JellyfinAPI GetGenreAPI.swift
[436/610] Compiling JellyfinAPI GetGenreImageAPI.swift
[437/610] Compiling JellyfinAPI GetGenreImageByIndexAPI.swift
[438/610] Compiling JellyfinAPI GetGenresAPI.swift
[439/610] Compiling JellyfinAPI GetGroupingOptionsAPI.swift
[440/634] Compiling JellyfinAPI GetMediaInfoImagesAPI.swift
[441/634] Compiling JellyfinAPI GetMediaReceiverRegistrar2API.swift
[442/634] Compiling JellyfinAPI GetMediaReceiverRegistrar3API.swift
[443/634] Compiling JellyfinAPI GetMediaReceiverRegistrarAPI.swift
[444/634] Compiling JellyfinAPI GetMetadataEditorInfoAPI.swift
[445/634] Compiling JellyfinAPI GetMovieRecommendationsAPI.swift
[446/634] Compiling JellyfinAPI GetMovieRemoteSearchResultsAPI.swift
[447/634] Compiling JellyfinAPI GetMusicAlbumRemoteSearchResultsAPI.swift
[448/634] Compiling JellyfinAPI GetMusicArtistRemoteSearchResultsAPI.swift
[449/634] Compiling JellyfinAPI GetMusicGenreAPI.swift
[450/634] Compiling JellyfinAPI GetMusicGenreImageAPI.swift
[451/634] Compiling JellyfinAPI GetMusicGenreImageByIndexAPI.swift
[452/634] Compiling JellyfinAPI GetMusicGenresAPI.swift
[453/634] Compiling JellyfinAPI GetMusicVideoRemoteSearchResultsAPI.swift
[454/634] Compiling JellyfinAPI GetNamedConfigurationAPI.swift
[455/634] Compiling JellyfinAPI GetNetworkSharesAPI.swift
[456/634] Compiling JellyfinAPI GetNextUpAPI.swift
[457/634] Compiling JellyfinAPI GetNotificationServicesAPI.swift
[458/634] Compiling JellyfinAPI GetNotificationTypesAPI.swift
[459/634] Compiling JellyfinAPI GetNotificationsAPI.swift
[460/634] Compiling JellyfinAPI GetNotificationsSummaryAPI.swift
[461/634] Compiling JellyfinAPI GetPackageInfoAPI.swift
[462/634] Compiling JellyfinAPI GetPackagesAPI.swift
[463/634] Compiling JellyfinAPI GetParentPathAPI.swift
[464/634] Compiling JellyfinAPI DisplayContentAPI.swift
[465/634] Compiling JellyfinAPI DownloadRemoteImageAPI.swift
[466/634] Compiling JellyfinAPI DownloadRemoteLyricsAPI.swift
[467/634] Compiling JellyfinAPI DownloadRemoteSubtitlesAPI.swift
[468/634] Compiling JellyfinAPI EnablePluginAPI.swift
[469/634] Compiling JellyfinAPI ForgotPasswordAPI.swift
[470/634] Compiling JellyfinAPI ForgotPasswordPinAPI.swift
[471/634] Compiling JellyfinAPI GetAPI.swift
[472/634] Compiling JellyfinAPI GetAdditionalPartAPI.swift
[473/634] Compiling JellyfinAPI GetAlbumArtistsAPI.swift
[474/634] Compiling JellyfinAPI GetAllChannelFeaturesAPI.swift
[475/634] Compiling JellyfinAPI GetAncestorsAPI.swift
[476/634] Compiling JellyfinAPI GetArtistByNameAPI.swift
[477/634] Compiling JellyfinAPI GetArtistImageAPI.swift
[478/634] Compiling JellyfinAPI GetArtistsAPI.swift
[479/634] Compiling JellyfinAPI GetAttachmentAPI.swift
[480/634] Compiling JellyfinAPI GetAudioStreamAPI.swift
[481/634] Compiling JellyfinAPI GetAudioStreamByContainerAPI.swift
[482/634] Compiling JellyfinAPI GetAuthProvidersAPI.swift
[483/634] Compiling JellyfinAPI GetBitrateTestBytesAPI.swift
[484/634] Compiling JellyfinAPI GetBookRemoteSearchResultsAPI.swift
[485/634] Compiling JellyfinAPI GetBoxSetRemoteSearchResultsAPI.swift
[486/634] Compiling JellyfinAPI GetBrandingCss2API.swift
[487/634] Compiling JellyfinAPI GetBrandingCssAPI.swift
[488/634] Compiling JellyfinAPI GetBrandingOptionsAPI.swift
[489/682] Compiling JellyfinAPI GetParentalRatingsAPI.swift
[490/682] Compiling JellyfinAPI GetPasswordResetProvidersAPI.swift
[491/682] Compiling JellyfinAPI GetPersonAPI.swift
[492/682] Compiling JellyfinAPI GetPersonImageAPI.swift
[493/682] Compiling JellyfinAPI GetPersonImageByIndexAPI.swift
[494/682] Compiling JellyfinAPI GetPersonRemoteSearchResultsAPI.swift
[495/682] Compiling JellyfinAPI GetPersonsAPI.swift
[496/682] Compiling JellyfinAPI GetPhysicalPathsAPI.swift
[497/682] Compiling JellyfinAPI GetPingSystemAPI.swift
[498/682] Compiling JellyfinAPI GetPlaybackInfoAPI.swift
[499/682] Compiling JellyfinAPI GetPlaylistAPI.swift
[500/682] Compiling JellyfinAPI GetPlaylistItemsAPI.swift
[501/682] Compiling JellyfinAPI GetPlaylistUserAPI.swift
[502/682] Compiling JellyfinAPI GetPlaylistUsersAPI.swift
[503/682] Compiling JellyfinAPI GetPluginConfigurationAPI.swift
[504/682] Compiling JellyfinAPI GetPluginImageAPI.swift
[505/682] Compiling JellyfinAPI GetPluginManifestAPI.swift
[506/682] Compiling JellyfinAPI GetPluginsAPI.swift
[507/682] Compiling JellyfinAPI GetPostedPlaybackInfoAPI.swift
[508/682] Compiling JellyfinAPI GetProfileAPI.swift
[509/682] Compiling JellyfinAPI GetProfileInfosAPI.swift
[510/682] Compiling JellyfinAPI GetProgramAPI.swift
[511/682] Compiling JellyfinAPI GetProgramsAPI.swift
[512/682] Compiling JellyfinAPI GetPublicSystemInfoAPI.swift
[513/706] Compiling JellyfinAPI GetGuideInfoAPI.swift
[514/706] Compiling JellyfinAPI GetHlsAudioSegmentAPI.swift
[515/706] Compiling JellyfinAPI GetHlsAudioSegmentLegacyAacAPI.swift
[516/706] Compiling JellyfinAPI GetHlsAudioSegmentLegacyMp3API.swift
[517/706] Compiling JellyfinAPI GetHlsPlaylistLegacyAPI.swift
[518/706] Compiling JellyfinAPI GetHlsVideoSegmentAPI.swift
[519/706] Compiling JellyfinAPI GetHlsVideoSegmentLegacyAPI.swift
[520/706] Compiling JellyfinAPI GetIconAPI.swift
[521/706] Compiling JellyfinAPI GetIconIDAPI.swift
[522/706] Compiling JellyfinAPI GetInstantMixFromAlbumAPI.swift
[523/706] Compiling JellyfinAPI GetInstantMixFromArtists2API.swift
[524/706] Compiling JellyfinAPI GetInstantMixFromArtistsAPI.swift
[525/706] Compiling JellyfinAPI GetInstantMixFromItemAPI.swift
[526/706] Compiling JellyfinAPI GetInstantMixFromMusicGenreByIDAPI.swift
[527/706] Compiling JellyfinAPI GetInstantMixFromMusicGenreByNameAPI.swift
[528/706] Compiling JellyfinAPI GetInstantMixFromPlaylistAPI.swift
[529/706] Compiling JellyfinAPI GetInstantMixFromSongAPI.swift
[530/706] Compiling JellyfinAPI GetIntrosAPI.swift
[531/706] Compiling JellyfinAPI GetItemAPI.swift
[532/706] Compiling JellyfinAPI GetItemCountsAPI.swift
[533/706] Compiling JellyfinAPI GetItemImage2API.swift
[534/706] Compiling JellyfinAPI GetItemImageAPI.swift
[535/706] Compiling JellyfinAPI GetItemImageByIndexAPI.swift
[536/706] Compiling JellyfinAPI GetItemImageInfosAPI.swift
[537/730] Compiling JellyfinAPI GetPublicUsersAPI.swift
[538/730] Compiling JellyfinAPI GetQueryFiltersAPI.swift
[539/730] Compiling JellyfinAPI GetQueryFiltersLegacyAPI.swift
[540/730] Compiling JellyfinAPI GetQuickConnectEnabledAPI.swift
[541/730] Compiling JellyfinAPI GetQuickConnectStateAPI.swift
[542/730] Compiling JellyfinAPI GetRatingImageAPI.swift
[543/730] Compiling JellyfinAPI GetRatingImagesAPI.swift
[544/730] Compiling JellyfinAPI GetRecommendedProgramsAPI.swift
[545/730] Compiling JellyfinAPI GetRecordingAPI.swift
[546/730] Compiling JellyfinAPI GetRecordingFoldersAPI.swift
[547/730] Compiling JellyfinAPI GetRecordingGroupAPI.swift
[548/730] Compiling JellyfinAPI GetRecordingGroupsAPI.swift
[549/730] Compiling JellyfinAPI GetRecordingsAPI.swift
[550/730] Compiling JellyfinAPI GetRecordingsSeriesAPI.swift
[551/730] Compiling JellyfinAPI GetRemoteImageProvidersAPI.swift
[552/730] Compiling JellyfinAPI GetRemoteImagesAPI.swift
[553/730] Compiling JellyfinAPI GetRemoteLyricsAPI.swift
[554/730] Compiling JellyfinAPI GetRemoteSubtitlesAPI.swift
[555/730] Compiling JellyfinAPI GetRepositoriesAPI.swift
[556/730] Compiling JellyfinAPI GetResumeItemsAPI.swift
[557/730] Compiling JellyfinAPI GetRootFolderAPI.swift
[558/730] Compiling JellyfinAPI GetSchedulesDirectCountriesAPI.swift
[559/730] Compiling JellyfinAPI GetSearchHintsAPI.swift
[560/730] Compiling JellyfinAPI GetSeasonsAPI.swift
[561/754] Compiling JellyfinAPI SeriesInfo.swift
[562/754] Compiling JellyfinAPI SeriesInfoRemoteSearchQuery.swift
[563/754] Compiling JellyfinAPI SeriesStatus.swift
[564/754] Compiling JellyfinAPI SeriesTimerCancelledMessage.swift
[565/754] Compiling JellyfinAPI SeriesTimerCreatedMessage.swift
[566/754] Compiling JellyfinAPI SeriesTimerInfoDto.swift
[567/754] Compiling JellyfinAPI SeriesTimerInfoDtoQueryResult.swift
[568/754] Compiling JellyfinAPI ServerConfiguration.swift
[569/754] Compiling JellyfinAPI ServerDiscoveryInfo.swift
[570/754] Compiling JellyfinAPI ServerRestartingMessage.swift
[571/754] Compiling JellyfinAPI ServerShuttingDownMessage.swift
[572/754] Compiling JellyfinAPI SessionInfo.swift
[573/754] Compiling JellyfinAPI SessionInfoDto.swift
[574/754] Compiling JellyfinAPI SessionMessageType.swift
[575/754] Compiling JellyfinAPI SessionUserInfo.swift
[576/754] Compiling JellyfinAPI SessionsMessage.swift
[577/754] Compiling JellyfinAPI SessionsStartMessage.swift
[578/754] Compiling JellyfinAPI SessionsStopMessage.swift
[579/754] Compiling JellyfinAPI SetChannelMappingDto.swift
[580/754] Compiling JellyfinAPI SetPlaylistItemRequestDto.swift
[581/754] Compiling JellyfinAPI SetRepeatModeRequestDto.swift
[582/754] Compiling JellyfinAPI SetShuffleModeRequestDto.swift
[583/754] Compiling JellyfinAPI SongInfo.swift
[584/754] Compiling JellyfinAPI SortOrder.swift
[585/754] Compiling JellyfinAPI SpecialFeatureType.swift
[586/778] Compiling JellyfinAPI UploadSubtitleDto.swift
[587/778] Compiling JellyfinAPI UserConfiguration.swift
[588/778] Compiling JellyfinAPI UserDataChangeInfo.swift
[589/778] Compiling JellyfinAPI UserDataChangedMessage.swift
[590/778] Compiling JellyfinAPI UserDeletedMessage.swift
[591/778] Compiling JellyfinAPI UserDto.swift
[592/778] Compiling JellyfinAPI UserItemDataDto.swift
[593/778] Compiling JellyfinAPI UserPolicy.swift
[594/778] Compiling JellyfinAPI UserUpdatedMessage.swift
[595/778] Compiling JellyfinAPI UtcTimeResponse.swift
[596/778] Compiling JellyfinAPI ValidatePathDto.swift
[597/778] Compiling JellyfinAPI VersionInfo.swift
[598/778] Compiling JellyfinAPI Video3DFormat.swift
[599/778] Compiling JellyfinAPI VideoRange.swift
[600/778] Compiling JellyfinAPI VideoRangeType.swift
[601/778] Compiling JellyfinAPI VideoType.swift
[602/778] Compiling JellyfinAPI VirtualFolderInfo.swift
[603/778] Compiling JellyfinAPI WakeOnLanInfo.swift
[604/778] Compiling JellyfinAPI WebSocketMessage.swift
[605/778] Compiling JellyfinAPI XbmcMetadataOptions.swift
[606/778] Compiling JellyfinAPI XmlAttribute.swift
[607/778] Compiling JellyfinAPI AnyJSON.swift
[608/778] Compiling JellyfinAPI JellyfinClient+Version.swift
[609/778] Compiling JellyfinAPI Paths.swift
[610/778] Compiling JellyfinAPI StringCodingKey.swift
[611/802] Compiling JellyfinAPI GetSeriesRemoteSearchResultsAPI.swift
[612/802] Compiling JellyfinAPI GetSeriesTimerAPI.swift
[613/802] Compiling JellyfinAPI GetSeriesTimersAPI.swift
[614/802] Compiling JellyfinAPI GetServerLogsAPI.swift
[615/802] Compiling JellyfinAPI GetSessionsAPI.swift
[616/802] Compiling JellyfinAPI GetSimilarAlbumsAPI.swift
[617/802] Compiling JellyfinAPI GetSimilarArtistsAPI.swift
[618/802] Compiling JellyfinAPI GetSimilarItemsAPI.swift
[619/802] Compiling JellyfinAPI GetSimilarMoviesAPI.swift
[620/802] Compiling JellyfinAPI GetSimilarShowsAPI.swift
[621/802] Compiling JellyfinAPI GetSimilarTrailersAPI.swift
[622/802] Compiling JellyfinAPI GetSpecialFeaturesAPI.swift
[623/802] Compiling JellyfinAPI GetSplashscreenAPI.swift
[624/802] Compiling JellyfinAPI GetStartupConfigurationAPI.swift
[625/802] Compiling JellyfinAPI GetStudioAPI.swift
[626/802] Compiling JellyfinAPI GetStudioImageAPI.swift
[627/802] Compiling JellyfinAPI GetStudioImageByIndexAPI.swift
[628/802] Compiling JellyfinAPI GetStudiosAPI.swift
[629/802] Compiling JellyfinAPI GetSubtitleAPI.swift
[630/802] Compiling JellyfinAPI GetSubtitlePlaylistAPI.swift
[631/802] Compiling JellyfinAPI GetSubtitleWithTicksAPI.swift
[632/802] Compiling JellyfinAPI GetSuggestionsAPI.swift
[633/802] Compiling JellyfinAPI GetSystemInfoAPI.swift
[634/802] Compiling JellyfinAPI GetTaskAPI.swift
[635/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[636/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[637/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[638/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[639/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[640/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[641/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[642/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[643/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[644/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[645/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[646/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[647/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[648/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[649/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[650/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[651/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[652/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[653/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[654/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[655/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[656/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[657/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[658/826] 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:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
97 | public func send<T>(
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
100 | configure: ((inout URLRequest) throws -> Void)? = nil
101 | ) async throws -> Response<T> where T: Decodable {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
98 | _ request: Request<T>,
99 | delegate: URLSessionDataDelegate? = nil,
100 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
101 | ) async throws -> Response<T> where T: Decodable {
102 | try await _apiClient.send(request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
106 | public func send(
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
| `- error: cannot find type 'URLSessionDataDelegate' in scope
109 | configure: ((inout URLRequest) throws -> Void)? = nil
110 | ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
107 | _ request: Request<Void>,
108 | delegate: URLSessionDataDelegate? = nil,
109 | configure: ((inout URLRequest) throws -> Void)? = nil
| `- error: cannot find type 'URLRequest' in scope
110 | ) async throws -> Response<Void> {
111 | try await _apiClient.send(request, delegate: delegate, configure: configure)
[659/826] Compiling JellyfinAPI PostUserImageByIndexAPI.swift
[660/826] Compiling JellyfinAPI ProcessConnectionManagerControlRequestAPI.swift
[661/826] Compiling JellyfinAPI ProcessContentDirectoryControlRequestAPI.swift
[662/826] Compiling JellyfinAPI ProcessMediaReceiverRegistrarControlRequestAPI.swift
[663/826] Compiling JellyfinAPI RefreshItemAPI.swift
[664/826] Compiling JellyfinAPI RefreshLibraryAPI.swift
[665/826] Compiling JellyfinAPI RemoveFromCollectionAPI.swift
[666/826] Compiling JellyfinAPI RemoveFromPlaylistAPI.swift
[667/826] Compiling JellyfinAPI RemoveItemFromPlaylistAPI.swift
[668/826] Compiling JellyfinAPI RemoveMediaPathAPI.swift
[669/826] Compiling JellyfinAPI RemoveUserFromPlaylistAPI.swift
[670/826] Compiling JellyfinAPI RemoveUserFromSessionAPI.swift
[671/826] Compiling JellyfinAPI RemoveVirtualFolderAPI.swift
[672/826] Compiling JellyfinAPI RenameVirtualFolderAPI.swift
[673/826] Compiling JellyfinAPI ReportPlaybackProgressAPI.swift
[674/826] Compiling JellyfinAPI ReportPlaybackStartAPI.swift
[675/826] Compiling JellyfinAPI ReportPlaybackStoppedAPI.swift
[676/826] Compiling JellyfinAPI ReportSessionEndedAPI.swift
[677/826] Compiling JellyfinAPI ReportViewingAPI.swift
[678/826] Compiling JellyfinAPI ResetTunerAPI.swift
[679/826] Compiling JellyfinAPI RestartApplicationAPI.swift
[680/826] Compiling JellyfinAPI RevokeKeyAPI.swift
[681/826] Compiling JellyfinAPI SearchRemoteLyricsAPI.swift
[682/826] Compiling JellyfinAPI SearchRemoteSubtitlesAPI.swift
[683/826] Compiling JellyfinAPI InitiateAPI.swift
[684/826] Compiling JellyfinAPI InitiateQuickConnectAPI.swift
[685/826] Compiling JellyfinAPI InstallPackageAPI.swift
[686/826] Compiling JellyfinAPI LogFileAPI.swift
[687/826] Compiling JellyfinAPI MarkFavoriteItemAPI.swift
[688/826] Compiling JellyfinAPI MarkPlayedItemAPI.swift
[689/826] Compiling JellyfinAPI MarkUnplayedItemAPI.swift
[690/826] Compiling JellyfinAPI MergeVersionsAPI.swift
[691/826] Compiling JellyfinAPI MoveItemAPI.swift
[692/826] Compiling JellyfinAPI OnPlaybackProgressAPI.swift
[693/826] Compiling JellyfinAPI OnPlaybackStartAPI.swift
[694/826] Compiling JellyfinAPI OnPlaybackStoppedAPI.swift
[695/826] Compiling JellyfinAPI OpenLiveStreamAPI.swift
[696/826] Compiling JellyfinAPI PingPlaybackSessionAPI.swift
[697/826] Compiling JellyfinAPI PlayAPI.swift
[698/826] Compiling JellyfinAPI PostAddedMoviesAPI.swift
[699/826] Compiling JellyfinAPI PostAddedSeriesAPI.swift
[700/826] Compiling JellyfinAPI PostCapabilitiesAPI.swift
[701/826] Compiling JellyfinAPI PostFullCapabilitiesAPI.swift
[702/826] Compiling JellyfinAPI PostPingSystemAPI.swift
[703/826] Compiling JellyfinAPI PostUpdatedMediaAPI.swift
[704/826] Compiling JellyfinAPI PostUpdatedMoviesAPI.swift
[705/826] Compiling JellyfinAPI PostUpdatedSeriesAPI.swift
[706/826] Compiling JellyfinAPI PostUserImageAPI.swift
[707/826] Compiling JellyfinAPI GetItemSegmentsAPI.swift
[708/826] Compiling JellyfinAPI GetItemUserDataAPI.swift
[709/826] Compiling JellyfinAPI GetItemsAPI.swift
[710/826] Compiling JellyfinAPI GetItemsByUserIDAPI.swift
[711/826] Compiling JellyfinAPI GetKeysAPI.swift
[712/826] Compiling JellyfinAPI GetLatestChannelItemsAPI.swift
[713/826] Compiling JellyfinAPI GetLatestMediaAPI.swift
[714/826] Compiling JellyfinAPI GetLibraryOptionsInfoAPI.swift
[715/826] Compiling JellyfinAPI GetLineupsAPI.swift
[716/826] Compiling JellyfinAPI GetLiveHlsStreamAPI.swift
[717/826] Compiling JellyfinAPI GetLiveRecordingFileAPI.swift
[718/826] Compiling JellyfinAPI GetLiveStreamFileAPI.swift
[719/826] Compiling JellyfinAPI GetLiveTvChannelsAPI.swift
[720/826] Compiling JellyfinAPI GetLiveTvInfoAPI.swift
[721/826] Compiling JellyfinAPI GetLiveTvProgramsAPI.swift
[722/826] Compiling JellyfinAPI GetLocalTrailersAPI.swift
[723/826] Compiling JellyfinAPI GetLocalizationOptionsAPI.swift
[724/826] Compiling JellyfinAPI GetLogEntriesAPI.swift
[725/826] Compiling JellyfinAPI GetLogFileAPI.swift
[726/826] Compiling JellyfinAPI GetLyricsAPI.swift
[727/826] Compiling JellyfinAPI GetMasterHlsAudioPlaylistAPI.swift
[728/826] Compiling JellyfinAPI GetMasterHlsVideoPlaylistAPI.swift
[729/826] Compiling JellyfinAPI GetMediaFoldersAPI.swift
[730/826] Compiling JellyfinAPI GetMediaInfoImageAPI.swift
[731/826] Compiling JellyfinAPI SendFullGeneralCommandAPI.swift
[732/826] Compiling JellyfinAPI SendGeneralCommandAPI.swift
[733/826] Compiling JellyfinAPI SendMessageCommandAPI.swift
[734/826] Compiling JellyfinAPI SendPlaystateCommandAPI.swift
[735/826] Compiling JellyfinAPI SendSystemCommandAPI.swift
[736/826] Compiling JellyfinAPI SetChannelMappingAPI.swift
[737/826] Compiling JellyfinAPI SetItemImageAPI.swift
[738/826] Compiling JellyfinAPI SetItemImageByIndexAPI.swift
[739/826] Compiling JellyfinAPI SetReadAPI.swift
[740/826] Compiling JellyfinAPI SetRemoteAccessAPI.swift
[741/826] Compiling JellyfinAPI SetRepositoriesAPI.swift
[742/826] Compiling JellyfinAPI SetUnreadAPI.swift
[743/826] Compiling JellyfinAPI ShutdownApplicationAPI.swift
[744/826] Compiling JellyfinAPI StartTaskAPI.swift
[745/826] Compiling JellyfinAPI StopEncodingProcessAPI.swift
[746/826] Compiling JellyfinAPI StopTaskAPI.swift
[747/826] Compiling JellyfinAPI SyncPlayBufferingAPI.swift
[748/826] Compiling JellyfinAPI SyncPlayCreateGroupAPI.swift
[749/826] Compiling JellyfinAPI SyncPlayGetGroupsAPI.swift
[750/826] Compiling JellyfinAPI SyncPlayJoinGroupAPI.swift
[751/826] Compiling JellyfinAPI SyncPlayLeaveGroupAPI.swift
[752/826] Compiling JellyfinAPI SyncPlayMovePlaylistItemAPI.swift
[753/826] Compiling JellyfinAPI SyncPlayNextItemAPI.swift
[754/826] Compiling JellyfinAPI SyncPlayPauseAPI.swift
[755/826] Compiling JellyfinAPI GetTasksAPI.swift
[756/826] Compiling JellyfinAPI GetThemeMediaAPI.swift
[757/826] Compiling JellyfinAPI GetThemeSongsAPI.swift
[758/826] Compiling JellyfinAPI GetThemeVideosAPI.swift
[759/826] Compiling JellyfinAPI GetTimerAPI.swift
[760/826] Compiling JellyfinAPI GetTimersAPI.swift
[761/826] Compiling JellyfinAPI GetTrailerRemoteSearchResultsAPI.swift
[762/826] Compiling JellyfinAPI GetTrailersAPI.swift
[763/826] Compiling JellyfinAPI GetTrickplayHlsPlaylistAPI.swift
[764/826] Compiling JellyfinAPI GetTrickplayTileImageAPI.swift
[765/826] Compiling JellyfinAPI GetTunerHostTypesAPI.swift
[766/826] Compiling JellyfinAPI GetUniversalAudioStreamAPI.swift
[767/826] Compiling JellyfinAPI GetUpcomingEpisodesAPI.swift
[768/826] Compiling JellyfinAPI GetUserByIDAPI.swift
[769/826] Compiling JellyfinAPI GetUserImageAPI.swift
[770/826] Compiling JellyfinAPI GetUserImageByIndexAPI.swift
[771/826] Compiling JellyfinAPI GetUserViewsAPI.swift
[772/826] Compiling JellyfinAPI GetUsersAPI.swift
[773/826] Compiling JellyfinAPI GetUtcTimeAPI.swift
[774/826] Compiling JellyfinAPI GetVariantHlsAudioPlaylistAPI.swift
[775/826] Compiling JellyfinAPI GetVariantHlsVideoPlaylistAPI.swift
[776/826] Compiling JellyfinAPI GetVideoStreamAPI.swift
[777/826] Compiling JellyfinAPI GetVideoStreamByContainerAPI.swift
[778/826] Compiling JellyfinAPI GetVirtualFoldersAPI.swift
[779/826] Compiling JellyfinAPI SyncPlayPingAPI.swift
[780/826] Compiling JellyfinAPI SyncPlayPreviousItemAPI.swift
[781/826] Compiling JellyfinAPI SyncPlayQueueAPI.swift
[782/826] Compiling JellyfinAPI SyncPlayReadyAPI.swift
[783/826] Compiling JellyfinAPI SyncPlayRemoveFromPlaylistAPI.swift
[784/826] Compiling JellyfinAPI SyncPlaySeekAPI.swift
[785/826] Compiling JellyfinAPI SyncPlaySetIgnoreWaitAPI.swift
[786/826] Compiling JellyfinAPI SyncPlaySetNewQueueAPI.swift
[787/826] Compiling JellyfinAPI SyncPlaySetPlaylistItemAPI.swift
[788/826] Compiling JellyfinAPI SyncPlaySetRepeatModeAPI.swift
[789/826] Compiling JellyfinAPI SyncPlaySetShuffleModeAPI.swift
[790/826] Compiling JellyfinAPI SyncPlayStopAPI.swift
[791/826] Compiling JellyfinAPI SyncPlayUnpauseAPI.swift
[792/826] Compiling JellyfinAPI TmdbClientConfigurationAPI.swift
[793/826] Compiling JellyfinAPI UninstallPluginAPI.swift
[794/826] Compiling JellyfinAPI UninstallPluginByVersionAPI.swift
[795/826] Compiling JellyfinAPI UnmarkFavoriteItemAPI.swift
[796/826] Compiling JellyfinAPI UpdateConfigurationAPI.swift
[797/826] Compiling JellyfinAPI UpdateDeviceOptionsAPI.swift
[798/826] Compiling JellyfinAPI UpdateDisplayPreferencesAPI.swift
[799/826] Compiling JellyfinAPI UpdateInitialConfigurationAPI.swift
[800/826] Compiling JellyfinAPI UpdateItemAPI.swift
[801/826] Compiling JellyfinAPI UpdateItemContentTypeAPI.swift
[802/826] Compiling JellyfinAPI UpdateItemImageIndexAPI.swift
[803/826] Compiling JellyfinAPI GetWakeOnLanInfoAPI.swift
[804/826] Compiling JellyfinAPI GetYearAPI.swift
[805/826] Compiling JellyfinAPI GetYearsAPI.swift
[806/826] Compiling JellyfinAPI HeadArtistImageAPI.swift
[807/826] Compiling JellyfinAPI HeadAudioStreamAPI.swift
[808/826] Compiling JellyfinAPI HeadAudioStreamByContainerAPI.swift
[809/826] Compiling JellyfinAPI HeadGenreImageAPI.swift
[810/826] Compiling JellyfinAPI HeadGenreImageByIndexAPI.swift
[811/826] Compiling JellyfinAPI HeadItemImage2API.swift
[812/826] Compiling JellyfinAPI HeadItemImageAPI.swift
[813/826] Compiling JellyfinAPI HeadItemImageByIndexAPI.swift
[814/826] Compiling JellyfinAPI HeadMasterHlsAudioPlaylistAPI.swift
[815/826] Compiling JellyfinAPI HeadMasterHlsVideoPlaylistAPI.swift
[816/826] Compiling JellyfinAPI HeadMusicGenreImageAPI.swift
[817/826] Compiling JellyfinAPI HeadMusicGenreImageByIndexAPI.swift
[818/826] Compiling JellyfinAPI HeadPersonImageAPI.swift
[819/826] Compiling JellyfinAPI HeadPersonImageByIndexAPI.swift
[820/826] Compiling JellyfinAPI HeadStudioImageAPI.swift
[821/826] Compiling JellyfinAPI HeadStudioImageByIndexAPI.swift
[822/826] Compiling JellyfinAPI HeadUniversalAudioStreamAPI.swift
[823/826] Compiling JellyfinAPI HeadUserImageAPI.swift
[824/826] Compiling JellyfinAPI HeadUserImageByIndexAPI.swift
[825/826] Compiling JellyfinAPI HeadVideoStreamAPI.swift
[826/826] Compiling JellyfinAPI HeadVideoStreamByContainerAPI.swift
BUILD FAILURE 6.0 linux