Build Information
Failed to build JellyfinAPI, reference main (e69dd0), with Swift 6.2 for Android on 30 Oct 2026 20:00:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jellyfin/jellyfin-sdk-swift.git
Reference: main
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/jellyfin/jellyfin-sdk-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e69dd03 Fix token sign out, session lifetime
Cloned https://github.com/jellyfin/jellyfin-sdk-swift.git
Revision (git rev-parse @):
e69dd0358ad33148aded867661e27d71de29d0c3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jellyfin/jellyfin-sdk-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/jellyfin/jellyfin-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/kean/Get
[1/2351] Fetching get
[2352/5218] Fetching get, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.67s)
Fetched https://github.com/kean/Get from cache (0.67s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (1.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.20s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/1893] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
[1/86708] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7394] Fetching swift-system
[7395/36779] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
[6171/29385] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.23s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Downloading binary artifact https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip
[16375/6128024] Downloading https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip
Downloaded https://github.com/LePips/openapi-generator/releases/download/v0.8.0/openapi-generator.artifactbundle.zip (0.64s)
[1/1] Compiling plugin GenerateAPI
Building for debugging...
[1/29] Write sources
[15/29] Compiling CNIOWindows shim.c
[15/29] Compiling CNIOWindows WSAStartup.c
[17/29] Compiling CNIOWASI CNIOWASI.c
[18/29] Compiling CNIOOpenBSD shim.c
[18/29] Compiling CNIOPosix event_loop_id.c
[20/29] Compiling _AtomicsShims.c
[20/29] Write sources
[22/29] Compiling CNIOFreeBSD shim.c
[23/29] Compiling CNIOLinux liburing_shims.c
[24/29] Compiling CNIODarwin shim.c
[25/29] Write swift-version--11D90AFD9DD3AB2.txt
[26/29] Compiling CNIOLinux shim.c
[28/87] Emitting module _NIODataStructures
[29/87] Emitting module InternalCollectionsUtilities
[30/90] Emitting module Atomics
[31/92] Compiling Atomics IntegerOperations.swift
[32/92] Compiling Atomics Unmanaged extensions.swift
[33/92] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[34/92] Compiling InternalCollectionsUtilities _SortedCollection.swift
[35/92] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/92] Compiling c-nioatomics.c
[37/92] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/92] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[39/92] Emitting module _NIOBase64
[40/92] Compiling _NIOBase64 Base64.swift
[41/93] Compiling InternalCollectionsUtilities MutableRef.swift
[42/93] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[44/93] Compiling _NIODataStructures _TinyArray.swift
[45/93] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[46/93] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[47/93] Compiling InternalCollectionsUtilities Debugging.swift
[48/93] Compiling InternalCollectionsUtilities Descriptions.swift
[49/93] Compiling _NIODataStructures PriorityQueue.swift
[50/93] Compiling _NIODataStructures Heap.swift
[52/94] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[53/94] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[54/94] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[56/94] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[57/94] Compiling InternalCollectionsUtilities Integer rank.swift
[58/94] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[59/94] Compiling InternalCollectionsUtilities UInt+reversed.swift
[63/94] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[64/94] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[67/94] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[68/94] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[69/94] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[70/94] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[71/94] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[72/94] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[73/94] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[74/94] Compiling InternalCollectionsUtilities Span+Extras.swift
[89/100] Emitting module SpanPreview
[91/100] Compiling SpanPreview InputSpan.swift
[92/100] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[93/100] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[94/101] Compiling c-atomics.c
[96/150] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[97/150] Compiling DequeModule RigidDeque+Descriptions.swift
[98/150] Compiling DequeModule RigidDeque+Equatable.swift
[99/150] Compiling DequeModule RigidDeque+Hashable.swift
[100/150] Compiling DequeModule RigidDeque+Initializers.swift
[101/150] Compiling DequeModule RigidDeque+Insertions.swift
[102/150] Compiling DequeModule RigidDeque+Iterable.swift
[103/155] Compiling NIOConcurrencyHelpers NIOLock.swift
[104/155] Emitting module NIOConcurrencyHelpers
[105/155] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[106/155] Compiling DequeModule UniqueDeque+Initializers.swift
[107/155] Compiling DequeModule UniqueDeque+Insertions.swift
[108/155] Compiling DequeModule UniqueDeque+Iterable.swift
[109/155] Compiling DequeModule UniqueDeque+Prepend.swift
[110/155] Compiling DequeModule UniqueDeque+Removals.swift
[111/155] Compiling NIOConcurrencyHelpers lock.swift
[112/155] Compiling DequeModule UniqueDeque+Consumption.swift
[113/155] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[114/155] Compiling DequeModule UniqueDeque+Deprecations.swift
[115/155] Compiling DequeModule UniqueDeque+Descriptions.swift
[116/155] Compiling DequeModule UniqueDeque+Equatable.swift
[117/155] Compiling DequeModule UniqueDeque+Hashable.swift
[118/155] Compiling DequeModule RigidDeque+Prepend.swift
[119/155] Compiling DequeModule RigidDeque+Removals.swift
[120/155] Compiling DequeModule RigidDeque+Replacements.swift
[121/155] Compiling DequeModule RigidDeque+Testing.swift
[122/155] Compiling DequeModule RigidDeque.swift
[123/155] Compiling DequeModule UniqueDeque+Append.swift
[124/155] Compiling DequeModule _DequeBuffer.swift
[125/155] Compiling DequeModule _DequeBufferHeader.swift
[126/155] Compiling DequeModule RigidDeque+Append.swift
[127/155] Compiling DequeModule RigidDeque+Consumption.swift
[128/155] Compiling DequeModule RigidDeque+ContainerOperations.swift
[129/155] Compiling DequeModule RigidDeque+Deprecations.swift
[130/155] Compiling NIOConcurrencyHelpers atomics.swift
[131/155] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[133/156] Compiling DequeModule Deque+Codable.swift
[134/156] Compiling DequeModule Deque+Collection.swift
[135/156] Compiling DequeModule Deque+CustomReflectable.swift
[136/156] Compiling DequeModule Deque+Descriptions.swift
[137/156] Compiling DequeModule Deque+Equatable.swift
[138/156] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[139/156] Compiling Get Response.swift
[140/156] Compiling Get Request.swift
[141/156] Compiling Get APIClientDelegate.swift
[142/156] Compiling Get DataLoader.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:79:40: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
77 | userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
78 | #else
79 | userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
80 | #endif
81 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:86:34: error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
84 | func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
85 | if #available(macOS 11.0, *) {
86 | userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
| `- error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
87 | } else {
88 | // Fallback on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:102:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
100 | userTaskDelegate?.urlSession(session, task: task, didCompleteWithError: error)
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
104 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:103:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
104 | #endif
105 | switch handler {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:133:38: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
131 | userTaskDelegate?.urlSession(session, task: task, didFinishCollecting: metrics)
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
135 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:134:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
135 | #endif
136 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:144:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
142 | completionHandler(request)
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
146 | completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:145:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
146 | completionHandler(request)
147 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:46: error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:86: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:45: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:27: error: no exact matches in call to instance method 'urlSession'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:37: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:49: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:50: error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:75: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:31: error: no exact matches in call to instance method 'urlSession'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:41: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:174:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
172 | completionHandler(.performDefaultHandling, nil)
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
176 | completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:175:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
176 | completionHandler(.performDefaultHandling, nil)
177 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:186:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
184 | completionHandler(.continueLoading, nil)
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
188 | completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:187:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
188 | completionHandler(.continueLoading, nil)
189 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:197:39: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
195 | userTaskDelegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
199 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:198:31: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
199 | #endif
200 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:210:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
208 | completionHandler(.allow)
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
212 | completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:211:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
212 | completionHandler(.allow)
213 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:222:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
220 | userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: data)
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
224 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:223:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
224 | #endif
225 | if handler.data == nil {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:233:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
235 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:234:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
235 | }
236 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:238:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
240 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:239:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
240 | }
241 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:249:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
247 | completionHandler(proposedResponse)
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
251 | completionHandler(proposedResponse)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:250:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
251 | completionHandler(proposedResponse)
252 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:273:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
271 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
275 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:274:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
275 | #endif
276 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:283:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
281 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
285 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:284:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
285 | #endif
286 | }
[143/156] Compiling Get APIClient.swift
[144/156] Emitting module Get
BUILD FAILURE 6.2 android