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