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