Build Information
Failed to build JellyfinAPI, reference main (106246
), with Swift 6.1 for Linux on 1 May 2025 03:58:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
:
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 {
[335/510] Compiling JellyfinAPI AnyJSON.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 {
[336/510] Compiling JellyfinAPI Paths.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 {
[337/510] Compiling JellyfinAPI StringCodingKey.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 {
[338/510] Compiling JellyfinAPI JellyfinClient.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 {
[339/534] Compiling JellyfinAPI SpecialViewOptionDto.swift
[340/534] Compiling JellyfinAPI StartupConfigurationDto.swift
[341/534] Compiling JellyfinAPI StartupRemoteAccessDto.swift
[342/534] Compiling JellyfinAPI StartupUserDto.swift
[343/534] Compiling JellyfinAPI StringGroupUpdate.swift
[344/534] Compiling JellyfinAPI SubtitleDeliveryMethod.swift
[345/534] Compiling JellyfinAPI SubtitleOptions.swift
[346/534] Compiling JellyfinAPI SubtitlePlaybackMode.swift
[347/534] Compiling JellyfinAPI SubtitleProfile.swift
[348/534] Compiling JellyfinAPI SyncPlayCommandMessage.swift
[349/534] Compiling JellyfinAPI SyncPlayGroupUpdateCommandMessage.swift
[350/534] Compiling JellyfinAPI SyncPlayQueueItem.swift
[351/534] Compiling JellyfinAPI SyncPlayUserAccessType.swift
[352/534] Compiling JellyfinAPI SystemInfo.swift
[353/534] Compiling JellyfinAPI TaskCompletionStatus.swift
[354/534] Compiling JellyfinAPI TaskInfo.swift
[355/534] Compiling JellyfinAPI TaskResult.swift
[356/534] Compiling JellyfinAPI TaskState.swift
[357/534] Compiling JellyfinAPI TaskTriggerInfo.swift
[358/534] Compiling JellyfinAPI TaskTriggerType.swift
[359/534] Compiling JellyfinAPI ThemeMediaResult.swift
[360/534] Compiling JellyfinAPI TimerCancelledMessage.swift
[361/534] Compiling JellyfinAPI TimerCreatedMessage.swift
[362/534] Compiling JellyfinAPI TimerEventInfo.swift
[363/534] Compiling JellyfinAPI TimerInfoDto.swift
[364/558] Compiling JellyfinAPI CreateProfileAPI.swift
[365/558] Compiling JellyfinAPI CreateSeriesTimerAPI.swift
[366/558] Compiling JellyfinAPI CreateTimerAPI.swift
[367/558] Compiling JellyfinAPI CreateUserByNameAPI.swift
[368/558] Compiling JellyfinAPI DeleteAlternateSourcesAPI.swift
[369/558] Compiling JellyfinAPI DeleteCustomSplashscreenAPI.swift
[370/558] Compiling JellyfinAPI DeleteDeviceAPI.swift
[371/558] Compiling JellyfinAPI DeleteItemAPI.swift
[372/558] Compiling JellyfinAPI DeleteItemImageAPI.swift
[373/558] Compiling JellyfinAPI DeleteItemImageByIndexAPI.swift
[374/558] Compiling JellyfinAPI DeleteItemsAPI.swift
[375/558] Compiling JellyfinAPI DeleteListingProviderAPI.swift
[376/558] Compiling JellyfinAPI DeleteLyricsAPI.swift
[377/558] Compiling JellyfinAPI DeleteProfileAPI.swift
[378/558] Compiling JellyfinAPI DeleteRecordingAPI.swift
[379/558] Compiling JellyfinAPI DeleteSubtitleAPI.swift
[380/558] Compiling JellyfinAPI DeleteTunerHostAPI.swift
[381/558] Compiling JellyfinAPI DeleteUserAPI.swift
[382/558] Compiling JellyfinAPI DeleteUserImageAPI.swift
[383/558] Compiling JellyfinAPI DeleteUserImageByIndexAPI.swift
[384/558] Compiling JellyfinAPI DeleteUserItemRatingAPI.swift
[385/558] Compiling JellyfinAPI DisablePluginAPI.swift
[386/558] Compiling JellyfinAPI DiscoverTunersAPI.swift
[387/558] Compiling JellyfinAPI DiscvoverTunersAPI.swift
[388/558] Compiling JellyfinAPI DisplayContentAPI.swift
[389/582] Compiling JellyfinAPI OpenISO8601Formatter.swift
/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()
[390/582] Compiling JellyfinAPI AddItemToPlaylistAPI.swift
/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()
[391/582] Compiling JellyfinAPI AddListingProviderAPI.swift
/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()
[392/582] Compiling JellyfinAPI AddMediaPathAPI.swift
/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()
[393/582] Compiling JellyfinAPI AddToCollectionAPI.swift
/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()
[394/582] Compiling JellyfinAPI AddToPlaylistAPI.swift
/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()
[395/582] Compiling JellyfinAPI AddTunerHostAPI.swift
/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()
[396/582] Compiling JellyfinAPI AddUserToSessionAPI.swift
/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()
[397/582] Compiling JellyfinAPI AddVirtualFolderAPI.swift
/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()
[398/582] Compiling JellyfinAPI ApplySearchCriteriaAPI.swift
/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()
[399/582] Compiling JellyfinAPI AuthenticateUserAPI.swift
/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()
[400/582] Compiling JellyfinAPI AuthenticateUserByNameAPI.swift
/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()
[401/582] Compiling JellyfinAPI AuthenticateWithQuickConnectAPI.swift
/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()
[402/582] Compiling JellyfinAPI AuthorizeAPI.swift
/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()
[403/582] Compiling JellyfinAPI AuthorizeQuickConnectAPI.swift
/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()
[404/582] Compiling JellyfinAPI CancelPackageInstallationAPI.swift
/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()
[405/582] Compiling JellyfinAPI CancelSeriesTimerAPI.swift
/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()
[406/582] Compiling JellyfinAPI CancelTimerAPI.swift
/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()
[407/582] Compiling JellyfinAPI CloseLiveStreamAPI.swift
/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()
[408/582] Compiling JellyfinAPI CompleteWizardAPI.swift
/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()
[409/582] Compiling JellyfinAPI ConnectAPI.swift
/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()
[410/582] Compiling JellyfinAPI CreateAdminNotificationAPI.swift
/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()
[411/582] Compiling JellyfinAPI CreateCollectionAPI.swift
/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()
[412/582] Compiling JellyfinAPI CreateKeyAPI.swift
/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()
[413/582] Compiling JellyfinAPI CreatePlaylistAPI.swift
/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()
[414/606] Compiling JellyfinAPI GetChannelAPI.swift
[415/606] Compiling JellyfinAPI GetChannelFeaturesAPI.swift
[416/606] Compiling JellyfinAPI GetChannelItemsAPI.swift
[417/606] Compiling JellyfinAPI GetChannelMappingOptionsAPI.swift
[418/606] Compiling JellyfinAPI GetChannelsAPI.swift
[419/606] Compiling JellyfinAPI GetConfigurationAPI.swift
[420/606] Compiling JellyfinAPI GetConfigurationPagesAPI.swift
[421/606] Compiling JellyfinAPI GetConnectionManager2API.swift
[422/606] Compiling JellyfinAPI GetConnectionManager3API.swift
[423/606] Compiling JellyfinAPI GetConnectionManagerAPI.swift
[424/606] Compiling JellyfinAPI GetContentDirectory2API.swift
[425/606] Compiling JellyfinAPI GetContentDirectory3API.swift
[426/606] Compiling JellyfinAPI GetContentDirectoryAPI.swift
[427/606] Compiling JellyfinAPI GetCountriesAPI.swift
[428/606] Compiling JellyfinAPI GetCriticReviewsAPI.swift
[429/606] Compiling JellyfinAPI GetCulturesAPI.swift
[430/606] Compiling JellyfinAPI GetCurrentUserAPI.swift
[431/606] Compiling JellyfinAPI GetDashboardConfigurationPageAPI.swift
[432/606] Compiling JellyfinAPI GetDefaultDirectoryBrowserAPI.swift
[433/606] Compiling JellyfinAPI GetDefaultListingProviderAPI.swift
[434/606] Compiling JellyfinAPI GetDefaultMetadataOptionsAPI.swift
[435/606] Compiling JellyfinAPI GetDefaultProfileAPI.swift
[436/606] Compiling JellyfinAPI GetDefaultTimerAPI.swift
[437/606] Compiling JellyfinAPI GetDescriptionXml2API.swift
[438/630] Compiling JellyfinAPI GetDescriptionXmlAPI.swift
[439/630] Compiling JellyfinAPI GetDeviceInfoAPI.swift
[440/630] Compiling JellyfinAPI GetDeviceOptionsAPI.swift
[441/630] Compiling JellyfinAPI GetDevicesAPI.swift
[442/630] Compiling JellyfinAPI GetDirectoryContentsAPI.swift
[443/630] Compiling JellyfinAPI GetDisplayPreferencesAPI.swift
[444/630] Compiling JellyfinAPI GetDownloadAPI.swift
[445/630] Compiling JellyfinAPI GetDrivesAPI.swift
[446/630] Compiling JellyfinAPI GetEnabledAPI.swift
[447/630] Compiling JellyfinAPI GetEndpointInfoAPI.swift
[448/630] Compiling JellyfinAPI GetEpisodesAPI.swift
[449/630] Compiling JellyfinAPI GetExternalIDInfosAPI.swift
[450/630] Compiling JellyfinAPI GetFallbackFontAPI.swift
[451/630] Compiling JellyfinAPI GetFallbackFontListAPI.swift
[452/630] Compiling JellyfinAPI GetFileAPI.swift
[453/630] Compiling JellyfinAPI GetFirstUser2API.swift
[454/630] Compiling JellyfinAPI GetFirstUserAPI.swift
[455/630] Compiling JellyfinAPI GetGeneralImageAPI.swift
[456/630] Compiling JellyfinAPI GetGeneralImagesAPI.swift
[457/630] Compiling JellyfinAPI GetGenreAPI.swift
[458/630] Compiling JellyfinAPI GetGenreImageAPI.swift
[459/630] Compiling JellyfinAPI GetGenreImageByIndexAPI.swift
[460/630] Compiling JellyfinAPI GetGenresAPI.swift
[461/630] Compiling JellyfinAPI GetGroupingOptionsAPI.swift
[462/654] Compiling JellyfinAPI SeriesInfo.swift
[463/654] Compiling JellyfinAPI SeriesInfoRemoteSearchQuery.swift
[464/654] Compiling JellyfinAPI SeriesStatus.swift
[465/654] Compiling JellyfinAPI SeriesTimerCancelledMessage.swift
[466/654] Compiling JellyfinAPI SeriesTimerCreatedMessage.swift
[467/654] Compiling JellyfinAPI SeriesTimerInfoDto.swift
[468/654] Compiling JellyfinAPI SeriesTimerInfoDtoQueryResult.swift
[469/654] Compiling JellyfinAPI ServerConfiguration.swift
[470/654] Compiling JellyfinAPI ServerDiscoveryInfo.swift
[471/654] Compiling JellyfinAPI ServerRestartingMessage.swift
[472/654] Compiling JellyfinAPI ServerShuttingDownMessage.swift
[473/654] Compiling JellyfinAPI SessionInfo.swift
[474/654] Compiling JellyfinAPI SessionInfoDto.swift
[475/654] Compiling JellyfinAPI SessionMessageType.swift
[476/654] Compiling JellyfinAPI SessionUserInfo.swift
[477/654] Compiling JellyfinAPI SessionsMessage.swift
[478/654] Compiling JellyfinAPI SessionsStartMessage.swift
[479/654] Compiling JellyfinAPI SessionsStopMessage.swift
[480/654] Compiling JellyfinAPI SetChannelMappingDto.swift
[481/654] Compiling JellyfinAPI SetPlaylistItemRequestDto.swift
[482/654] Compiling JellyfinAPI SetRepeatModeRequestDto.swift
[483/654] Compiling JellyfinAPI SetShuffleModeRequestDto.swift
[484/654] Compiling JellyfinAPI SongInfo.swift
[485/654] Compiling JellyfinAPI SortOrder.swift
[486/654] Compiling JellyfinAPI SpecialFeatureType.swift
[487/678] Compiling JellyfinAPI GetMediaInfoImagesAPI.swift
[488/678] Compiling JellyfinAPI GetMediaReceiverRegistrar2API.swift
[489/678] Compiling JellyfinAPI GetMediaReceiverRegistrar3API.swift
[490/678] Compiling JellyfinAPI GetMediaReceiverRegistrarAPI.swift
[491/678] Compiling JellyfinAPI GetMetadataEditorInfoAPI.swift
[492/678] Compiling JellyfinAPI GetMovieRecommendationsAPI.swift
[493/678] Compiling JellyfinAPI GetMovieRemoteSearchResultsAPI.swift
[494/678] Compiling JellyfinAPI GetMusicAlbumRemoteSearchResultsAPI.swift
[495/678] Compiling JellyfinAPI GetMusicArtistRemoteSearchResultsAPI.swift
[496/678] Compiling JellyfinAPI GetMusicGenreAPI.swift
[497/678] Compiling JellyfinAPI GetMusicGenreImageAPI.swift
[498/678] Compiling JellyfinAPI GetMusicGenreImageByIndexAPI.swift
[499/678] Compiling JellyfinAPI GetMusicGenresAPI.swift
[500/678] Compiling JellyfinAPI GetMusicVideoRemoteSearchResultsAPI.swift
[501/678] Compiling JellyfinAPI GetNamedConfigurationAPI.swift
[502/678] Compiling JellyfinAPI GetNetworkSharesAPI.swift
[503/678] Compiling JellyfinAPI GetNextUpAPI.swift
[504/678] Compiling JellyfinAPI GetNotificationServicesAPI.swift
[505/678] Compiling JellyfinAPI GetNotificationTypesAPI.swift
[506/678] Compiling JellyfinAPI GetNotificationsAPI.swift
[507/678] Compiling JellyfinAPI GetNotificationsSummaryAPI.swift
[508/678] Compiling JellyfinAPI GetPackageInfoAPI.swift
[509/678] Compiling JellyfinAPI GetPackagesAPI.swift
[510/678] Compiling JellyfinAPI GetParentPathAPI.swift
[511/678] Compiling JellyfinAPI DownloadRemoteImageAPI.swift
[512/678] Compiling JellyfinAPI DownloadRemoteLyricsAPI.swift
[513/678] Compiling JellyfinAPI DownloadRemoteSubtitlesAPI.swift
[514/678] Compiling JellyfinAPI EnablePluginAPI.swift
[515/678] Compiling JellyfinAPI ForgotPasswordAPI.swift
[516/678] Compiling JellyfinAPI ForgotPasswordPinAPI.swift
[517/678] Compiling JellyfinAPI GetAPI.swift
[518/678] Compiling JellyfinAPI GetAdditionalPartAPI.swift
[519/678] Compiling JellyfinAPI GetAlbumArtistsAPI.swift
[520/678] Compiling JellyfinAPI GetAllChannelFeaturesAPI.swift
[521/678] Compiling JellyfinAPI GetAncestorsAPI.swift
[522/678] Compiling JellyfinAPI GetArtistByNameAPI.swift
[523/678] Compiling JellyfinAPI GetArtistImageAPI.swift
[524/678] Compiling JellyfinAPI GetArtistsAPI.swift
[525/678] Compiling JellyfinAPI GetAttachmentAPI.swift
[526/678] Compiling JellyfinAPI GetAudioStreamAPI.swift
[527/678] Compiling JellyfinAPI GetAudioStreamByContainerAPI.swift
[528/678] Compiling JellyfinAPI GetAuthProvidersAPI.swift
[529/678] Compiling JellyfinAPI GetBitrateTestBytesAPI.swift
[530/678] Compiling JellyfinAPI GetBookRemoteSearchResultsAPI.swift
[531/678] Compiling JellyfinAPI GetBoxSetRemoteSearchResultsAPI.swift
[532/678] Compiling JellyfinAPI GetBrandingCss2API.swift
[533/678] Compiling JellyfinAPI GetBrandingCssAPI.swift
[534/678] Compiling JellyfinAPI GetBrandingOptionsAPI.swift
[535/726] Compiling JellyfinAPI GetParentalRatingsAPI.swift
[536/726] Compiling JellyfinAPI GetPasswordResetProvidersAPI.swift
[537/726] Compiling JellyfinAPI GetPersonAPI.swift
[538/726] Compiling JellyfinAPI GetPersonImageAPI.swift
[539/726] Compiling JellyfinAPI GetPersonImageByIndexAPI.swift
[540/726] Compiling JellyfinAPI GetPersonRemoteSearchResultsAPI.swift
[541/726] Compiling JellyfinAPI GetPersonsAPI.swift
[542/726] Compiling JellyfinAPI GetPhysicalPathsAPI.swift
[543/726] Compiling JellyfinAPI GetPingSystemAPI.swift
[544/726] Compiling JellyfinAPI GetPlaybackInfoAPI.swift
[545/726] Compiling JellyfinAPI GetPlaylistAPI.swift
[546/726] Compiling JellyfinAPI GetPlaylistItemsAPI.swift
[547/726] Compiling JellyfinAPI GetPlaylistUserAPI.swift
[548/726] Compiling JellyfinAPI GetPlaylistUsersAPI.swift
[549/726] Compiling JellyfinAPI GetPluginConfigurationAPI.swift
[550/726] Compiling JellyfinAPI GetPluginImageAPI.swift
[551/726] Compiling JellyfinAPI GetPluginManifestAPI.swift
[552/726] Compiling JellyfinAPI GetPluginsAPI.swift
[553/726] Compiling JellyfinAPI GetPostedPlaybackInfoAPI.swift
[554/726] Compiling JellyfinAPI GetProfileAPI.swift
[555/726] Compiling JellyfinAPI GetProfileInfosAPI.swift
[556/726] Compiling JellyfinAPI GetProgramAPI.swift
[557/726] Compiling JellyfinAPI GetProgramsAPI.swift
[558/726] Compiling JellyfinAPI GetPublicSystemInfoAPI.swift
[559/726] Compiling JellyfinAPI GetGuideInfoAPI.swift
[560/726] Compiling JellyfinAPI GetHlsAudioSegmentAPI.swift
[561/726] Compiling JellyfinAPI GetHlsAudioSegmentLegacyAacAPI.swift
[562/726] Compiling JellyfinAPI GetHlsAudioSegmentLegacyMp3API.swift
[563/726] Compiling JellyfinAPI GetHlsPlaylistLegacyAPI.swift
[564/726] Compiling JellyfinAPI GetHlsVideoSegmentAPI.swift
[565/726] Compiling JellyfinAPI GetHlsVideoSegmentLegacyAPI.swift
[566/726] Compiling JellyfinAPI GetIconAPI.swift
[567/726] Compiling JellyfinAPI GetIconIDAPI.swift
[568/726] Compiling JellyfinAPI GetInstantMixFromAlbumAPI.swift
[569/726] Compiling JellyfinAPI GetInstantMixFromArtists2API.swift
[570/726] Compiling JellyfinAPI GetInstantMixFromArtistsAPI.swift
[571/726] Compiling JellyfinAPI GetInstantMixFromItemAPI.swift
[572/726] Compiling JellyfinAPI GetInstantMixFromMusicGenreByIDAPI.swift
[573/726] Compiling JellyfinAPI GetInstantMixFromMusicGenreByNameAPI.swift
[574/726] Compiling JellyfinAPI GetInstantMixFromPlaylistAPI.swift
[575/726] Compiling JellyfinAPI GetInstantMixFromSongAPI.swift
[576/726] Compiling JellyfinAPI GetIntrosAPI.swift
[577/726] Compiling JellyfinAPI GetItemAPI.swift
[578/726] Compiling JellyfinAPI GetItemCountsAPI.swift
[579/726] Compiling JellyfinAPI GetItemImage2API.swift
[580/726] Compiling JellyfinAPI GetItemImageAPI.swift
[581/726] Compiling JellyfinAPI GetItemImageByIndexAPI.swift
[582/726] Compiling JellyfinAPI GetItemImageInfosAPI.swift
[583/774] Compiling JellyfinAPI GetPublicUsersAPI.swift
[584/774] Compiling JellyfinAPI GetQueryFiltersAPI.swift
[585/774] Compiling JellyfinAPI GetQueryFiltersLegacyAPI.swift
[586/774] Compiling JellyfinAPI GetQuickConnectEnabledAPI.swift
[587/774] Compiling JellyfinAPI GetQuickConnectStateAPI.swift
[588/774] Compiling JellyfinAPI GetRatingImageAPI.swift
[589/774] Compiling JellyfinAPI GetRatingImagesAPI.swift
[590/774] Compiling JellyfinAPI GetRecommendedProgramsAPI.swift
[591/774] Compiling JellyfinAPI GetRecordingAPI.swift
[592/774] Compiling JellyfinAPI GetRecordingFoldersAPI.swift
[593/774] Compiling JellyfinAPI GetRecordingGroupAPI.swift
[594/774] Compiling JellyfinAPI GetRecordingGroupsAPI.swift
[595/774] Compiling JellyfinAPI GetRecordingsAPI.swift
[596/774] Compiling JellyfinAPI GetRecordingsSeriesAPI.swift
[597/774] Compiling JellyfinAPI GetRemoteImageProvidersAPI.swift
[598/774] Compiling JellyfinAPI GetRemoteImagesAPI.swift
[599/774] Compiling JellyfinAPI GetRemoteLyricsAPI.swift
[600/774] Compiling JellyfinAPI GetRemoteSubtitlesAPI.swift
[601/774] Compiling JellyfinAPI GetRepositoriesAPI.swift
[602/774] Compiling JellyfinAPI GetResumeItemsAPI.swift
[603/774] Compiling JellyfinAPI GetRootFolderAPI.swift
[604/774] Compiling JellyfinAPI GetSchedulesDirectCountriesAPI.swift
[605/774] Compiling JellyfinAPI GetSearchHintsAPI.swift
[606/774] Compiling JellyfinAPI GetSeasonsAPI.swift
[607/798] Compiling JellyfinAPI GetItemSegmentsAPI.swift
[608/798] Compiling JellyfinAPI GetItemUserDataAPI.swift
[609/798] Compiling JellyfinAPI GetItemsAPI.swift
[610/798] Compiling JellyfinAPI GetItemsByUserIDAPI.swift
[611/798] Compiling JellyfinAPI GetKeysAPI.swift
[612/798] Compiling JellyfinAPI GetLatestChannelItemsAPI.swift
[613/798] Compiling JellyfinAPI GetLatestMediaAPI.swift
[614/798] Compiling JellyfinAPI GetLibraryOptionsInfoAPI.swift
[615/798] Compiling JellyfinAPI GetLineupsAPI.swift
[616/798] Compiling JellyfinAPI GetLiveHlsStreamAPI.swift
[617/798] Compiling JellyfinAPI GetLiveRecordingFileAPI.swift
[618/798] Compiling JellyfinAPI GetLiveStreamFileAPI.swift
[619/798] Compiling JellyfinAPI GetLiveTvChannelsAPI.swift
[620/798] Compiling JellyfinAPI GetLiveTvInfoAPI.swift
[621/798] Compiling JellyfinAPI GetLiveTvProgramsAPI.swift
[622/798] Compiling JellyfinAPI GetLocalTrailersAPI.swift
[623/798] Compiling JellyfinAPI GetLocalizationOptionsAPI.swift
[624/798] Compiling JellyfinAPI GetLogEntriesAPI.swift
[625/798] Compiling JellyfinAPI GetLogFileAPI.swift
[626/798] Compiling JellyfinAPI GetLyricsAPI.swift
[627/798] Compiling JellyfinAPI GetMasterHlsAudioPlaylistAPI.swift
[628/798] Compiling JellyfinAPI GetMasterHlsVideoPlaylistAPI.swift
[629/798] Compiling JellyfinAPI GetMediaFoldersAPI.swift
[630/798] Compiling JellyfinAPI GetMediaInfoImageAPI.swift
[631/822] 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)
[632/822] 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)
[633/822] 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)
[634/822] 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)
[635/822] 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)
[636/822] 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)
[637/822] 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)
[638/822] 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)
[639/822] 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)
[640/822] 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)
[641/822] 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)
[642/822] 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)
[643/822] 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)
[644/822] 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)
[645/822] 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)
[646/822] 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)
[647/822] 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)
[648/822] 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)
[649/822] 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)
[650/822] 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)
[651/822] 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)
[652/822] 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)
[653/822] 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)
[654/822] 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)
[655/822] Compiling JellyfinAPI SendFullGeneralCommandAPI.swift
[656/822] Compiling JellyfinAPI SendGeneralCommandAPI.swift
[657/822] Compiling JellyfinAPI SendMessageCommandAPI.swift
[658/822] Compiling JellyfinAPI SendPlaystateCommandAPI.swift
[659/822] Compiling JellyfinAPI SendSystemCommandAPI.swift
[660/822] Compiling JellyfinAPI SetChannelMappingAPI.swift
[661/822] Compiling JellyfinAPI SetItemImageAPI.swift
[662/822] Compiling JellyfinAPI SetItemImageByIndexAPI.swift
[663/822] Compiling JellyfinAPI SetReadAPI.swift
[664/822] Compiling JellyfinAPI SetRemoteAccessAPI.swift
[665/822] Compiling JellyfinAPI SetRepositoriesAPI.swift
[666/822] Compiling JellyfinAPI SetUnreadAPI.swift
[667/822] Compiling JellyfinAPI ShutdownApplicationAPI.swift
[668/822] Compiling JellyfinAPI StartTaskAPI.swift
[669/822] Compiling JellyfinAPI StopEncodingProcessAPI.swift
[670/822] Compiling JellyfinAPI StopTaskAPI.swift
[671/822] Compiling JellyfinAPI SyncPlayBufferingAPI.swift
[672/822] Compiling JellyfinAPI SyncPlayCreateGroupAPI.swift
[673/822] Compiling JellyfinAPI SyncPlayGetGroupsAPI.swift
[674/822] Compiling JellyfinAPI SyncPlayJoinGroupAPI.swift
[675/822] Compiling JellyfinAPI SyncPlayLeaveGroupAPI.swift
[676/822] Compiling JellyfinAPI SyncPlayMovePlaylistItemAPI.swift
[677/822] Compiling JellyfinAPI SyncPlayNextItemAPI.swift
[678/822] Compiling JellyfinAPI SyncPlayPauseAPI.swift
[679/822] Compiling JellyfinAPI GetSeriesRemoteSearchResultsAPI.swift
[680/822] Compiling JellyfinAPI GetSeriesTimerAPI.swift
[681/822] Compiling JellyfinAPI GetSeriesTimersAPI.swift
[682/822] Compiling JellyfinAPI GetServerLogsAPI.swift
[683/822] Compiling JellyfinAPI GetSessionsAPI.swift
[684/822] Compiling JellyfinAPI GetSimilarAlbumsAPI.swift
[685/822] Compiling JellyfinAPI GetSimilarArtistsAPI.swift
[686/822] Compiling JellyfinAPI GetSimilarItemsAPI.swift
[687/822] Compiling JellyfinAPI GetSimilarMoviesAPI.swift
[688/822] Compiling JellyfinAPI GetSimilarShowsAPI.swift
[689/822] Compiling JellyfinAPI GetSimilarTrailersAPI.swift
[690/822] Compiling JellyfinAPI GetSpecialFeaturesAPI.swift
[691/822] Compiling JellyfinAPI GetSplashscreenAPI.swift
[692/822] Compiling JellyfinAPI GetStartupConfigurationAPI.swift
[693/822] Compiling JellyfinAPI GetStudioAPI.swift
[694/822] Compiling JellyfinAPI GetStudioImageAPI.swift
[695/822] Compiling JellyfinAPI GetStudioImageByIndexAPI.swift
[696/822] Compiling JellyfinAPI GetStudiosAPI.swift
[697/822] Compiling JellyfinAPI GetSubtitleAPI.swift
[698/822] Compiling JellyfinAPI GetSubtitlePlaylistAPI.swift
[699/822] Compiling JellyfinAPI GetSubtitleWithTicksAPI.swift
[700/822] Compiling JellyfinAPI GetSuggestionsAPI.swift
[701/822] Compiling JellyfinAPI GetSystemInfoAPI.swift
[702/822] Compiling JellyfinAPI GetTaskAPI.swift
[703/822] Compiling JellyfinAPI SyncPlayPingAPI.swift
[704/822] Compiling JellyfinAPI SyncPlayPreviousItemAPI.swift
[705/822] Compiling JellyfinAPI SyncPlayQueueAPI.swift
[706/822] Compiling JellyfinAPI SyncPlayReadyAPI.swift
[707/822] Compiling JellyfinAPI SyncPlayRemoveFromPlaylistAPI.swift
[708/822] Compiling JellyfinAPI SyncPlaySeekAPI.swift
[709/822] Compiling JellyfinAPI SyncPlaySetIgnoreWaitAPI.swift
[710/822] Compiling JellyfinAPI SyncPlaySetNewQueueAPI.swift
[711/822] Compiling JellyfinAPI SyncPlaySetPlaylistItemAPI.swift
[712/822] Compiling JellyfinAPI SyncPlaySetRepeatModeAPI.swift
[713/822] Compiling JellyfinAPI SyncPlaySetShuffleModeAPI.swift
[714/822] Compiling JellyfinAPI SyncPlayStopAPI.swift
[715/822] Compiling JellyfinAPI SyncPlayUnpauseAPI.swift
[716/822] Compiling JellyfinAPI TmdbClientConfigurationAPI.swift
[717/822] Compiling JellyfinAPI UninstallPluginAPI.swift
[718/822] Compiling JellyfinAPI UninstallPluginByVersionAPI.swift
[719/822] Compiling JellyfinAPI UnmarkFavoriteItemAPI.swift
[720/822] Compiling JellyfinAPI UpdateConfigurationAPI.swift
[721/822] Compiling JellyfinAPI UpdateDeviceOptionsAPI.swift
[722/822] Compiling JellyfinAPI UpdateDisplayPreferencesAPI.swift
[723/822] Compiling JellyfinAPI UpdateInitialConfigurationAPI.swift
[724/822] Compiling JellyfinAPI UpdateItemAPI.swift
[725/822] Compiling JellyfinAPI UpdateItemContentTypeAPI.swift
[726/822] Compiling JellyfinAPI UpdateItemImageIndexAPI.swift
[727/822] Compiling JellyfinAPI PostUserImageByIndexAPI.swift
[728/822] Compiling JellyfinAPI ProcessConnectionManagerControlRequestAPI.swift
[729/822] Compiling JellyfinAPI ProcessContentDirectoryControlRequestAPI.swift
[730/822] Compiling JellyfinAPI ProcessMediaReceiverRegistrarControlRequestAPI.swift
[731/822] Compiling JellyfinAPI RefreshItemAPI.swift
[732/822] Compiling JellyfinAPI RefreshLibraryAPI.swift
[733/822] Compiling JellyfinAPI RemoveFromCollectionAPI.swift
[734/822] Compiling JellyfinAPI RemoveFromPlaylistAPI.swift
[735/822] Compiling JellyfinAPI RemoveItemFromPlaylistAPI.swift
[736/822] Compiling JellyfinAPI RemoveMediaPathAPI.swift
[737/822] Compiling JellyfinAPI RemoveUserFromPlaylistAPI.swift
[738/822] Compiling JellyfinAPI RemoveUserFromSessionAPI.swift
[739/822] Compiling JellyfinAPI RemoveVirtualFolderAPI.swift
[740/822] Compiling JellyfinAPI RenameVirtualFolderAPI.swift
[741/822] Compiling JellyfinAPI ReportPlaybackProgressAPI.swift
[742/822] Compiling JellyfinAPI ReportPlaybackStartAPI.swift
[743/822] Compiling JellyfinAPI ReportPlaybackStoppedAPI.swift
[744/822] Compiling JellyfinAPI ReportSessionEndedAPI.swift
[745/822] Compiling JellyfinAPI ReportViewingAPI.swift
[746/822] Compiling JellyfinAPI ResetTunerAPI.swift
[747/822] Compiling JellyfinAPI RestartApplicationAPI.swift
[748/822] Compiling JellyfinAPI RevokeKeyAPI.swift
[749/822] Compiling JellyfinAPI SearchRemoteLyricsAPI.swift
[750/822] Compiling JellyfinAPI SearchRemoteSubtitlesAPI.swift
[751/822] Compiling JellyfinAPI InitiateAPI.swift
[752/822] Compiling JellyfinAPI InitiateQuickConnectAPI.swift
[753/822] Compiling JellyfinAPI InstallPackageAPI.swift
[754/822] Compiling JellyfinAPI LogFileAPI.swift
[755/822] Compiling JellyfinAPI MarkFavoriteItemAPI.swift
[756/822] Compiling JellyfinAPI MarkPlayedItemAPI.swift
[757/822] Compiling JellyfinAPI MarkUnplayedItemAPI.swift
[758/822] Compiling JellyfinAPI MergeVersionsAPI.swift
[759/822] Compiling JellyfinAPI MoveItemAPI.swift
[760/822] Compiling JellyfinAPI OnPlaybackProgressAPI.swift
[761/822] Compiling JellyfinAPI OnPlaybackStartAPI.swift
[762/822] Compiling JellyfinAPI OnPlaybackStoppedAPI.swift
[763/822] Compiling JellyfinAPI OpenLiveStreamAPI.swift
[764/822] Compiling JellyfinAPI PingPlaybackSessionAPI.swift
[765/822] Compiling JellyfinAPI PlayAPI.swift
[766/822] Compiling JellyfinAPI PostAddedMoviesAPI.swift
[767/822] Compiling JellyfinAPI PostAddedSeriesAPI.swift
[768/822] Compiling JellyfinAPI PostCapabilitiesAPI.swift
[769/822] Compiling JellyfinAPI PostFullCapabilitiesAPI.swift
[770/822] Compiling JellyfinAPI PostPingSystemAPI.swift
[771/822] Compiling JellyfinAPI PostUpdatedMediaAPI.swift
[772/822] Compiling JellyfinAPI PostUpdatedMoviesAPI.swift
[773/822] Compiling JellyfinAPI PostUpdatedSeriesAPI.swift
[774/822] Compiling JellyfinAPI PostUserImageAPI.swift
[775/822] Compiling JellyfinAPI GetTasksAPI.swift
[776/822] Compiling JellyfinAPI GetThemeMediaAPI.swift
[777/822] Compiling JellyfinAPI GetThemeSongsAPI.swift
[778/822] Compiling JellyfinAPI GetThemeVideosAPI.swift
[779/822] Compiling JellyfinAPI GetTimerAPI.swift
[780/822] Compiling JellyfinAPI GetTimersAPI.swift
[781/822] Compiling JellyfinAPI GetTrailerRemoteSearchResultsAPI.swift
[782/822] Compiling JellyfinAPI GetTrailersAPI.swift
[783/822] Compiling JellyfinAPI GetTrickplayHlsPlaylistAPI.swift
[784/822] Compiling JellyfinAPI GetTrickplayTileImageAPI.swift
[785/822] Compiling JellyfinAPI GetTunerHostTypesAPI.swift
[786/822] Compiling JellyfinAPI GetUniversalAudioStreamAPI.swift
[787/822] Compiling JellyfinAPI GetUpcomingEpisodesAPI.swift
[788/822] Compiling JellyfinAPI GetUserByIDAPI.swift
[789/822] Compiling JellyfinAPI GetUserImageAPI.swift
[790/822] Compiling JellyfinAPI GetUserImageByIndexAPI.swift
[791/822] Compiling JellyfinAPI GetUserViewsAPI.swift
[792/822] Compiling JellyfinAPI GetUsersAPI.swift
[793/822] Compiling JellyfinAPI GetUtcTimeAPI.swift
[794/822] Compiling JellyfinAPI GetVariantHlsAudioPlaylistAPI.swift
[795/822] Compiling JellyfinAPI GetVariantHlsVideoPlaylistAPI.swift
[796/822] Compiling JellyfinAPI GetVideoStreamAPI.swift
[797/822] Compiling JellyfinAPI GetVideoStreamByContainerAPI.swift
[798/822] Compiling JellyfinAPI GetVirtualFoldersAPI.swift
[799/822] Compiling JellyfinAPI GetWakeOnLanInfoAPI.swift
[800/822] Compiling JellyfinAPI GetYearAPI.swift
[801/822] Compiling JellyfinAPI GetYearsAPI.swift
[802/822] Compiling JellyfinAPI HeadArtistImageAPI.swift
[803/822] Compiling JellyfinAPI HeadAudioStreamAPI.swift
[804/822] Compiling JellyfinAPI HeadAudioStreamByContainerAPI.swift
[805/822] Compiling JellyfinAPI HeadGenreImageAPI.swift
[806/822] Compiling JellyfinAPI HeadGenreImageByIndexAPI.swift
[807/822] Compiling JellyfinAPI HeadItemImage2API.swift
[808/822] Compiling JellyfinAPI HeadItemImageAPI.swift
[809/822] Compiling JellyfinAPI HeadItemImageByIndexAPI.swift
[810/822] Compiling JellyfinAPI HeadMasterHlsAudioPlaylistAPI.swift
[811/822] Compiling JellyfinAPI HeadMasterHlsVideoPlaylistAPI.swift
[812/822] Compiling JellyfinAPI HeadMusicGenreImageAPI.swift
[813/822] Compiling JellyfinAPI HeadMusicGenreImageByIndexAPI.swift
[814/822] Compiling JellyfinAPI HeadPersonImageAPI.swift
[815/822] Compiling JellyfinAPI HeadPersonImageByIndexAPI.swift
[816/822] Compiling JellyfinAPI HeadStudioImageAPI.swift
[817/822] Compiling JellyfinAPI HeadStudioImageByIndexAPI.swift
[818/822] Compiling JellyfinAPI HeadUniversalAudioStreamAPI.swift
[819/822] Compiling JellyfinAPI HeadUserImageAPI.swift
[820/822] Compiling JellyfinAPI HeadUserImageByIndexAPI.swift
[821/822] Compiling JellyfinAPI HeadVideoStreamAPI.swift
[822/822] Compiling JellyfinAPI HeadVideoStreamByContainerAPI.swift
BUILD FAILURE 6.1 linux