The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GoTrue, reference main (1f2c61), with Swift 6.1 for Android on 28 May 2025 21:49:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/supabase-community/gotrue-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/supabase-community/gotrue-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f2c61d Update README.md
Cloned https://github.com/supabase-community/gotrue-swift.git
Revision (git rev-parse @):
1f2c61d1c83887f7eb7835b07e03779a7c10f5c1
SUCCESS checkout https://github.com/supabase-community/gotrue-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/supabase-community/gotrue-swift.git
https://github.com/supabase-community/gotrue-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "get",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.4",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Get"
    },
    {
      "identity" : "urlqueryencoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/URLQueryEncoder"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess"
    },
    {
      "identity" : "mocker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WeTransfer/Mocker"
    }
  ],
  "manifest_display_name" : "GoTrue",
  "name" : "GoTrue",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GoTrue",
      "targets" : [
        "GoTrue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoTrueTests",
      "module_type" : "SwiftTarget",
      "name" : "GoTrueTests",
      "path" : "Tests/GoTrueTests",
      "product_dependencies" : [
        "Mocker"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/session.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/signup-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/GoTrueTests/Resources/user.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GoTrueTests.swift",
        "JWTTests.swift",
        "MockHelpers.swift"
      ],
      "target_dependencies" : [
        "GoTrue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoTrue",
      "module_type" : "SwiftTarget",
      "name" : "GoTrue",
      "path" : "Sources/GoTrue",
      "product_dependencies" : [
        "Get",
        "KeychainAccess",
        "URLQueryEncoder"
      ],
      "product_memberships" : [
        "GoTrue"
      ],
      "sources" : [
        "AuthChangeEvent.swift",
        "Deprecated.swift",
        "Endpoints.swift",
        "Extensions.swift",
        "GoTrueClient.swift",
        "GoTrueError.swift",
        "GoTrueLocalStorage.swift",
        "Internal/ConcurrencySupport.swift",
        "Internal/Environment.swift",
        "Internal/Helpers.swift",
        "Internal/SessionManager.swift",
        "Internal/Shims.swift",
        "Types.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/WeTransfer/Mocker
[1/1891] Fetching mocker
Fetching https://github.com/kean/Get
Fetching https://github.com/kean/URLQueryEncoder
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetched https://github.com/WeTransfer/Mocker from cache (0.32s)
[1/128] Fetching urlqueryencoder
[129/2477] Fetching urlqueryencoder, get
[670/6863] Fetching urlqueryencoder, get, keychainaccess
Fetched https://github.com/kean/URLQueryEncoder from cache (0.27s)
[1112/6735] Fetching get, keychainaccess
Fetched https://github.com/kean/Get from cache (0.41s)
[3992/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.60s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.78s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.1 (0.50s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (0.67s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.70s)
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.1
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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Emitting module Get
[7/15] Emitting module URLQueryEncoder
[8/15] Compiling URLQueryEncoder URLQueryEncoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[10/16] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[11/16] Compiling Get APIClient.swift
[12/16] Compiling Get Request.swift
[13/16] Compiling Get Response.swift
[14/16] Compiling Get APIClientDelegate.swift
[15/16] 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: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: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: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: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: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: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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Get Response.swift
[3/11] Compiling Get APIClientDelegate.swift
[4/11] Compiling Get Request.swift
[5/11] Compiling URLQueryEncoder URLQueryEncoder.swift
[6/11] Emitting module URLQueryEncoder
[7/12] 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: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: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: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 |     }
[9/12] Compiling Get APIClient.swift
[10/12] Emitting module Get
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
BUILD FAILURE 6.1 android