Build Information
Failed to build JellyfinAPI, reference 0.5.1 (106246
), with Swift 5.10 for Linux on 30 Mar 2025 22:19:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[232/416] Compiling JellyfinAPI VideoType.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[233/416] Compiling JellyfinAPI VirtualFolderInfo.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[234/416] Compiling JellyfinAPI WakeOnLanInfo.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[235/416] Compiling JellyfinAPI WebSocketMessage.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[236/416] Compiling JellyfinAPI XbmcMetadataOptions.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[237/416] Compiling JellyfinAPI XmlAttribute.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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[238/416] 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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[239/416] 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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[240/416] 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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[241/416] 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.
private let sessionConfiguration: URLSessionConfiguration
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:30:26: error: cannot find type 'URLSessionDelegate' in scope
sessionDelegate: URLSessionDelegate? = 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.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:29:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:116:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:117:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:124:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:125:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:132:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
delegate: URLSessionDownloadDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:76: error: cannot find type 'URLRequest' in scope
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/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.
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: warning: instance method 'client(_:willSendRequest:)' nearly matches defaulted requirement 'client(_:willSendRequest:)' of protocol 'APIClientDelegate'
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:156:17: note: move 'client(_:willSendRequest:)' to another extension to silence this warning
public func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:10: note: requirement 'client(_:willSendRequest:)' declared here
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^
/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'
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: candidate has non-matching type '(APIClient, HTTPURLResponse, Data, URLSessionTask) throws -> ()' (aka '(APIClient, AnyObject, Data, AnyObject) throws -> ()')
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:163:17: note: move 'client(_:validateResponse:data:task:)' to another extension to silence this warning
public func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:10: note: requirement 'client(_:validateResponse:data:task:)' declared here
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/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'
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: candidate has non-matching type '(APIClient, URLSessionTask, any Error, Int) async throws -> Bool' (aka '(APIClient, AnyObject, any Error, Int) async throws -> Bool')
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:173:17: note: move 'client(_:shouldRetry:error:attempts:)' to another extension to silence this warning
public func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:10: note: requirement 'client(_:shouldRetry:error:attempts:)' declared here
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: error: 'Foundation.URLSessionConfiguration' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionConfiguration'
configuration.sessionConfiguration = sessionConfiguration
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:40:50: note: did you mean to use 'as!' to force downcast?
configuration.sessionConfiguration = sessionConfiguration
^
as! URLSessionConfiguration
/host/spi-builder-workspace/Sources/JellyfinClient.swift:127:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(for: request, delegate: delegate, configure: configure)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:134:30: error: value of type 'APIClient' has no member 'download'
try await _apiClient.download(resumeFrom: resumeData, delegate: delegate)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:165:26: error: no exact matches in call to instance method 'client'
try delegate.client(_apiClient, validateResponse: response, data: data, task: task)
^
/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)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:10: note: candidate has partially matching parameter list (APIClient, validateResponse: HTTPURLResponse, data: Data, task: URLSessionTask)
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:167:51: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200 ..< 300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:168:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: error: 'Foundation.URLSessionTask' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSessionTask'
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:174:61: note: did you mean to use 'as!' to force downcast?
try await delegate?.client(_apiClient, shouldRetry: task, error: error, attempts: attempts) ?? false
^
as! URLSessionTask
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:199:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:28: warning: no 'async' operations occur within 'await' expression
let response = try await send(request).value
^
/host/spi-builder-workspace/Sources/JellyfinClient.swift:222:24: warning: no calls to throwing functions occur within 'try' expression
let response = try await send(request).value
^
[242/441] Compiling JellyfinAPI MovieInfo.swift
[243/441] Compiling JellyfinAPI MovieInfoRemoteSearchQuery.swift
[244/441] Compiling JellyfinAPI MusicVideoInfo.swift
[245/441] Compiling JellyfinAPI MusicVideoInfoRemoteSearchQuery.swift
[246/441] Compiling JellyfinAPI NameGuidPair.swift
[247/441] Compiling JellyfinAPI NameIDPair.swift
[248/441] Compiling JellyfinAPI NameValuePair.swift
[249/441] Compiling JellyfinAPI NetworkConfiguration.swift
[250/441] Compiling JellyfinAPI NewGroupRequestDto.swift
[251/441] Compiling JellyfinAPI NextItemRequestDto.swift
[252/441] Compiling JellyfinAPI NotificationDto.swift
[253/441] Compiling JellyfinAPI NotificationLevel.swift
[254/441] Compiling JellyfinAPI NotificationOption.swift
[255/441] Compiling JellyfinAPI NotificationOptions.swift
[256/441] Compiling JellyfinAPI NotificationResultDto.swift
[257/441] Compiling JellyfinAPI NotificationTypeInfo.swift
[258/441] Compiling JellyfinAPI NotificationsSummaryDto.swift
[259/441] Compiling JellyfinAPI ObjectGroupUpdate.swift
[260/441] Compiling JellyfinAPI OpenLiveStreamDto.swift
[261/441] Compiling JellyfinAPI OutboundKeepAliveMessage.swift
[262/441] Compiling JellyfinAPI OutboundWebSocketMessage.swift
[263/441] Compiling JellyfinAPI PackageInfo.swift
[264/441] Compiling JellyfinAPI ParentalRating.swift
[265/441] Compiling JellyfinAPI PathSubstitution.swift
[266/441] Compiling JellyfinAPI PersonKind.swift
[267/465] Compiling JellyfinAPI TimerInfoDtoQueryResult.swift
[268/465] Compiling JellyfinAPI TonemappingAlgorithm.swift
[269/465] Compiling JellyfinAPI TonemappingMode.swift
[270/465] Compiling JellyfinAPI TonemappingRange.swift
[271/465] Compiling JellyfinAPI TrailerInfo.swift
[272/465] Compiling JellyfinAPI TrailerInfoRemoteSearchQuery.swift
[273/465] Compiling JellyfinAPI TranscodeReason.swift
[274/465] Compiling JellyfinAPI TranscodeSeekInfo.swift
[275/465] Compiling JellyfinAPI TranscodingInfo.swift
[276/465] Compiling JellyfinAPI TranscodingProfile.swift
[277/465] Compiling JellyfinAPI TransportStreamTimestamp.swift
[278/465] Compiling JellyfinAPI TrickplayInfo.swift
[279/465] Compiling JellyfinAPI TrickplayOptions.swift
[280/465] Compiling JellyfinAPI TrickplayScanBehavior.swift
[281/465] Compiling JellyfinAPI TunerChannelMapping.swift
[282/465] Compiling JellyfinAPI TunerHostInfo.swift
[283/465] Compiling JellyfinAPI TypeOptions.swift
[284/465] Compiling JellyfinAPI UnratedItem.swift
[285/465] Compiling JellyfinAPI UpdateLibraryOptionsDto.swift
[286/465] Compiling JellyfinAPI UpdateMediaPathRequestDto.swift
[287/465] Compiling JellyfinAPI UpdatePlaylistDto.swift
[288/465] Compiling JellyfinAPI UpdatePlaylistUserDto.swift
[289/465] Compiling JellyfinAPI UpdateUserEasyPassword.swift
[290/465] Compiling JellyfinAPI UpdateUserItemDataDto.swift
[291/465] Compiling JellyfinAPI UpdateUserPassword.swift
[292/489] Compiling JellyfinAPI OpenISO8601Formatter.swift
[293/489] Compiling JellyfinAPI AddItemToPlaylistAPI.swift
[294/489] Compiling JellyfinAPI AddListingProviderAPI.swift
[295/489] Compiling JellyfinAPI AddMediaPathAPI.swift
[296/489] Compiling JellyfinAPI AddToCollectionAPI.swift
[297/489] Compiling JellyfinAPI AddToPlaylistAPI.swift
[298/489] Compiling JellyfinAPI AddTunerHostAPI.swift
[299/489] Compiling JellyfinAPI AddUserToSessionAPI.swift
[300/489] Compiling JellyfinAPI AddVirtualFolderAPI.swift
[301/489] Compiling JellyfinAPI ApplySearchCriteriaAPI.swift
[302/489] Compiling JellyfinAPI AuthenticateUserAPI.swift
[303/489] Compiling JellyfinAPI AuthenticateUserByNameAPI.swift
[304/489] Compiling JellyfinAPI AuthenticateWithQuickConnectAPI.swift
[305/489] Compiling JellyfinAPI AuthorizeAPI.swift
[306/489] Compiling JellyfinAPI AuthorizeQuickConnectAPI.swift
[307/489] Compiling JellyfinAPI CancelPackageInstallationAPI.swift
[308/489] Compiling JellyfinAPI CancelSeriesTimerAPI.swift
[309/489] Compiling JellyfinAPI CancelTimerAPI.swift
[310/489] Compiling JellyfinAPI CloseLiveStreamAPI.swift
[311/489] Compiling JellyfinAPI CompleteWizardAPI.swift
[312/489] Compiling JellyfinAPI ConnectAPI.swift
[313/489] Compiling JellyfinAPI CreateAdminNotificationAPI.swift
[314/489] Compiling JellyfinAPI CreateCollectionAPI.swift
[315/489] Compiling JellyfinAPI CreateKeyAPI.swift
[316/489] Compiling JellyfinAPI CreatePlaylistAPI.swift
[317/513] Compiling JellyfinAPI CreateProfileAPI.swift
[318/513] Compiling JellyfinAPI CreateSeriesTimerAPI.swift
[319/513] Compiling JellyfinAPI CreateTimerAPI.swift
[320/513] Compiling JellyfinAPI CreateUserByNameAPI.swift
[321/513] Compiling JellyfinAPI DeleteAlternateSourcesAPI.swift
[322/513] Compiling JellyfinAPI DeleteCustomSplashscreenAPI.swift
[323/513] Compiling JellyfinAPI DeleteDeviceAPI.swift
[324/513] Compiling JellyfinAPI DeleteItemAPI.swift
[325/513] Compiling JellyfinAPI DeleteItemImageAPI.swift
[326/513] Compiling JellyfinAPI DeleteItemImageByIndexAPI.swift
[327/513] Compiling JellyfinAPI DeleteItemsAPI.swift
[328/513] Compiling JellyfinAPI DeleteListingProviderAPI.swift
[329/513] Compiling JellyfinAPI DeleteLyricsAPI.swift
[330/513] Compiling JellyfinAPI DeleteProfileAPI.swift
[331/513] Compiling JellyfinAPI DeleteRecordingAPI.swift
[332/513] Compiling JellyfinAPI DeleteSubtitleAPI.swift
[333/513] Compiling JellyfinAPI DeleteTunerHostAPI.swift
[334/513] Compiling JellyfinAPI DeleteUserAPI.swift
[335/513] Compiling JellyfinAPI DeleteUserImageAPI.swift
[336/513] Compiling JellyfinAPI DeleteUserImageByIndexAPI.swift
[337/513] Compiling JellyfinAPI DeleteUserItemRatingAPI.swift
[338/513] Compiling JellyfinAPI DisablePluginAPI.swift
[339/513] Compiling JellyfinAPI DiscoverTunersAPI.swift
[340/513] Compiling JellyfinAPI DiscvoverTunersAPI.swift
[341/513] Compiling JellyfinAPI DisplayContentAPI.swift
[342/537] Compiling JellyfinAPI GetChannelAPI.swift
[343/537] Compiling JellyfinAPI GetChannelFeaturesAPI.swift
[344/537] Compiling JellyfinAPI GetChannelItemsAPI.swift
[345/537] Compiling JellyfinAPI GetChannelMappingOptionsAPI.swift
[346/537] Compiling JellyfinAPI GetChannelsAPI.swift
[347/537] Compiling JellyfinAPI GetConfigurationAPI.swift
[348/537] Compiling JellyfinAPI GetConfigurationPagesAPI.swift
[349/537] Compiling JellyfinAPI GetConnectionManager2API.swift
[350/537] Compiling JellyfinAPI GetConnectionManager3API.swift
[351/537] Compiling JellyfinAPI GetConnectionManagerAPI.swift
[352/537] Compiling JellyfinAPI GetContentDirectory2API.swift
[353/537] Compiling JellyfinAPI GetContentDirectory3API.swift
[354/537] Compiling JellyfinAPI GetContentDirectoryAPI.swift
[355/537] Compiling JellyfinAPI GetCountriesAPI.swift
[356/537] Compiling JellyfinAPI GetCriticReviewsAPI.swift
[357/537] Compiling JellyfinAPI GetCulturesAPI.swift
[358/537] Compiling JellyfinAPI GetCurrentUserAPI.swift
[359/537] Compiling JellyfinAPI GetDashboardConfigurationPageAPI.swift
[360/537] Compiling JellyfinAPI GetDefaultDirectoryBrowserAPI.swift
[361/537] Compiling JellyfinAPI GetDefaultListingProviderAPI.swift
[362/537] Compiling JellyfinAPI GetDefaultMetadataOptionsAPI.swift
[363/537] Compiling JellyfinAPI GetDefaultProfileAPI.swift
[364/537] Compiling JellyfinAPI GetDefaultTimerAPI.swift
[365/537] Compiling JellyfinAPI GetDescriptionXml2API.swift
[366/537] Compiling JellyfinAPI PersonLookupInfo.swift
[367/537] Compiling JellyfinAPI PersonLookupInfoRemoteSearchQuery.swift
[368/537] Compiling JellyfinAPI PinRedeemResult.swift
[369/537] Compiling JellyfinAPI PingRequestDto.swift
[370/537] Compiling JellyfinAPI PlayAccess.swift
[371/537] Compiling JellyfinAPI PlayCommand.swift
[372/537] Compiling JellyfinAPI PlayMessage.swift
[373/537] Compiling JellyfinAPI PlayMethod.swift
[374/537] Compiling JellyfinAPI PlayQueueUpdate.swift
[375/537] Compiling JellyfinAPI PlayQueueUpdateGroupUpdate.swift
[376/537] Compiling JellyfinAPI PlayQueueUpdateReason.swift
[377/537] Compiling JellyfinAPI PlayRequest.swift
[378/537] Compiling JellyfinAPI PlayRequestDto.swift
[379/537] Compiling JellyfinAPI PlaybackErrorCode.swift
[380/537] Compiling JellyfinAPI PlaybackInfoDto.swift
[381/537] Compiling JellyfinAPI PlaybackInfoResponse.swift
[382/537] Compiling JellyfinAPI PlaybackOrder.swift
[383/537] Compiling JellyfinAPI PlaybackProgressInfo.swift
[384/537] Compiling JellyfinAPI PlaybackRequestType.swift
[385/537] Compiling JellyfinAPI PlaybackStartInfo.swift
[386/537] Compiling JellyfinAPI PlaybackStopInfo.swift
[387/537] Compiling JellyfinAPI PlayerStateInfo.swift
[388/537] Compiling JellyfinAPI PlaylistCreationResult.swift
[389/537] Compiling JellyfinAPI PlaylistDto.swift
[390/537] Compiling JellyfinAPI PlaylistUserPermissions.swift
[391/585] Compiling JellyfinAPI SpecialViewOptionDto.swift
[392/585] Compiling JellyfinAPI StartupConfigurationDto.swift
[393/585] Compiling JellyfinAPI StartupRemoteAccessDto.swift
[394/585] Compiling JellyfinAPI StartupUserDto.swift
[395/585] Compiling JellyfinAPI StringGroupUpdate.swift
[396/585] Compiling JellyfinAPI SubtitleDeliveryMethod.swift
[397/585] Compiling JellyfinAPI SubtitleOptions.swift
[398/585] Compiling JellyfinAPI SubtitlePlaybackMode.swift
[399/585] Compiling JellyfinAPI SubtitleProfile.swift
[400/585] Compiling JellyfinAPI SyncPlayCommandMessage.swift
[401/585] Compiling JellyfinAPI SyncPlayGroupUpdateCommandMessage.swift
[402/585] Compiling JellyfinAPI SyncPlayQueueItem.swift
[403/585] Compiling JellyfinAPI SyncPlayUserAccessType.swift
[404/585] Compiling JellyfinAPI SystemInfo.swift
[405/585] Compiling JellyfinAPI TaskCompletionStatus.swift
[406/585] Compiling JellyfinAPI TaskInfo.swift
[407/585] Compiling JellyfinAPI TaskResult.swift
[408/585] Compiling JellyfinAPI TaskState.swift
[409/585] Compiling JellyfinAPI TaskTriggerInfo.swift
[410/585] Compiling JellyfinAPI TaskTriggerType.swift
[411/585] Compiling JellyfinAPI ThemeMediaResult.swift
[412/585] Compiling JellyfinAPI TimerCancelledMessage.swift
[413/585] Compiling JellyfinAPI TimerCreatedMessage.swift
[414/585] Compiling JellyfinAPI TimerEventInfo.swift
[415/585] Compiling JellyfinAPI TimerInfoDto.swift
[416/609] Compiling JellyfinAPI AccessSchedule.swift
[417/609] Compiling JellyfinAPI ActivityLogEntry.swift
[418/609] Compiling JellyfinAPI ActivityLogEntryMessage.swift
[419/609] Compiling JellyfinAPI ActivityLogEntryQueryResult.swift
[420/609] Compiling JellyfinAPI ActivityLogEntryStartMessage.swift
[421/609] Compiling JellyfinAPI ActivityLogEntryStopMessage.swift
[422/609] Compiling JellyfinAPI AddVirtualFolderDto.swift
[423/609] Compiling JellyfinAPI AdminNotificationDto.swift
[424/609] Compiling JellyfinAPI AlbumInfo.swift
[425/609] Compiling JellyfinAPI AlbumInfoRemoteSearchQuery.swift
[426/609] Compiling JellyfinAPI AllThemeMediaResult.swift
[427/609] Compiling JellyfinAPI Architecture.swift
[428/609] Compiling JellyfinAPI ArtistInfo.swift
[429/609] Compiling JellyfinAPI ArtistInfoRemoteSearchQuery.swift
[430/609] Compiling JellyfinAPI AudioSpatialFormat.swift
[431/609] Compiling JellyfinAPI AuthenticateUserByName.swift
[432/609] Compiling JellyfinAPI AuthenticationInfo.swift
[433/609] Compiling JellyfinAPI AuthenticationInfoQueryResult.swift
[434/609] Compiling JellyfinAPI AuthenticationResult.swift
[435/609] Compiling JellyfinAPI BaseItem.swift
[436/609] Compiling JellyfinAPI BaseItemDto.swift
[437/609] Compiling JellyfinAPI BaseItemDtoQueryResult.swift
[438/609] Compiling JellyfinAPI BaseItemKind.swift
[439/609] Compiling JellyfinAPI BaseItemPerson.swift
[440/609] Compiling JellyfinAPI BookInfo.swift
[441/633] Compiling JellyfinAPI GetDescriptionXmlAPI.swift
[442/633] Compiling JellyfinAPI GetDeviceInfoAPI.swift
[443/633] Compiling JellyfinAPI GetDeviceOptionsAPI.swift
[444/633] Compiling JellyfinAPI GetDevicesAPI.swift
[445/633] Compiling JellyfinAPI GetDirectoryContentsAPI.swift
[446/633] Compiling JellyfinAPI GetDisplayPreferencesAPI.swift
[447/633] Compiling JellyfinAPI GetDownloadAPI.swift
[448/633] Compiling JellyfinAPI GetDrivesAPI.swift
[449/633] Compiling JellyfinAPI GetEnabledAPI.swift
[450/633] Compiling JellyfinAPI GetEndpointInfoAPI.swift
[451/633] Compiling JellyfinAPI GetEpisodesAPI.swift
[452/633] Compiling JellyfinAPI GetExternalIDInfosAPI.swift
[453/633] Compiling JellyfinAPI GetFallbackFontAPI.swift
[454/633] Compiling JellyfinAPI GetFallbackFontListAPI.swift
[455/633] Compiling JellyfinAPI GetFileAPI.swift
[456/633] Compiling JellyfinAPI GetFirstUser2API.swift
[457/633] Compiling JellyfinAPI GetFirstUserAPI.swift
[458/633] Compiling JellyfinAPI GetGeneralImageAPI.swift
[459/633] Compiling JellyfinAPI GetGeneralImagesAPI.swift
[460/633] Compiling JellyfinAPI GetGenreAPI.swift
[461/633] Compiling JellyfinAPI GetGenreImageAPI.swift
[462/633] Compiling JellyfinAPI GetGenreImageByIndexAPI.swift
[463/633] Compiling JellyfinAPI GetGenresAPI.swift
[464/633] Compiling JellyfinAPI GetGroupingOptionsAPI.swift
[465/657] Compiling JellyfinAPI DownloadRemoteImageAPI.swift
[466/657] Compiling JellyfinAPI DownloadRemoteLyricsAPI.swift
[467/657] Compiling JellyfinAPI DownloadRemoteSubtitlesAPI.swift
[468/657] Compiling JellyfinAPI EnablePluginAPI.swift
[469/657] Compiling JellyfinAPI ForgotPasswordAPI.swift
[470/657] Compiling JellyfinAPI ForgotPasswordPinAPI.swift
[471/657] Compiling JellyfinAPI GetAPI.swift
[472/657] Compiling JellyfinAPI GetAdditionalPartAPI.swift
[473/657] Compiling JellyfinAPI GetAlbumArtistsAPI.swift
[474/657] Compiling JellyfinAPI GetAllChannelFeaturesAPI.swift
[475/657] Compiling JellyfinAPI GetAncestorsAPI.swift
[476/657] Compiling JellyfinAPI GetArtistByNameAPI.swift
[477/657] Compiling JellyfinAPI GetArtistImageAPI.swift
[478/657] Compiling JellyfinAPI GetArtistsAPI.swift
[479/657] Compiling JellyfinAPI GetAttachmentAPI.swift
[480/657] Compiling JellyfinAPI GetAudioStreamAPI.swift
[481/657] Compiling JellyfinAPI GetAudioStreamByContainerAPI.swift
[482/657] Compiling JellyfinAPI GetAuthProvidersAPI.swift
[483/657] Compiling JellyfinAPI GetBitrateTestBytesAPI.swift
[484/657] Compiling JellyfinAPI GetBookRemoteSearchResultsAPI.swift
[485/657] Compiling JellyfinAPI GetBoxSetRemoteSearchResultsAPI.swift
[486/657] Compiling JellyfinAPI GetBrandingCss2API.swift
[487/657] Compiling JellyfinAPI GetBrandingCssAPI.swift
[488/657] Compiling JellyfinAPI GetBrandingOptionsAPI.swift
[489/681] Compiling JellyfinAPI GetMediaInfoImagesAPI.swift
[490/681] Compiling JellyfinAPI GetMediaReceiverRegistrar2API.swift
[491/681] Compiling JellyfinAPI GetMediaReceiverRegistrar3API.swift
[492/681] Compiling JellyfinAPI GetMediaReceiverRegistrarAPI.swift
[493/681] Compiling JellyfinAPI GetMetadataEditorInfoAPI.swift
[494/681] Compiling JellyfinAPI GetMovieRecommendationsAPI.swift
[495/681] Compiling JellyfinAPI GetMovieRemoteSearchResultsAPI.swift
[496/681] Compiling JellyfinAPI GetMusicAlbumRemoteSearchResultsAPI.swift
[497/681] Compiling JellyfinAPI GetMusicArtistRemoteSearchResultsAPI.swift
[498/681] Compiling JellyfinAPI GetMusicGenreAPI.swift
[499/681] Compiling JellyfinAPI GetMusicGenreImageAPI.swift
[500/681] Compiling JellyfinAPI GetMusicGenreImageByIndexAPI.swift
[501/681] Compiling JellyfinAPI GetMusicGenresAPI.swift
[502/681] Compiling JellyfinAPI GetMusicVideoRemoteSearchResultsAPI.swift
[503/681] Compiling JellyfinAPI GetNamedConfigurationAPI.swift
[504/681] Compiling JellyfinAPI GetNetworkSharesAPI.swift
[505/681] Compiling JellyfinAPI GetNextUpAPI.swift
[506/681] Compiling JellyfinAPI GetNotificationServicesAPI.swift
[507/681] Compiling JellyfinAPI GetNotificationTypesAPI.swift
[508/681] Compiling JellyfinAPI GetNotificationsAPI.swift
[509/681] Compiling JellyfinAPI GetNotificationsSummaryAPI.swift
[510/681] Compiling JellyfinAPI GetPackageInfoAPI.swift
[511/681] Compiling JellyfinAPI GetPackagesAPI.swift
[512/681] Compiling JellyfinAPI GetParentPathAPI.swift
[513/681] Compiling JellyfinAPI GetParentalRatingsAPI.swift
[514/681] Compiling JellyfinAPI GetPasswordResetProvidersAPI.swift
[515/681] Compiling JellyfinAPI GetPersonAPI.swift
[516/681] Compiling JellyfinAPI GetPersonImageAPI.swift
[517/681] Compiling JellyfinAPI GetPersonImageByIndexAPI.swift
[518/681] Compiling JellyfinAPI GetPersonRemoteSearchResultsAPI.swift
[519/681] Compiling JellyfinAPI GetPersonsAPI.swift
[520/681] Compiling JellyfinAPI GetPhysicalPathsAPI.swift
[521/681] Compiling JellyfinAPI GetPingSystemAPI.swift
[522/681] Compiling JellyfinAPI GetPlaybackInfoAPI.swift
[523/681] Compiling JellyfinAPI GetPlaylistAPI.swift
[524/681] Compiling JellyfinAPI GetPlaylistItemsAPI.swift
[525/681] Compiling JellyfinAPI GetPlaylistUserAPI.swift
[526/681] Compiling JellyfinAPI GetPlaylistUsersAPI.swift
[527/681] Compiling JellyfinAPI GetPluginConfigurationAPI.swift
[528/681] Compiling JellyfinAPI GetPluginImageAPI.swift
[529/681] Compiling JellyfinAPI GetPluginManifestAPI.swift
[530/681] Compiling JellyfinAPI GetPluginsAPI.swift
[531/681] Compiling JellyfinAPI GetPostedPlaybackInfoAPI.swift
[532/681] Compiling JellyfinAPI GetProfileAPI.swift
[533/681] Compiling JellyfinAPI GetProfileInfosAPI.swift
[534/681] Compiling JellyfinAPI GetProgramAPI.swift
[535/681] Compiling JellyfinAPI GetProgramsAPI.swift
[536/681] Compiling JellyfinAPI GetPublicSystemInfoAPI.swift
[537/729] Compiling JellyfinAPI SeriesInfo.swift
[538/729] Compiling JellyfinAPI SeriesInfoRemoteSearchQuery.swift
[539/729] Compiling JellyfinAPI SeriesStatus.swift
[540/729] Compiling JellyfinAPI SeriesTimerCancelledMessage.swift
[541/729] Compiling JellyfinAPI SeriesTimerCreatedMessage.swift
[542/729] Compiling JellyfinAPI SeriesTimerInfoDto.swift
[543/729] Compiling JellyfinAPI SeriesTimerInfoDtoQueryResult.swift
[544/729] Compiling JellyfinAPI ServerConfiguration.swift
[545/729] Compiling JellyfinAPI ServerDiscoveryInfo.swift
[546/729] Compiling JellyfinAPI ServerRestartingMessage.swift
[547/729] Compiling JellyfinAPI ServerShuttingDownMessage.swift
[548/729] Compiling JellyfinAPI SessionInfo.swift
[549/729] Compiling JellyfinAPI SessionInfoDto.swift
[550/729] Compiling JellyfinAPI SessionMessageType.swift
[551/729] Compiling JellyfinAPI SessionUserInfo.swift
[552/729] Compiling JellyfinAPI SessionsMessage.swift
[553/729] Compiling JellyfinAPI SessionsStartMessage.swift
[554/729] Compiling JellyfinAPI SessionsStopMessage.swift
[555/729] Compiling JellyfinAPI SetChannelMappingDto.swift
[556/729] Compiling JellyfinAPI SetPlaylistItemRequestDto.swift
[557/729] Compiling JellyfinAPI SetRepeatModeRequestDto.swift
[558/729] Compiling JellyfinAPI SetShuffleModeRequestDto.swift
[559/729] Compiling JellyfinAPI SongInfo.swift
[560/729] Compiling JellyfinAPI SortOrder.swift
[561/729] Compiling JellyfinAPI SpecialFeatureType.swift
[562/753] Compiling JellyfinAPI GetPublicUsersAPI.swift
[563/753] Compiling JellyfinAPI GetQueryFiltersAPI.swift
[564/753] Compiling JellyfinAPI GetQueryFiltersLegacyAPI.swift
[565/753] Compiling JellyfinAPI GetQuickConnectEnabledAPI.swift
[566/753] Compiling JellyfinAPI GetQuickConnectStateAPI.swift
[567/753] Compiling JellyfinAPI GetRatingImageAPI.swift
[568/753] Compiling JellyfinAPI GetRatingImagesAPI.swift
[569/753] Compiling JellyfinAPI GetRecommendedProgramsAPI.swift
[570/753] Compiling JellyfinAPI GetRecordingAPI.swift
[571/753] Compiling JellyfinAPI GetRecordingFoldersAPI.swift
[572/753] Compiling JellyfinAPI GetRecordingGroupAPI.swift
[573/753] Compiling JellyfinAPI GetRecordingGroupsAPI.swift
[574/753] Compiling JellyfinAPI GetRecordingsAPI.swift
[575/753] Compiling JellyfinAPI GetRecordingsSeriesAPI.swift
[576/753] Compiling JellyfinAPI GetRemoteImageProvidersAPI.swift
[577/753] Compiling JellyfinAPI GetRemoteImagesAPI.swift
[578/753] Compiling JellyfinAPI GetRemoteLyricsAPI.swift
[579/753] Compiling JellyfinAPI GetRemoteSubtitlesAPI.swift
[580/753] Compiling JellyfinAPI GetRepositoriesAPI.swift
[581/753] Compiling JellyfinAPI GetResumeItemsAPI.swift
[582/753] Compiling JellyfinAPI GetRootFolderAPI.swift
[583/753] Compiling JellyfinAPI GetSchedulesDirectCountriesAPI.swift
[584/753] Compiling JellyfinAPI GetSearchHintsAPI.swift
[585/753] Compiling JellyfinAPI GetSeasonsAPI.swift
[586/753] Compiling JellyfinAPI GetGuideInfoAPI.swift
[587/753] Compiling JellyfinAPI GetHlsAudioSegmentAPI.swift
[588/753] Compiling JellyfinAPI GetHlsAudioSegmentLegacyAacAPI.swift
[589/753] Compiling JellyfinAPI GetHlsAudioSegmentLegacyMp3API.swift
[590/753] Compiling JellyfinAPI GetHlsPlaylistLegacyAPI.swift
[591/753] Compiling JellyfinAPI GetHlsVideoSegmentAPI.swift
[592/753] Compiling JellyfinAPI GetHlsVideoSegmentLegacyAPI.swift
[593/753] Compiling JellyfinAPI GetIconAPI.swift
[594/753] Compiling JellyfinAPI GetIconIDAPI.swift
[595/753] Compiling JellyfinAPI GetInstantMixFromAlbumAPI.swift
[596/753] Compiling JellyfinAPI GetInstantMixFromArtists2API.swift
[597/753] Compiling JellyfinAPI GetInstantMixFromArtistsAPI.swift
[598/753] Compiling JellyfinAPI GetInstantMixFromItemAPI.swift
[599/753] Compiling JellyfinAPI GetInstantMixFromMusicGenreByIDAPI.swift
[600/753] Compiling JellyfinAPI GetInstantMixFromMusicGenreByNameAPI.swift
[601/753] Compiling JellyfinAPI GetInstantMixFromPlaylistAPI.swift
[602/753] Compiling JellyfinAPI GetInstantMixFromSongAPI.swift
[603/753] Compiling JellyfinAPI GetIntrosAPI.swift
[604/753] Compiling JellyfinAPI GetItemAPI.swift
[605/753] Compiling JellyfinAPI GetItemCountsAPI.swift
[606/753] Compiling JellyfinAPI GetItemImage2API.swift
[607/753] Compiling JellyfinAPI GetItemImageAPI.swift
[608/753] Compiling JellyfinAPI GetItemImageByIndexAPI.swift
[609/753] Compiling JellyfinAPI GetItemImageInfosAPI.swift
[610/801] Compiling JellyfinAPI GetSeriesRemoteSearchResultsAPI.swift
[611/801] Compiling JellyfinAPI GetSeriesTimerAPI.swift
[612/801] Compiling JellyfinAPI GetSeriesTimersAPI.swift
[613/801] Compiling JellyfinAPI GetServerLogsAPI.swift
[614/801] Compiling JellyfinAPI GetSessionsAPI.swift
[615/801] Compiling JellyfinAPI GetSimilarAlbumsAPI.swift
[616/801] Compiling JellyfinAPI GetSimilarArtistsAPI.swift
[617/801] Compiling JellyfinAPI GetSimilarItemsAPI.swift
[618/801] Compiling JellyfinAPI GetSimilarMoviesAPI.swift
[619/801] Compiling JellyfinAPI GetSimilarShowsAPI.swift
[620/801] Compiling JellyfinAPI GetSimilarTrailersAPI.swift
[621/801] Compiling JellyfinAPI GetSpecialFeaturesAPI.swift
[622/801] Compiling JellyfinAPI GetSplashscreenAPI.swift
[623/801] Compiling JellyfinAPI GetStartupConfigurationAPI.swift
[624/801] Compiling JellyfinAPI GetStudioAPI.swift
[625/801] Compiling JellyfinAPI GetStudioImageAPI.swift
[626/801] Compiling JellyfinAPI GetStudioImageByIndexAPI.swift
[627/801] Compiling JellyfinAPI GetStudiosAPI.swift
[628/801] Compiling JellyfinAPI GetSubtitleAPI.swift
[629/801] Compiling JellyfinAPI GetSubtitlePlaylistAPI.swift
[630/801] Compiling JellyfinAPI GetSubtitleWithTicksAPI.swift
[631/801] Compiling JellyfinAPI GetSuggestionsAPI.swift
[632/801] Compiling JellyfinAPI GetSystemInfoAPI.swift
[633/801] Compiling JellyfinAPI GetTaskAPI.swift
[634/825] Compiling JellyfinAPI SendFullGeneralCommandAPI.swift
[635/825] Compiling JellyfinAPI SendGeneralCommandAPI.swift
[636/825] Compiling JellyfinAPI SendMessageCommandAPI.swift
[637/825] Compiling JellyfinAPI SendPlaystateCommandAPI.swift
[638/825] Compiling JellyfinAPI SendSystemCommandAPI.swift
[639/825] Compiling JellyfinAPI SetChannelMappingAPI.swift
[640/825] Compiling JellyfinAPI SetItemImageAPI.swift
[641/825] Compiling JellyfinAPI SetItemImageByIndexAPI.swift
[642/825] Compiling JellyfinAPI SetReadAPI.swift
[643/825] Compiling JellyfinAPI SetRemoteAccessAPI.swift
[644/825] Compiling JellyfinAPI SetRepositoriesAPI.swift
[645/825] Compiling JellyfinAPI SetUnreadAPI.swift
[646/825] Compiling JellyfinAPI ShutdownApplicationAPI.swift
[647/825] Compiling JellyfinAPI StartTaskAPI.swift
[648/825] Compiling JellyfinAPI StopEncodingProcessAPI.swift
[649/825] Compiling JellyfinAPI StopTaskAPI.swift
[650/825] Compiling JellyfinAPI SyncPlayBufferingAPI.swift
[651/825] Compiling JellyfinAPI SyncPlayCreateGroupAPI.swift
[652/825] Compiling JellyfinAPI SyncPlayGetGroupsAPI.swift
[653/825] Compiling JellyfinAPI SyncPlayJoinGroupAPI.swift
[654/825] Compiling JellyfinAPI SyncPlayLeaveGroupAPI.swift
[655/825] Compiling JellyfinAPI SyncPlayMovePlaylistItemAPI.swift
[656/825] Compiling JellyfinAPI SyncPlayNextItemAPI.swift
[657/825] Compiling JellyfinAPI SyncPlayPauseAPI.swift
[658/825] Compiling JellyfinAPI SyncPlayPingAPI.swift
[659/825] Compiling JellyfinAPI SyncPlayPreviousItemAPI.swift
[660/825] Compiling JellyfinAPI SyncPlayQueueAPI.swift
[661/825] Compiling JellyfinAPI SyncPlayReadyAPI.swift
[662/825] Compiling JellyfinAPI SyncPlayRemoveFromPlaylistAPI.swift
[663/825] Compiling JellyfinAPI SyncPlaySeekAPI.swift
[664/825] Compiling JellyfinAPI SyncPlaySetIgnoreWaitAPI.swift
[665/825] Compiling JellyfinAPI SyncPlaySetNewQueueAPI.swift
[666/825] Compiling JellyfinAPI SyncPlaySetPlaylistItemAPI.swift
[667/825] Compiling JellyfinAPI SyncPlaySetRepeatModeAPI.swift
[668/825] Compiling JellyfinAPI SyncPlaySetShuffleModeAPI.swift
[669/825] Compiling JellyfinAPI SyncPlayStopAPI.swift
[670/825] Compiling JellyfinAPI SyncPlayUnpauseAPI.swift
[671/825] Compiling JellyfinAPI TmdbClientConfigurationAPI.swift
[672/825] Compiling JellyfinAPI UninstallPluginAPI.swift
[673/825] Compiling JellyfinAPI UninstallPluginByVersionAPI.swift
[674/825] Compiling JellyfinAPI UnmarkFavoriteItemAPI.swift
[675/825] Compiling JellyfinAPI UpdateConfigurationAPI.swift
[676/825] Compiling JellyfinAPI UpdateDeviceOptionsAPI.swift
[677/825] Compiling JellyfinAPI UpdateDisplayPreferencesAPI.swift
[678/825] Compiling JellyfinAPI UpdateInitialConfigurationAPI.swift
[679/825] Compiling JellyfinAPI UpdateItemAPI.swift
[680/825] Compiling JellyfinAPI UpdateItemContentTypeAPI.swift
[681/825] Compiling JellyfinAPI UpdateItemImageIndexAPI.swift
[682/825] Compiling JellyfinAPI UpdateItemUserDataAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[683/825] Compiling JellyfinAPI UpdateLibraryOptionsAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[684/825] Compiling JellyfinAPI UpdateMediaEncoderPathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[685/825] Compiling JellyfinAPI UpdateMediaPathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[686/825] Compiling JellyfinAPI UpdateNamedConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[687/825] Compiling JellyfinAPI UpdatePlaylistAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[688/825] Compiling JellyfinAPI UpdatePlaylistUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[689/825] Compiling JellyfinAPI UpdatePluginConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[690/825] Compiling JellyfinAPI UpdateProfileAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[691/825] Compiling JellyfinAPI UpdateSeriesTimerAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[692/825] Compiling JellyfinAPI UpdateStartupUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[693/825] Compiling JellyfinAPI UpdateTaskAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[694/825] Compiling JellyfinAPI UpdateTimerAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[695/825] Compiling JellyfinAPI UpdateUserAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[696/825] Compiling JellyfinAPI UpdateUserConfigurationAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[697/825] Compiling JellyfinAPI UpdateUserEasyPasswordAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[698/825] Compiling JellyfinAPI UpdateUserItemRatingAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[699/825] Compiling JellyfinAPI UpdateUserPasswordAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[700/825] Compiling JellyfinAPI UpdateUserPolicyAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[701/825] Compiling JellyfinAPI UploadCustomSplashscreenAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[702/825] Compiling JellyfinAPI UploadLyricsAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[703/825] Compiling JellyfinAPI UploadSubtitleAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[704/825] Compiling JellyfinAPI ValidatePathAPI.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[705/825] Compiling JellyfinAPI QuickConnect.swift
/host/spi-builder-workspace/Sources/QuickConnect.swift:69:6: error: unknown attribute 'Published'
@Published
^
/host/spi-builder-workspace/Sources/QuickConnect.swift:18:34: error: cannot find type 'ObservableObject' in scope
public final class QuickConnect: ObservableObject {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:99:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:100:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:108:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/JellyfinClient.swift:109:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
[706/825] Compiling JellyfinAPI PostUserImageByIndexAPI.swift
[707/825] Compiling JellyfinAPI ProcessConnectionManagerControlRequestAPI.swift
[708/825] Compiling JellyfinAPI ProcessContentDirectoryControlRequestAPI.swift
[709/825] Compiling JellyfinAPI ProcessMediaReceiverRegistrarControlRequestAPI.swift
[710/825] Compiling JellyfinAPI RefreshItemAPI.swift
[711/825] Compiling JellyfinAPI RefreshLibraryAPI.swift
[712/825] Compiling JellyfinAPI RemoveFromCollectionAPI.swift
[713/825] Compiling JellyfinAPI RemoveFromPlaylistAPI.swift
[714/825] Compiling JellyfinAPI RemoveItemFromPlaylistAPI.swift
[715/825] Compiling JellyfinAPI RemoveMediaPathAPI.swift
[716/825] Compiling JellyfinAPI RemoveUserFromPlaylistAPI.swift
[717/825] Compiling JellyfinAPI RemoveUserFromSessionAPI.swift
[718/825] Compiling JellyfinAPI RemoveVirtualFolderAPI.swift
[719/825] Compiling JellyfinAPI RenameVirtualFolderAPI.swift
[720/825] Compiling JellyfinAPI ReportPlaybackProgressAPI.swift
[721/825] Compiling JellyfinAPI ReportPlaybackStartAPI.swift
[722/825] Compiling JellyfinAPI ReportPlaybackStoppedAPI.swift
[723/825] Compiling JellyfinAPI ReportSessionEndedAPI.swift
[724/825] Compiling JellyfinAPI ReportViewingAPI.swift
[725/825] Compiling JellyfinAPI ResetTunerAPI.swift
[726/825] Compiling JellyfinAPI RestartApplicationAPI.swift
[727/825] Compiling JellyfinAPI RevokeKeyAPI.swift
[728/825] Compiling JellyfinAPI SearchRemoteLyricsAPI.swift
[729/825] Compiling JellyfinAPI SearchRemoteSubtitlesAPI.swift
[730/825] Compiling JellyfinAPI GetItemSegmentsAPI.swift
[731/825] Compiling JellyfinAPI GetItemUserDataAPI.swift
[732/825] Compiling JellyfinAPI GetItemsAPI.swift
[733/825] Compiling JellyfinAPI GetItemsByUserIDAPI.swift
[734/825] Compiling JellyfinAPI GetKeysAPI.swift
[735/825] Compiling JellyfinAPI GetLatestChannelItemsAPI.swift
[736/825] Compiling JellyfinAPI GetLatestMediaAPI.swift
[737/825] Compiling JellyfinAPI GetLibraryOptionsInfoAPI.swift
[738/825] Compiling JellyfinAPI GetLineupsAPI.swift
[739/825] Compiling JellyfinAPI GetLiveHlsStreamAPI.swift
[740/825] Compiling JellyfinAPI GetLiveRecordingFileAPI.swift
[741/825] Compiling JellyfinAPI GetLiveStreamFileAPI.swift
[742/825] Compiling JellyfinAPI GetLiveTvChannelsAPI.swift
[743/825] Compiling JellyfinAPI GetLiveTvInfoAPI.swift
[744/825] Compiling JellyfinAPI GetLiveTvProgramsAPI.swift
[745/825] Compiling JellyfinAPI GetLocalTrailersAPI.swift
[746/825] Compiling JellyfinAPI GetLocalizationOptionsAPI.swift
[747/825] Compiling JellyfinAPI GetLogEntriesAPI.swift
[748/825] Compiling JellyfinAPI GetLogFileAPI.swift
[749/825] Compiling JellyfinAPI GetLyricsAPI.swift
[750/825] Compiling JellyfinAPI GetMasterHlsAudioPlaylistAPI.swift
[751/825] Compiling JellyfinAPI GetMasterHlsVideoPlaylistAPI.swift
[752/825] Compiling JellyfinAPI GetMediaFoldersAPI.swift
[753/825] Compiling JellyfinAPI GetMediaInfoImageAPI.swift
[754/825] Compiling JellyfinAPI GetTasksAPI.swift
[755/825] Compiling JellyfinAPI GetThemeMediaAPI.swift
[756/825] Compiling JellyfinAPI GetThemeSongsAPI.swift
[757/825] Compiling JellyfinAPI GetThemeVideosAPI.swift
[758/825] Compiling JellyfinAPI GetTimerAPI.swift
[759/825] Compiling JellyfinAPI GetTimersAPI.swift
[760/825] Compiling JellyfinAPI GetTrailerRemoteSearchResultsAPI.swift
[761/825] Compiling JellyfinAPI GetTrailersAPI.swift
[762/825] Compiling JellyfinAPI GetTrickplayHlsPlaylistAPI.swift
[763/825] Compiling JellyfinAPI GetTrickplayTileImageAPI.swift
[764/825] Compiling JellyfinAPI GetTunerHostTypesAPI.swift
[765/825] Compiling JellyfinAPI GetUniversalAudioStreamAPI.swift
[766/825] Compiling JellyfinAPI GetUpcomingEpisodesAPI.swift
[767/825] Compiling JellyfinAPI GetUserByIDAPI.swift
[768/825] Compiling JellyfinAPI GetUserImageAPI.swift
[769/825] Compiling JellyfinAPI GetUserImageByIndexAPI.swift
[770/825] Compiling JellyfinAPI GetUserViewsAPI.swift
[771/825] Compiling JellyfinAPI GetUsersAPI.swift
[772/825] Compiling JellyfinAPI GetUtcTimeAPI.swift
[773/825] Compiling JellyfinAPI GetVariantHlsAudioPlaylistAPI.swift
[774/825] Compiling JellyfinAPI GetVariantHlsVideoPlaylistAPI.swift
[775/825] Compiling JellyfinAPI GetVideoStreamAPI.swift
[776/825] Compiling JellyfinAPI GetVideoStreamByContainerAPI.swift
[777/825] Compiling JellyfinAPI GetVirtualFoldersAPI.swift
[778/825] Compiling JellyfinAPI InitiateAPI.swift
[779/825] Compiling JellyfinAPI InitiateQuickConnectAPI.swift
[780/825] Compiling JellyfinAPI InstallPackageAPI.swift
[781/825] Compiling JellyfinAPI LogFileAPI.swift
[782/825] Compiling JellyfinAPI MarkFavoriteItemAPI.swift
[783/825] Compiling JellyfinAPI MarkPlayedItemAPI.swift
[784/825] Compiling JellyfinAPI MarkUnplayedItemAPI.swift
[785/825] Compiling JellyfinAPI MergeVersionsAPI.swift
[786/825] Compiling JellyfinAPI MoveItemAPI.swift
[787/825] Compiling JellyfinAPI OnPlaybackProgressAPI.swift
[788/825] Compiling JellyfinAPI OnPlaybackStartAPI.swift
[789/825] Compiling JellyfinAPI OnPlaybackStoppedAPI.swift
[790/825] Compiling JellyfinAPI OpenLiveStreamAPI.swift
[791/825] Compiling JellyfinAPI PingPlaybackSessionAPI.swift
[792/825] Compiling JellyfinAPI PlayAPI.swift
[793/825] Compiling JellyfinAPI PostAddedMoviesAPI.swift
[794/825] Compiling JellyfinAPI PostAddedSeriesAPI.swift
[795/825] Compiling JellyfinAPI PostCapabilitiesAPI.swift
[796/825] Compiling JellyfinAPI PostFullCapabilitiesAPI.swift
[797/825] Compiling JellyfinAPI PostPingSystemAPI.swift
[798/825] Compiling JellyfinAPI PostUpdatedMediaAPI.swift
[799/825] Compiling JellyfinAPI PostUpdatedMoviesAPI.swift
[800/825] Compiling JellyfinAPI PostUpdatedSeriesAPI.swift
[801/825] Compiling JellyfinAPI PostUserImageAPI.swift
[802/825] Compiling JellyfinAPI GetWakeOnLanInfoAPI.swift
[803/825] Compiling JellyfinAPI GetYearAPI.swift
[804/825] Compiling JellyfinAPI GetYearsAPI.swift
[805/825] Compiling JellyfinAPI HeadArtistImageAPI.swift
[806/825] Compiling JellyfinAPI HeadAudioStreamAPI.swift
[807/825] Compiling JellyfinAPI HeadAudioStreamByContainerAPI.swift
[808/825] Compiling JellyfinAPI HeadGenreImageAPI.swift
[809/825] Compiling JellyfinAPI HeadGenreImageByIndexAPI.swift
[810/825] Compiling JellyfinAPI HeadItemImage2API.swift
[811/825] Compiling JellyfinAPI HeadItemImageAPI.swift
[812/825] Compiling JellyfinAPI HeadItemImageByIndexAPI.swift
[813/825] Compiling JellyfinAPI HeadMasterHlsAudioPlaylistAPI.swift
[814/825] Compiling JellyfinAPI HeadMasterHlsVideoPlaylistAPI.swift
[815/825] Compiling JellyfinAPI HeadMusicGenreImageAPI.swift
[816/825] Compiling JellyfinAPI HeadMusicGenreImageByIndexAPI.swift
[817/825] Compiling JellyfinAPI HeadPersonImageAPI.swift
[818/825] Compiling JellyfinAPI HeadPersonImageByIndexAPI.swift
[819/825] Compiling JellyfinAPI HeadStudioImageAPI.swift
[820/825] Compiling JellyfinAPI HeadStudioImageByIndexAPI.swift
[821/825] Compiling JellyfinAPI HeadUniversalAudioStreamAPI.swift
[822/825] Compiling JellyfinAPI HeadUserImageAPI.swift
[823/825] Compiling JellyfinAPI HeadUserImageByIndexAPI.swift
[824/825] Compiling JellyfinAPI HeadVideoStreamAPI.swift
[825/825] Compiling JellyfinAPI HeadVideoStreamByContainerAPI.swift
error: fatalError
BUILD FAILURE 5.10 linux