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