Build Information
Failed to build JellyfinAPI, reference 0.5.1 (106246
), with Swift 5.9 for Linux on 30 Mar 2025 22:19:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
/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
^
[230/414] 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
^
[231/414] 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
^
[232/414] 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
^
[233/414] 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
^
[234/414] 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
^
[235/414] 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
^
[236/414] 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
^
[237/414] 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
^
[238/414] 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
^
[239/414] 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
^
[240/439] Compiling JellyfinAPI RecommendationDto.swift
[241/439] Compiling JellyfinAPI RecommendationType.swift
[242/439] Compiling JellyfinAPI RecordingStatus.swift
[243/439] Compiling JellyfinAPI RefreshProgressMessage.swift
[244/439] Compiling JellyfinAPI RemoteImageInfo.swift
[245/439] Compiling JellyfinAPI RemoteImageResult.swift
[246/439] Compiling JellyfinAPI RemoteLyricInfoDto.swift
[247/439] Compiling JellyfinAPI RemoteSearchResult.swift
[248/439] Compiling JellyfinAPI RemoteSubtitleInfo.swift
[249/439] Compiling JellyfinAPI RemoveFromPlaylistRequestDto.swift
[250/439] Compiling JellyfinAPI RepeatMode.swift
[251/439] Compiling JellyfinAPI RepositoryInfo.swift
[252/439] Compiling JellyfinAPI ResponseProfile.swift
[253/439] Compiling JellyfinAPI RestartRequiredMessage.swift
[254/439] Compiling JellyfinAPI ScheduledTaskEndedMessage.swift
[255/439] Compiling JellyfinAPI ScheduledTasksInfoMessage.swift
[256/439] Compiling JellyfinAPI ScheduledTasksInfoStartMessage.swift
[257/439] Compiling JellyfinAPI ScheduledTasksInfoStopMessage.swift
[258/439] Compiling JellyfinAPI ScrollDirection.swift
[259/439] Compiling JellyfinAPI SearchHint.swift
[260/439] Compiling JellyfinAPI SearchHintResult.swift
[261/439] Compiling JellyfinAPI SeekRequestDto.swift
[262/439] Compiling JellyfinAPI SendCommand.swift
[263/439] Compiling JellyfinAPI SendCommandType.swift
[264/439] Compiling JellyfinAPI SendToUserType.swift
[265/463] Compiling JellyfinAPI OpenISO8601Formatter.swift
[266/463] Compiling JellyfinAPI AddItemToPlaylistAPI.swift
[267/463] Compiling JellyfinAPI AddListingProviderAPI.swift
[268/463] Compiling JellyfinAPI AddMediaPathAPI.swift
[269/463] Compiling JellyfinAPI AddToCollectionAPI.swift
[270/463] Compiling JellyfinAPI AddToPlaylistAPI.swift
[271/463] Compiling JellyfinAPI AddTunerHostAPI.swift
[272/463] Compiling JellyfinAPI AddUserToSessionAPI.swift
[273/463] Compiling JellyfinAPI AddVirtualFolderAPI.swift
[274/463] Compiling JellyfinAPI ApplySearchCriteriaAPI.swift
[275/463] Compiling JellyfinAPI AuthenticateUserAPI.swift
[276/463] Compiling JellyfinAPI AuthenticateUserByNameAPI.swift
[277/463] Compiling JellyfinAPI AuthenticateWithQuickConnectAPI.swift
[278/463] Compiling JellyfinAPI AuthorizeAPI.swift
[279/463] Compiling JellyfinAPI AuthorizeQuickConnectAPI.swift
[280/463] Compiling JellyfinAPI CancelPackageInstallationAPI.swift
[281/463] Compiling JellyfinAPI CancelSeriesTimerAPI.swift
[282/463] Compiling JellyfinAPI CancelTimerAPI.swift
[283/463] Compiling JellyfinAPI CloseLiveStreamAPI.swift
[284/463] Compiling JellyfinAPI CompleteWizardAPI.swift
[285/463] Compiling JellyfinAPI ConnectAPI.swift
[286/463] Compiling JellyfinAPI CreateAdminNotificationAPI.swift
[287/463] Compiling JellyfinAPI CreateCollectionAPI.swift
[288/463] Compiling JellyfinAPI CreateKeyAPI.swift
[289/463] Compiling JellyfinAPI CreatePlaylistAPI.swift
[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 PersonLookupInfo.swift
[316/511] Compiling JellyfinAPI PersonLookupInfoRemoteSearchQuery.swift
[317/511] Compiling JellyfinAPI PinRedeemResult.swift
[318/511] Compiling JellyfinAPI PingRequestDto.swift
[319/511] Compiling JellyfinAPI PlayAccess.swift
[320/511] Compiling JellyfinAPI PlayCommand.swift
[321/511] Compiling JellyfinAPI PlayMessage.swift
[322/511] Compiling JellyfinAPI PlayMethod.swift
[323/511] Compiling JellyfinAPI PlayQueueUpdate.swift
[324/511] Compiling JellyfinAPI PlayQueueUpdateGroupUpdate.swift
[325/511] Compiling JellyfinAPI PlayQueueUpdateReason.swift
[326/511] Compiling JellyfinAPI PlayRequest.swift
[327/511] Compiling JellyfinAPI PlayRequestDto.swift
[328/511] Compiling JellyfinAPI PlaybackErrorCode.swift
[329/511] Compiling JellyfinAPI PlaybackInfoDto.swift
[330/511] Compiling JellyfinAPI PlaybackInfoResponse.swift
[331/511] Compiling JellyfinAPI PlaybackOrder.swift
[332/511] Compiling JellyfinAPI PlaybackProgressInfo.swift
[333/511] Compiling JellyfinAPI PlaybackRequestType.swift
[334/511] Compiling JellyfinAPI PlaybackStartInfo.swift
[335/511] Compiling JellyfinAPI PlaybackStopInfo.swift
[336/511] Compiling JellyfinAPI PlayerStateInfo.swift
[337/511] Compiling JellyfinAPI PlaylistCreationResult.swift
[338/511] Compiling JellyfinAPI PlaylistDto.swift
[339/511] Compiling JellyfinAPI PlaylistUserPermissions.swift
[340/535] Compiling JellyfinAPI GetChannelAPI.swift
[341/535] Compiling JellyfinAPI GetChannelFeaturesAPI.swift
[342/535] Compiling JellyfinAPI GetChannelItemsAPI.swift
[343/535] Compiling JellyfinAPI GetChannelMappingOptionsAPI.swift
[344/535] Compiling JellyfinAPI GetChannelsAPI.swift
[345/535] Compiling JellyfinAPI GetConfigurationAPI.swift
[346/535] Compiling JellyfinAPI GetConfigurationPagesAPI.swift
[347/535] Compiling JellyfinAPI GetConnectionManager2API.swift
[348/535] Compiling JellyfinAPI GetConnectionManager3API.swift
[349/535] Compiling JellyfinAPI GetConnectionManagerAPI.swift
[350/535] Compiling JellyfinAPI GetContentDirectory2API.swift
[351/535] Compiling JellyfinAPI GetContentDirectory3API.swift
[352/535] Compiling JellyfinAPI GetContentDirectoryAPI.swift
[353/535] Compiling JellyfinAPI GetCountriesAPI.swift
[354/535] Compiling JellyfinAPI GetCriticReviewsAPI.swift
[355/535] Compiling JellyfinAPI GetCulturesAPI.swift
[356/535] Compiling JellyfinAPI GetCurrentUserAPI.swift
[357/535] Compiling JellyfinAPI GetDashboardConfigurationPageAPI.swift
[358/535] Compiling JellyfinAPI GetDefaultDirectoryBrowserAPI.swift
[359/535] Compiling JellyfinAPI GetDefaultListingProviderAPI.swift
[360/535] Compiling JellyfinAPI GetDefaultMetadataOptionsAPI.swift
[361/535] Compiling JellyfinAPI GetDefaultProfileAPI.swift
[362/535] Compiling JellyfinAPI GetDefaultTimerAPI.swift
[363/535] Compiling JellyfinAPI GetDescriptionXml2API.swift
[364/559] Compiling JellyfinAPI AccessSchedule.swift
[365/559] Compiling JellyfinAPI ActivityLogEntry.swift
[366/559] Compiling JellyfinAPI ActivityLogEntryMessage.swift
[367/559] Compiling JellyfinAPI ActivityLogEntryQueryResult.swift
[368/559] Compiling JellyfinAPI ActivityLogEntryStartMessage.swift
[369/559] Compiling JellyfinAPI ActivityLogEntryStopMessage.swift
[370/559] Compiling JellyfinAPI AddVirtualFolderDto.swift
[371/559] Compiling JellyfinAPI AdminNotificationDto.swift
[372/559] Compiling JellyfinAPI AlbumInfo.swift
[373/559] Compiling JellyfinAPI AlbumInfoRemoteSearchQuery.swift
[374/559] Compiling JellyfinAPI AllThemeMediaResult.swift
[375/559] Compiling JellyfinAPI Architecture.swift
[376/559] Compiling JellyfinAPI ArtistInfo.swift
[377/559] Compiling JellyfinAPI ArtistInfoRemoteSearchQuery.swift
[378/559] Compiling JellyfinAPI AudioSpatialFormat.swift
[379/559] Compiling JellyfinAPI AuthenticateUserByName.swift
[380/559] Compiling JellyfinAPI AuthenticationInfo.swift
[381/559] Compiling JellyfinAPI AuthenticationInfoQueryResult.swift
[382/559] Compiling JellyfinAPI AuthenticationResult.swift
[383/559] Compiling JellyfinAPI BaseItem.swift
[384/559] Compiling JellyfinAPI BaseItemDto.swift
[385/559] Compiling JellyfinAPI BaseItemDtoQueryResult.swift
[386/559] Compiling JellyfinAPI BaseItemKind.swift
[387/559] Compiling JellyfinAPI BaseItemPerson.swift
[388/559] Compiling JellyfinAPI BookInfo.swift
[389/583] Compiling JellyfinAPI DownloadRemoteImageAPI.swift
[390/583] Compiling JellyfinAPI DownloadRemoteLyricsAPI.swift
[391/583] Compiling JellyfinAPI DownloadRemoteSubtitlesAPI.swift
[392/583] Compiling JellyfinAPI EnablePluginAPI.swift
[393/583] Compiling JellyfinAPI ForgotPasswordAPI.swift
[394/583] Compiling JellyfinAPI ForgotPasswordPinAPI.swift
[395/583] Compiling JellyfinAPI GetAPI.swift
[396/583] Compiling JellyfinAPI GetAdditionalPartAPI.swift
[397/583] Compiling JellyfinAPI GetAlbumArtistsAPI.swift
[398/583] Compiling JellyfinAPI GetAllChannelFeaturesAPI.swift
[399/583] Compiling JellyfinAPI GetAncestorsAPI.swift
[400/583] Compiling JellyfinAPI GetArtistByNameAPI.swift
[401/583] Compiling JellyfinAPI GetArtistImageAPI.swift
[402/583] Compiling JellyfinAPI GetArtistsAPI.swift
[403/583] Compiling JellyfinAPI GetAttachmentAPI.swift
[404/583] Compiling JellyfinAPI GetAudioStreamAPI.swift
[405/583] Compiling JellyfinAPI GetAudioStreamByContainerAPI.swift
[406/583] Compiling JellyfinAPI GetAuthProvidersAPI.swift
[407/583] Compiling JellyfinAPI GetBitrateTestBytesAPI.swift
[408/583] Compiling JellyfinAPI GetBookRemoteSearchResultsAPI.swift
[409/583] Compiling JellyfinAPI GetBoxSetRemoteSearchResultsAPI.swift
[410/583] Compiling JellyfinAPI GetBrandingCss2API.swift
[411/583] Compiling JellyfinAPI GetBrandingCssAPI.swift
[412/583] Compiling JellyfinAPI GetBrandingOptionsAPI.swift
[413/583] Compiling JellyfinAPI GetDescriptionXmlAPI.swift
[414/583] Compiling JellyfinAPI GetDeviceInfoAPI.swift
[415/583] Compiling JellyfinAPI GetDeviceOptionsAPI.swift
[416/583] Compiling JellyfinAPI GetDevicesAPI.swift
[417/583] Compiling JellyfinAPI GetDirectoryContentsAPI.swift
[418/583] Compiling JellyfinAPI GetDisplayPreferencesAPI.swift
[419/583] Compiling JellyfinAPI GetDownloadAPI.swift
[420/583] Compiling JellyfinAPI GetDrivesAPI.swift
[421/583] Compiling JellyfinAPI GetEnabledAPI.swift
[422/583] Compiling JellyfinAPI GetEndpointInfoAPI.swift
[423/583] Compiling JellyfinAPI GetEpisodesAPI.swift
[424/583] Compiling JellyfinAPI GetExternalIDInfosAPI.swift
[425/583] Compiling JellyfinAPI GetFallbackFontAPI.swift
[426/583] Compiling JellyfinAPI GetFallbackFontListAPI.swift
[427/583] Compiling JellyfinAPI GetFileAPI.swift
[428/583] Compiling JellyfinAPI GetFirstUser2API.swift
[429/583] Compiling JellyfinAPI GetFirstUserAPI.swift
[430/583] Compiling JellyfinAPI GetGeneralImageAPI.swift
[431/583] Compiling JellyfinAPI GetGeneralImagesAPI.swift
[432/583] Compiling JellyfinAPI GetGenreAPI.swift
[433/583] Compiling JellyfinAPI GetGenreImageAPI.swift
[434/583] Compiling JellyfinAPI GetGenreImageByIndexAPI.swift
[435/583] Compiling JellyfinAPI GetGenresAPI.swift
[436/583] Compiling JellyfinAPI GetGroupingOptionsAPI.swift
[437/631] Compiling JellyfinAPI GetMediaInfoImagesAPI.swift
[438/631] Compiling JellyfinAPI GetMediaReceiverRegistrar2API.swift
[439/631] Compiling JellyfinAPI GetMediaReceiverRegistrar3API.swift
[440/631] Compiling JellyfinAPI GetMediaReceiverRegistrarAPI.swift
[441/631] Compiling JellyfinAPI GetMetadataEditorInfoAPI.swift
[442/631] Compiling JellyfinAPI GetMovieRecommendationsAPI.swift
[443/631] Compiling JellyfinAPI GetMovieRemoteSearchResultsAPI.swift
[444/631] Compiling JellyfinAPI GetMusicAlbumRemoteSearchResultsAPI.swift
[445/631] Compiling JellyfinAPI GetMusicArtistRemoteSearchResultsAPI.swift
[446/631] Compiling JellyfinAPI GetMusicGenreAPI.swift
[447/631] Compiling JellyfinAPI GetMusicGenreImageAPI.swift
[448/631] Compiling JellyfinAPI GetMusicGenreImageByIndexAPI.swift
[449/631] Compiling JellyfinAPI GetMusicGenresAPI.swift
[450/631] Compiling JellyfinAPI GetMusicVideoRemoteSearchResultsAPI.swift
[451/631] Compiling JellyfinAPI GetNamedConfigurationAPI.swift
[452/631] Compiling JellyfinAPI GetNetworkSharesAPI.swift
[453/631] Compiling JellyfinAPI GetNextUpAPI.swift
[454/631] Compiling JellyfinAPI GetNotificationServicesAPI.swift
[455/631] Compiling JellyfinAPI GetNotificationTypesAPI.swift
[456/631] Compiling JellyfinAPI GetNotificationsAPI.swift
[457/631] Compiling JellyfinAPI GetNotificationsSummaryAPI.swift
[458/631] Compiling JellyfinAPI GetPackageInfoAPI.swift
[459/631] Compiling JellyfinAPI GetPackagesAPI.swift
[460/631] Compiling JellyfinAPI GetParentPathAPI.swift
[461/655] Compiling JellyfinAPI GetParentalRatingsAPI.swift
[462/655] Compiling JellyfinAPI GetPasswordResetProvidersAPI.swift
[463/655] Compiling JellyfinAPI GetPersonAPI.swift
[464/655] Compiling JellyfinAPI GetPersonImageAPI.swift
[465/655] Compiling JellyfinAPI GetPersonImageByIndexAPI.swift
[466/655] Compiling JellyfinAPI GetPersonRemoteSearchResultsAPI.swift
[467/655] Compiling JellyfinAPI GetPersonsAPI.swift
[468/655] Compiling JellyfinAPI GetPhysicalPathsAPI.swift
[469/655] Compiling JellyfinAPI GetPingSystemAPI.swift
[470/655] Compiling JellyfinAPI GetPlaybackInfoAPI.swift
[471/655] Compiling JellyfinAPI GetPlaylistAPI.swift
[472/655] Compiling JellyfinAPI GetPlaylistItemsAPI.swift
[473/655] Compiling JellyfinAPI GetPlaylistUserAPI.swift
[474/655] Compiling JellyfinAPI GetPlaylistUsersAPI.swift
[475/655] Compiling JellyfinAPI GetPluginConfigurationAPI.swift
[476/655] Compiling JellyfinAPI GetPluginImageAPI.swift
[477/655] Compiling JellyfinAPI GetPluginManifestAPI.swift
[478/655] Compiling JellyfinAPI GetPluginsAPI.swift
[479/655] Compiling JellyfinAPI GetPostedPlaybackInfoAPI.swift
[480/655] Compiling JellyfinAPI GetProfileAPI.swift
[481/655] Compiling JellyfinAPI GetProfileInfosAPI.swift
[482/655] Compiling JellyfinAPI GetProgramAPI.swift
[483/655] Compiling JellyfinAPI GetProgramsAPI.swift
[484/655] Compiling JellyfinAPI GetPublicSystemInfoAPI.swift
[485/679] Compiling JellyfinAPI GetGuideInfoAPI.swift
[486/679] Compiling JellyfinAPI GetHlsAudioSegmentAPI.swift
[487/679] Compiling JellyfinAPI GetHlsAudioSegmentLegacyAacAPI.swift
[488/679] Compiling JellyfinAPI GetHlsAudioSegmentLegacyMp3API.swift
[489/679] Compiling JellyfinAPI GetHlsPlaylistLegacyAPI.swift
[490/679] Compiling JellyfinAPI GetHlsVideoSegmentAPI.swift
[491/679] Compiling JellyfinAPI GetHlsVideoSegmentLegacyAPI.swift
[492/679] Compiling JellyfinAPI GetIconAPI.swift
[493/679] Compiling JellyfinAPI GetIconIDAPI.swift
[494/679] Compiling JellyfinAPI GetInstantMixFromAlbumAPI.swift
[495/679] Compiling JellyfinAPI GetInstantMixFromArtists2API.swift
[496/679] Compiling JellyfinAPI GetInstantMixFromArtistsAPI.swift
[497/679] Compiling JellyfinAPI GetInstantMixFromItemAPI.swift
[498/679] Compiling JellyfinAPI GetInstantMixFromMusicGenreByIDAPI.swift
[499/679] Compiling JellyfinAPI GetInstantMixFromMusicGenreByNameAPI.swift
[500/679] Compiling JellyfinAPI GetInstantMixFromPlaylistAPI.swift
[501/679] Compiling JellyfinAPI GetInstantMixFromSongAPI.swift
[502/679] Compiling JellyfinAPI GetIntrosAPI.swift
[503/679] Compiling JellyfinAPI GetItemAPI.swift
[504/679] Compiling JellyfinAPI GetItemCountsAPI.swift
[505/679] Compiling JellyfinAPI GetItemImage2API.swift
[506/679] Compiling JellyfinAPI GetItemImageAPI.swift
[507/679] Compiling JellyfinAPI GetItemImageByIndexAPI.swift
[508/679] Compiling JellyfinAPI GetItemImageInfosAPI.swift
[509/703] Compiling JellyfinAPI TimerInfoDtoQueryResult.swift
[510/703] Compiling JellyfinAPI TonemappingAlgorithm.swift
[511/703] Compiling JellyfinAPI TonemappingMode.swift
[512/703] Compiling JellyfinAPI TonemappingRange.swift
[513/703] Compiling JellyfinAPI TrailerInfo.swift
[514/703] Compiling JellyfinAPI TrailerInfoRemoteSearchQuery.swift
[515/703] Compiling JellyfinAPI TranscodeReason.swift
[516/703] Compiling JellyfinAPI TranscodeSeekInfo.swift
[517/703] Compiling JellyfinAPI TranscodingInfo.swift
[518/703] Compiling JellyfinAPI TranscodingProfile.swift
[519/703] Compiling JellyfinAPI TransportStreamTimestamp.swift
[520/703] Compiling JellyfinAPI TrickplayInfo.swift
[521/703] Compiling JellyfinAPI TrickplayOptions.swift
[522/703] Compiling JellyfinAPI TrickplayScanBehavior.swift
[523/703] Compiling JellyfinAPI TunerChannelMapping.swift
[524/703] Compiling JellyfinAPI TunerHostInfo.swift
[525/703] Compiling JellyfinAPI TypeOptions.swift
[526/703] Compiling JellyfinAPI UnratedItem.swift
[527/703] Compiling JellyfinAPI UpdateLibraryOptionsDto.swift
[528/703] Compiling JellyfinAPI UpdateMediaPathRequestDto.swift
[529/703] Compiling JellyfinAPI UpdatePlaylistDto.swift
[530/703] Compiling JellyfinAPI UpdatePlaylistUserDto.swift
[531/703] Compiling JellyfinAPI UpdateUserEasyPassword.swift
[532/703] Compiling JellyfinAPI UpdateUserItemDataDto.swift
[533/703] Compiling JellyfinAPI UpdateUserPassword.swift
[534/703] Compiling JellyfinAPI SpecialViewOptionDto.swift
[535/703] Compiling JellyfinAPI StartupConfigurationDto.swift
[536/703] Compiling JellyfinAPI StartupRemoteAccessDto.swift
[537/703] Compiling JellyfinAPI StartupUserDto.swift
[538/703] Compiling JellyfinAPI StringGroupUpdate.swift
[539/703] Compiling JellyfinAPI SubtitleDeliveryMethod.swift
[540/703] Compiling JellyfinAPI SubtitleOptions.swift
[541/703] Compiling JellyfinAPI SubtitlePlaybackMode.swift
[542/703] Compiling JellyfinAPI SubtitleProfile.swift
[543/703] Compiling JellyfinAPI SyncPlayCommandMessage.swift
[544/703] Compiling JellyfinAPI SyncPlayGroupUpdateCommandMessage.swift
[545/703] Compiling JellyfinAPI SyncPlayQueueItem.swift
[546/703] Compiling JellyfinAPI SyncPlayUserAccessType.swift
[547/703] Compiling JellyfinAPI SystemInfo.swift
[548/703] Compiling JellyfinAPI TaskCompletionStatus.swift
[549/703] Compiling JellyfinAPI TaskInfo.swift
[550/703] Compiling JellyfinAPI TaskResult.swift
[551/703] Compiling JellyfinAPI TaskState.swift
[552/703] Compiling JellyfinAPI TaskTriggerInfo.swift
[553/703] Compiling JellyfinAPI TaskTriggerType.swift
[554/703] Compiling JellyfinAPI ThemeMediaResult.swift
[555/703] Compiling JellyfinAPI TimerCancelledMessage.swift
[556/703] Compiling JellyfinAPI TimerCreatedMessage.swift
[557/703] Compiling JellyfinAPI TimerEventInfo.swift
[558/703] Compiling JellyfinAPI TimerInfoDto.swift
[559/703] Compiling JellyfinAPI SeriesInfo.swift
[560/703] Compiling JellyfinAPI SeriesInfoRemoteSearchQuery.swift
[561/703] Compiling JellyfinAPI SeriesStatus.swift
[562/703] Compiling JellyfinAPI SeriesTimerCancelledMessage.swift
[563/703] Compiling JellyfinAPI SeriesTimerCreatedMessage.swift
[564/703] Compiling JellyfinAPI SeriesTimerInfoDto.swift
[565/703] Compiling JellyfinAPI SeriesTimerInfoDtoQueryResult.swift
[566/703] Compiling JellyfinAPI ServerConfiguration.swift
[567/703] Compiling JellyfinAPI ServerDiscoveryInfo.swift
[568/703] Compiling JellyfinAPI ServerRestartingMessage.swift
[569/703] Compiling JellyfinAPI ServerShuttingDownMessage.swift
[570/703] Compiling JellyfinAPI SessionInfo.swift
[571/703] Compiling JellyfinAPI SessionInfoDto.swift
[572/703] Compiling JellyfinAPI SessionMessageType.swift
[573/703] Compiling JellyfinAPI SessionUserInfo.swift
[574/703] Compiling JellyfinAPI SessionsMessage.swift
[575/703] Compiling JellyfinAPI SessionsStartMessage.swift
[576/703] Compiling JellyfinAPI SessionsStopMessage.swift
[577/703] Compiling JellyfinAPI SetChannelMappingDto.swift
[578/703] Compiling JellyfinAPI SetPlaylistItemRequestDto.swift
[579/703] Compiling JellyfinAPI SetRepeatModeRequestDto.swift
[580/703] Compiling JellyfinAPI SetShuffleModeRequestDto.swift
[581/703] Compiling JellyfinAPI SongInfo.swift
[582/703] Compiling JellyfinAPI SortOrder.swift
[583/703] Compiling JellyfinAPI SpecialFeatureType.swift
[584/775] Compiling JellyfinAPI GetPublicUsersAPI.swift
[585/775] Compiling JellyfinAPI GetQueryFiltersAPI.swift
[586/775] Compiling JellyfinAPI GetQueryFiltersLegacyAPI.swift
[587/775] Compiling JellyfinAPI GetQuickConnectEnabledAPI.swift
[588/775] Compiling JellyfinAPI GetQuickConnectStateAPI.swift
[589/775] Compiling JellyfinAPI GetRatingImageAPI.swift
[590/775] Compiling JellyfinAPI GetRatingImagesAPI.swift
[591/775] Compiling JellyfinAPI GetRecommendedProgramsAPI.swift
[592/775] Compiling JellyfinAPI GetRecordingAPI.swift
[593/775] Compiling JellyfinAPI GetRecordingFoldersAPI.swift
[594/775] Compiling JellyfinAPI GetRecordingGroupAPI.swift
[595/775] Compiling JellyfinAPI GetRecordingGroupsAPI.swift
[596/775] Compiling JellyfinAPI GetRecordingsAPI.swift
[597/775] Compiling JellyfinAPI GetRecordingsSeriesAPI.swift
[598/775] Compiling JellyfinAPI GetRemoteImageProvidersAPI.swift
[599/775] Compiling JellyfinAPI GetRemoteImagesAPI.swift
[600/775] Compiling JellyfinAPI GetRemoteLyricsAPI.swift
[601/775] Compiling JellyfinAPI GetRemoteSubtitlesAPI.swift
[602/775] Compiling JellyfinAPI GetRepositoriesAPI.swift
[603/775] Compiling JellyfinAPI GetResumeItemsAPI.swift
[604/775] Compiling JellyfinAPI GetRootFolderAPI.swift
[605/775] Compiling JellyfinAPI GetSchedulesDirectCountriesAPI.swift
[606/775] Compiling JellyfinAPI GetSearchHintsAPI.swift
[607/775] Compiling JellyfinAPI GetSeasonsAPI.swift
[608/799] Compiling JellyfinAPI SendFullGeneralCommandAPI.swift
[609/799] Compiling JellyfinAPI SendGeneralCommandAPI.swift
[610/799] Compiling JellyfinAPI SendMessageCommandAPI.swift
[611/799] Compiling JellyfinAPI SendPlaystateCommandAPI.swift
[612/799] Compiling JellyfinAPI SendSystemCommandAPI.swift
[613/799] Compiling JellyfinAPI SetChannelMappingAPI.swift
[614/799] Compiling JellyfinAPI SetItemImageAPI.swift
[615/799] Compiling JellyfinAPI SetItemImageByIndexAPI.swift
[616/799] Compiling JellyfinAPI SetReadAPI.swift
[617/799] Compiling JellyfinAPI SetRemoteAccessAPI.swift
[618/799] Compiling JellyfinAPI SetRepositoriesAPI.swift
[619/799] Compiling JellyfinAPI SetUnreadAPI.swift
[620/799] Compiling JellyfinAPI ShutdownApplicationAPI.swift
[621/799] Compiling JellyfinAPI StartTaskAPI.swift
[622/799] Compiling JellyfinAPI StopEncodingProcessAPI.swift
[623/799] Compiling JellyfinAPI StopTaskAPI.swift
[624/799] Compiling JellyfinAPI SyncPlayBufferingAPI.swift
[625/799] Compiling JellyfinAPI SyncPlayCreateGroupAPI.swift
[626/799] Compiling JellyfinAPI SyncPlayGetGroupsAPI.swift
[627/799] Compiling JellyfinAPI SyncPlayJoinGroupAPI.swift
[628/799] Compiling JellyfinAPI SyncPlayLeaveGroupAPI.swift
[629/799] Compiling JellyfinAPI SyncPlayMovePlaylistItemAPI.swift
[630/799] Compiling JellyfinAPI SyncPlayNextItemAPI.swift
[631/799] Compiling JellyfinAPI SyncPlayPauseAPI.swift
[632/823] Compiling JellyfinAPI SyncPlayPingAPI.swift
[633/823] Compiling JellyfinAPI SyncPlayPreviousItemAPI.swift
[634/823] Compiling JellyfinAPI SyncPlayQueueAPI.swift
[635/823] Compiling JellyfinAPI SyncPlayReadyAPI.swift
[636/823] Compiling JellyfinAPI SyncPlayRemoveFromPlaylistAPI.swift
[637/823] Compiling JellyfinAPI SyncPlaySeekAPI.swift
[638/823] Compiling JellyfinAPI SyncPlaySetIgnoreWaitAPI.swift
[639/823] Compiling JellyfinAPI SyncPlaySetNewQueueAPI.swift
[640/823] Compiling JellyfinAPI SyncPlaySetPlaylistItemAPI.swift
[641/823] Compiling JellyfinAPI SyncPlaySetRepeatModeAPI.swift
[642/823] Compiling JellyfinAPI SyncPlaySetShuffleModeAPI.swift
[643/823] Compiling JellyfinAPI SyncPlayStopAPI.swift
[644/823] Compiling JellyfinAPI SyncPlayUnpauseAPI.swift
[645/823] Compiling JellyfinAPI TmdbClientConfigurationAPI.swift
[646/823] Compiling JellyfinAPI UninstallPluginAPI.swift
[647/823] Compiling JellyfinAPI UninstallPluginByVersionAPI.swift
[648/823] Compiling JellyfinAPI UnmarkFavoriteItemAPI.swift
[649/823] Compiling JellyfinAPI UpdateConfigurationAPI.swift
[650/823] Compiling JellyfinAPI UpdateDeviceOptionsAPI.swift
[651/823] Compiling JellyfinAPI UpdateDisplayPreferencesAPI.swift
[652/823] Compiling JellyfinAPI UpdateInitialConfigurationAPI.swift
[653/823] Compiling JellyfinAPI UpdateItemAPI.swift
[654/823] Compiling JellyfinAPI UpdateItemContentTypeAPI.swift
[655/823] Compiling JellyfinAPI UpdateItemImageIndexAPI.swift
[656/823] Compiling JellyfinAPI GetSeriesRemoteSearchResultsAPI.swift
[657/823] Compiling JellyfinAPI GetSeriesTimerAPI.swift
[658/823] Compiling JellyfinAPI GetSeriesTimersAPI.swift
[659/823] Compiling JellyfinAPI GetServerLogsAPI.swift
[660/823] Compiling JellyfinAPI GetSessionsAPI.swift
[661/823] Compiling JellyfinAPI GetSimilarAlbumsAPI.swift
[662/823] Compiling JellyfinAPI GetSimilarArtistsAPI.swift
[663/823] Compiling JellyfinAPI GetSimilarItemsAPI.swift
[664/823] Compiling JellyfinAPI GetSimilarMoviesAPI.swift
[665/823] Compiling JellyfinAPI GetSimilarShowsAPI.swift
[666/823] Compiling JellyfinAPI GetSimilarTrailersAPI.swift
[667/823] Compiling JellyfinAPI GetSpecialFeaturesAPI.swift
[668/823] Compiling JellyfinAPI GetSplashscreenAPI.swift
[669/823] Compiling JellyfinAPI GetStartupConfigurationAPI.swift
[670/823] Compiling JellyfinAPI GetStudioAPI.swift
[671/823] Compiling JellyfinAPI GetStudioImageAPI.swift
[672/823] Compiling JellyfinAPI GetStudioImageByIndexAPI.swift
[673/823] Compiling JellyfinAPI GetStudiosAPI.swift
[674/823] Compiling JellyfinAPI GetSubtitleAPI.swift
[675/823] Compiling JellyfinAPI GetSubtitlePlaylistAPI.swift
[676/823] Compiling JellyfinAPI GetSubtitleWithTicksAPI.swift
[677/823] Compiling JellyfinAPI GetSuggestionsAPI.swift
[678/823] Compiling JellyfinAPI GetSystemInfoAPI.swift
[679/823] Compiling JellyfinAPI GetTaskAPI.swift
[680/823] Compiling JellyfinAPI PostUserImageByIndexAPI.swift
[681/823] Compiling JellyfinAPI ProcessConnectionManagerControlRequestAPI.swift
[682/823] Compiling JellyfinAPI ProcessContentDirectoryControlRequestAPI.swift
[683/823] Compiling JellyfinAPI ProcessMediaReceiverRegistrarControlRequestAPI.swift
[684/823] Compiling JellyfinAPI RefreshItemAPI.swift
[685/823] Compiling JellyfinAPI RefreshLibraryAPI.swift
[686/823] Compiling JellyfinAPI RemoveFromCollectionAPI.swift
[687/823] Compiling JellyfinAPI RemoveFromPlaylistAPI.swift
[688/823] Compiling JellyfinAPI RemoveItemFromPlaylistAPI.swift
[689/823] Compiling JellyfinAPI RemoveMediaPathAPI.swift
[690/823] Compiling JellyfinAPI RemoveUserFromPlaylistAPI.swift
[691/823] Compiling JellyfinAPI RemoveUserFromSessionAPI.swift
[692/823] Compiling JellyfinAPI RemoveVirtualFolderAPI.swift
[693/823] Compiling JellyfinAPI RenameVirtualFolderAPI.swift
[694/823] Compiling JellyfinAPI ReportPlaybackProgressAPI.swift
[695/823] Compiling JellyfinAPI ReportPlaybackStartAPI.swift
[696/823] Compiling JellyfinAPI ReportPlaybackStoppedAPI.swift
[697/823] Compiling JellyfinAPI ReportSessionEndedAPI.swift
[698/823] Compiling JellyfinAPI ReportViewingAPI.swift
[699/823] Compiling JellyfinAPI ResetTunerAPI.swift
[700/823] Compiling JellyfinAPI RestartApplicationAPI.swift
[701/823] Compiling JellyfinAPI RevokeKeyAPI.swift
[702/823] Compiling JellyfinAPI SearchRemoteLyricsAPI.swift
[703/823] Compiling JellyfinAPI SearchRemoteSubtitlesAPI.swift
[704/823] Compiling JellyfinAPI GetItemSegmentsAPI.swift
[705/823] Compiling JellyfinAPI GetItemUserDataAPI.swift
[706/823] Compiling JellyfinAPI GetItemsAPI.swift
[707/823] Compiling JellyfinAPI GetItemsByUserIDAPI.swift
[708/823] Compiling JellyfinAPI GetKeysAPI.swift
[709/823] Compiling JellyfinAPI GetLatestChannelItemsAPI.swift
[710/823] Compiling JellyfinAPI GetLatestMediaAPI.swift
[711/823] Compiling JellyfinAPI GetLibraryOptionsInfoAPI.swift
[712/823] Compiling JellyfinAPI GetLineupsAPI.swift
[713/823] Compiling JellyfinAPI GetLiveHlsStreamAPI.swift
[714/823] Compiling JellyfinAPI GetLiveRecordingFileAPI.swift
[715/823] Compiling JellyfinAPI GetLiveStreamFileAPI.swift
[716/823] Compiling JellyfinAPI GetLiveTvChannelsAPI.swift
[717/823] Compiling JellyfinAPI GetLiveTvInfoAPI.swift
[718/823] Compiling JellyfinAPI GetLiveTvProgramsAPI.swift
[719/823] Compiling JellyfinAPI GetLocalTrailersAPI.swift
[720/823] Compiling JellyfinAPI GetLocalizationOptionsAPI.swift
[721/823] Compiling JellyfinAPI GetLogEntriesAPI.swift
[722/823] Compiling JellyfinAPI GetLogFileAPI.swift
[723/823] Compiling JellyfinAPI GetLyricsAPI.swift
[724/823] Compiling JellyfinAPI GetMasterHlsAudioPlaylistAPI.swift
[725/823] Compiling JellyfinAPI GetMasterHlsVideoPlaylistAPI.swift
[726/823] Compiling JellyfinAPI GetMediaFoldersAPI.swift
[727/823] Compiling JellyfinAPI GetMediaInfoImageAPI.swift
[728/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
^~~~~~~~~~
[729/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
^~~~~~~~~~
[730/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
^~~~~~~~~~
[731/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
^~~~~~~~~~
[732/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
^~~~~~~~~~
[733/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
^~~~~~~~~~
[734/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
^~~~~~~~~~
[735/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
^~~~~~~~~~
[736/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
^~~~~~~~~~
[737/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
^~~~~~~~~~
[738/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
^~~~~~~~~~
[739/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
^~~~~~~~~~
[740/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
^~~~~~~~~~
[741/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
^~~~~~~~~~
[742/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
^~~~~~~~~~
[743/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
^~~~~~~~~~
[744/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
^~~~~~~~~~
[745/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
^~~~~~~~~~
[746/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
^~~~~~~~~~
[747/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
^~~~~~~~~~
[748/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
^~~~~~~~~~
[749/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
^~~~~~~~~~
[750/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
^~~~~~~~~~
[751/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
^~~~~~~~~~
[752/823] Compiling JellyfinAPI InitiateAPI.swift
[753/823] Compiling JellyfinAPI InitiateQuickConnectAPI.swift
[754/823] Compiling JellyfinAPI InstallPackageAPI.swift
[755/823] Compiling JellyfinAPI LogFileAPI.swift
[756/823] Compiling JellyfinAPI MarkFavoriteItemAPI.swift
[757/823] Compiling JellyfinAPI MarkPlayedItemAPI.swift
[758/823] Compiling JellyfinAPI MarkUnplayedItemAPI.swift
[759/823] Compiling JellyfinAPI MergeVersionsAPI.swift
[760/823] Compiling JellyfinAPI MoveItemAPI.swift
[761/823] Compiling JellyfinAPI OnPlaybackProgressAPI.swift
[762/823] Compiling JellyfinAPI OnPlaybackStartAPI.swift
[763/823] Compiling JellyfinAPI OnPlaybackStoppedAPI.swift
[764/823] Compiling JellyfinAPI OpenLiveStreamAPI.swift
[765/823] Compiling JellyfinAPI PingPlaybackSessionAPI.swift
[766/823] Compiling JellyfinAPI PlayAPI.swift
[767/823] Compiling JellyfinAPI PostAddedMoviesAPI.swift
[768/823] Compiling JellyfinAPI PostAddedSeriesAPI.swift
[769/823] Compiling JellyfinAPI PostCapabilitiesAPI.swift
[770/823] Compiling JellyfinAPI PostFullCapabilitiesAPI.swift
[771/823] Compiling JellyfinAPI PostPingSystemAPI.swift
[772/823] Compiling JellyfinAPI PostUpdatedMediaAPI.swift
[773/823] Compiling JellyfinAPI PostUpdatedMoviesAPI.swift
[774/823] Compiling JellyfinAPI PostUpdatedSeriesAPI.swift
[775/823] Compiling JellyfinAPI PostUserImageAPI.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