Build Information
Failed to build Get, reference 2.2.1 (312498), with Swift 6.4 for Android on 21 Sep 2026 08:33:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kean/Get.git
Reference: 2.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/kean/Get
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at 3124988 Fix Swift 6 warnings
Cloned https://github.com/kean/Get.git
Revision (git rev-parse @):
31249885da1052872e0ac91a2943f62567c0d96d
SUCCESS checkout https://github.com/kean/Get.git at 2.2.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/kean/Get.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
[30 / 38] Get
[35 / 38] Get
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/Get/DataLoader.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile DataLoader.swift
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:79:40: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m77 |[0;0m userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
[0;36m78 |[0;0m #else
[0;36m79 |[0;0m [4;39muserSessionDelegate?.urlSession?[0;0m(session, didBecomeInvalidWithError: error)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m80 |[0;0m #endif
[0;36m81 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:86:34: [1;31merror: [1;39mvalue of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'[0;0m
[0;36m84 |[0;0m func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
[0;36m85 |[0;0m if #available(macOS 11.0, *) {
[0;36m86 |[0;0m [4;39muserSessionDelegate?[0;0m.[4;39murlSessionDidFinishEvents[0;0m?(forBackgroundURLSession: session)
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'[0;0m
[0;36m87 |[0;0m } else {
[0;36m88 |[0;0m // Fallback on earlier versions
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:102:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'[0;0m
[0;36m100 |[0;0m userTaskDelegate?.urlSession(session, task: task, didCompleteWithError: error)
[0;36m101 |[0;0m #else
[0;36m102 |[0;0m [4;39mhandler.delegate?.urlSession?[0;0m(session, task: task, didCompleteWithError: error)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'[0;0m
[0;36m103 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
[0;36m104 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:103:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'[0;0m
[0;36m101 |[0;0m #else
[0;36m102 |[0;0m handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
[0;36m103 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, didCompleteWithError: error)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'[0;0m
[0;36m104 |[0;0m #endif
[0;36m105 |[0;0m switch handler {
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:133:38: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'[0;0m
[0;36m131 |[0;0m userTaskDelegate?.urlSession(session, task: task, didFinishCollecting: metrics)
[0;36m132 |[0;0m #else
[0;36m133 |[0;0m [4;39mhandler?.delegate?.urlSession?[0;0m(session, task: task, didFinishCollecting: metrics)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'[0;0m
[0;36m134 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
[0;36m135 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:134:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'[0;0m
[0;36m132 |[0;0m #else
[0;36m133 |[0;0m handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
[0;36m134 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, didFinishCollecting: metrics)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'[0;0m
[0;36m135 |[0;0m #endif
[0;36m136 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:144:45: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'[0;0m
[0;36m142 |[0;0m completionHandler(request)
[0;36m143 |[0;0m #else
[0;36m144 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'[0;0m
[0;36m145 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m146 |[0;0m completionHandler(request)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:144:146: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m142 |[0;0m completionHandler(request)
[0;36m143 |[0;0m #else
[0;36m144 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m145 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m146 |[0;0m completionHandler(request)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:145:138: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m139 |[0;0m #if os(Linux)
[0;36m140 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m143 |[0;0m #else
[0;36m144 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m145 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m146 |[0;0m completionHandler(request)
[0;36m147 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:145:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'[0;0m
[0;36m143 |[0;0m #else
[0;36m144 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m145 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'[0;0m
[0;36m146 |[0;0m completionHandler(request)
[0;36m147 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:152:45: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m150 |[0;0m #if !os(Linux)
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m154 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:152:46: [1;31merror: [1;39mincorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m150 |[0;0m #if !os(Linux)
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39mincorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m154 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:152:86: [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m150 |[0;0m #if !os(Linux)
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m154 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:153:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m153 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m154 |[0;0m }
[0;36m155 |[0;0m
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:153:38: [1;31merror: [1;39mincorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39mincorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m154 |[0;0m }
[0;36m155 |[0;0m
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:153:78: [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m151 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m152 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m153 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m154 |[0;0m }
[0;36m155 |[0;0m
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:159:49: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m157 |[0;0m func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m160 |[0;0m userTaskDelegate?.urlSession?(session, didCreateTask: task)
[0;36m161 |[0;0m } else {
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:159:50: [1;31merror: [1;39mincorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m157 |[0;0m func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39mincorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m160 |[0;0m userTaskDelegate?.urlSession?(session, didCreateTask: task)
[0;36m161 |[0;0m } else {
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:159:75: [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m157 |[0;0m func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m160 |[0;0m userTaskDelegate?.urlSession?(session, didCreateTask: task)
[0;36m161 |[0;0m } else {
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:160:42: [1;31merror: [1;39mincorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
[0;36m160 |[0;0m userTaskDelegate?.urlSession?(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39mincorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')[0;0m
[0;36m161 |[0;0m } else {
[0;36m162 |[0;0m // Doesn't exist on earlier versions
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:160:67: [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
[0;36m160 |[0;0m userTaskDelegate?.urlSession?(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'URLSessionTask' does not conform to expected type 'Error'[0;0m
[0;36m161 |[0;0m } else {
[0;36m162 |[0;0m // Doesn't exist on earlier versions
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:160:41: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m158 |[0;0m if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
[0;36m159 |[0;0m handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
[0;36m160 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, didCreateTask: task)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'[0;0m
[0;36m161 |[0;0m } else {
[0;36m162 |[0;0m // Doesn't exist on earlier versions
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:174:110: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m172 |[0;0m completionHandler(.performDefaultHandling, nil)
[0;36m173 |[0;0m #else
[0;36m174 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m175 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m176 |[0;0m completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:174:45: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'[0;0m
[0;36m172 |[0;0m completionHandler(.performDefaultHandling, nil)
[0;36m173 |[0;0m #else
[0;36m174 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'[0;0m
[0;36m175 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m176 |[0;0m completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:175:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'[0;0m
[0;36m173 |[0;0m #else
[0;36m174 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m175 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'[0;0m
[0;36m176 |[0;0m completionHandler(.performDefaultHandling, nil)
[0;36m177 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:175:102: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m166 |[0;0m #endif
[0;36m167 |[0;0m
[0;36m168 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m169 |[0;0m #if os(Linux)
[0;36m170 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m173 |[0;0m #else
[0;36m174 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m175 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m176 |[0;0m completionHandler(.performDefaultHandling, nil)
[0;36m177 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:186:121: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m184 |[0;0m completionHandler(.continueLoading, nil)
[0;36m185 |[0;0m #else
[0;36m186 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m187 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m188 |[0;0m completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:186:45: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'[0;0m
[0;36m184 |[0;0m completionHandler(.continueLoading, nil)
[0;36m185 |[0;0m #else
[0;36m186 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'[0;0m
[0;36m187 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m188 |[0;0m completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:187:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'[0;0m
[0;36m185 |[0;0m #else
[0;36m186 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m187 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'[0;0m
[0;36m188 |[0;0m completionHandler(.continueLoading, nil)
[0;36m189 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:187:113: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m178 |[0;0m }
[0;36m179 |[0;0m
[0;36m180 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m181 |[0;0m #if os(Linux)
[0;36m182 |[0;0m handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m185 |[0;0m #else
[0;36m186 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m187 |[0;0m userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m188 |[0;0m completionHandler(.continueLoading, nil)
[0;36m189 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:197:39: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m195 |[0;0m userTaskDelegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
[0;36m196 |[0;0m #else
[0;36m197 |[0;0m [4;39mhandlers[task]?.delegate?.urlSession?[0;0m(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m198 |[0;0m userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
[0;36m199 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:198:31: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m196 |[0;0m #else
[0;36m197 |[0;0m handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
[0;36m198 |[0;0m [4;39muserTaskDelegate?.urlSession?[0;0m(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m199 |[0;0m #endif
[0;36m200 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:210:75: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'[0;0m
[0;36m208 |[0;0m completionHandler(.allow)
[0;36m209 |[0;0m #else
[0;36m210 |[0;0m [4;39m(handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'[0;0m
[0;36m211 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m212 |[0;0m completionHandler(.allow)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:210:147: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m208 |[0;0m completionHandler(.allow)
[0;36m209 |[0;0m #else
[0;36m210 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m211 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m212 |[0;0m completionHandler(.allow)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:211:109: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m202 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m203 |[0;0m
[0;36m204 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m205 |[0;0m #if os(Linux)
[0;36m206 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m209 |[0;0m #else
[0;36m210 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m211 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m212 |[0;0m completionHandler(.allow)
[0;36m213 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:211:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'[0;0m
[0;36m209 |[0;0m #else
[0;36m210 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m211 |[0;0m [4;39muserDataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'[0;0m
[0;36m212 |[0;0m completionHandler(.allow)
[0;36m213 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:222:41: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'[0;0m
[0;36m220 |[0;0m userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: data)
[0;36m221 |[0;0m #else
[0;36m222 |[0;0m [4;39mhandler.dataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didReceive: data)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'[0;0m
[0;36m223 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
[0;36m224 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:223:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'[0;0m
[0;36m221 |[0;0m #else
[0;36m222 |[0;0m handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
[0;36m223 |[0;0m [4;39muserDataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didReceive: data)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'[0;0m
[0;36m224 |[0;0m #endif
[0;36m225 |[0;0m if handler.data == nil {
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:233:75: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'[0;0m
[0;36m231 |[0;0m #if !os(Linux)
[0;36m232 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
[0;36m233 |[0;0m [4;39m(handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'[0;0m
[0;36m234 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m235 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:234:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'[0;0m
[0;36m232 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
[0;36m233 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m234 |[0;0m [4;39muserDataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didBecome: downloadTask)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'[0;0m
[0;36m235 |[0;0m }
[0;36m236 |[0;0m
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:238:75: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'[0;0m
[0;36m236 |[0;0m
[0;36m237 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
[0;36m238 |[0;0m [4;39m(handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didBecome: streamTask)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'[0;0m
[0;36m239 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m240 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:239:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'[0;0m
[0;36m237 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
[0;36m238 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
[0;36m239 |[0;0m [4;39muserDataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, didBecome: streamTask)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'[0;0m
[0;36m240 |[0;0m }
[0;36m241 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:249:162: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m247 |[0;0m completionHandler(proposedResponse)
[0;36m248 |[0;0m #else
[0;36m249 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m250 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m251 |[0;0m completionHandler(proposedResponse)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:249:75: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'[0;0m
[0;36m247 |[0;0m completionHandler(proposedResponse)
[0;36m248 |[0;0m #else
[0;36m249 |[0;0m [4;39m(handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'[0;0m
[0;36m250 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m251 |[0;0m completionHandler(proposedResponse)
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:250:37: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'[0;0m
[0;36m248 |[0;0m #else
[0;36m249 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m250 |[0;0m [4;39muserDataDelegate?.urlSession?[0;0m(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'[0;0m
[0;36m251 |[0;0m completionHandler(proposedResponse)
[0;36m252 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:250:124: [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m241 |[0;0m #endif
[0;36m242 |[0;0m
[0;36m243 |[0;0m func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
[0;36m|[0;0m `- [1;39mnote: [1;39mparameter 'completionHandler' is implicitly non-Sendable[0;0m
[0;36m244 |[0;0m #if os(Linux)
[0;36m245 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m:[0;0m
[0;36m248 |[0;0m #else
[0;36m249 |[0;0m (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m250 |[0;0m userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
[0;36m|[0;0m `- [1;33mwarning: [1;39mpassing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure[0;0m
[0;36m251 |[0;0m completionHandler(proposedResponse)
[0;36m252 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:273:87: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m271 |[0;0m userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
[0;36m272 |[0;0m #else
[0;36m273 |[0;0m [4;39m(handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?[0;0m(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m274 |[0;0m userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
[0;36m275 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:274:41: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m272 |[0;0m #else
[0;36m273 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
[0;36m274 |[0;0m [4;39muserDownloadDelegate?.urlSession?[0;0m(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'[0;0m
[0;36m275 |[0;0m #endif
[0;36m276 |[0;0m }
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:283:87: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'[0;0m
[0;36m281 |[0;0m userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
[0;36m282 |[0;0m #else
[0;36m283 |[0;0m [4;39m(handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?[0;0m(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'[0;0m
[0;36m284 |[0;0m userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
[0;36m285 |[0;0m #endif
/host/spi-builder-workspace/Sources/Get/DataLoader.swift:284:41: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'[0;0m
[0;36m282 |[0;0m #else
[0;36m283 |[0;0m (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
[0;36m284 |[0;0m [4;39muserDownloadDelegate?.urlSession?[0;0m(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'[0;0m
[0;36m285 |[0;0m #endif
[0;36m286 |[0;0m }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Get/APIClient.swift /host/spi-builder-workspace/Sources/Get/APIClientDelegate.swift -primary-file /host/spi-builder-workspace/Sources/Get/DataLoader.swift /host/spi-builder-workspace/Sources/Get/Request.swift /host/spi-builder-workspace/Sources/Get/Response.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Get -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/Get_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.o -index-unit-output-path /Get.build/Debug-android-aarch64/Get-t.build/Objects-normal/aarch64/DataLoader.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android