The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CrowdinSDK, reference master (b6a1ed), with Swift 6.2 for Android on 30 Apr 2026 16:54:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crowdin/mobile-sdk-ios.git
Reference: master
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/crowdin/mobile-sdk-ios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b6a1ed2 chore: version 1.16.0 [ci-skip] (#396)
Cloned https://github.com/crowdin/mobile-sdk-ios.git
Revision (git rev-parse @):
b6a1ed20543ea9931ce2925a174008a0b723fbd5
SUCCESS checkout https://github.com/crowdin/mobile-sdk-ios.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/crowdin/mobile-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/serhii-londar/BaseAPI.git
[1/386] Fetching baseapi
[387/5494] Fetching baseapi, starscream
Fetched https://github.com/serhii-londar/BaseAPI.git from cache (0.24s)
[52/5108] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (0.56s)
Computing version for https://github.com/serhii-londar/BaseAPI.git
Computed https://github.com/serhii-londar/BaseAPI.git at 0.2.2 (3.70s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.42s)
Creating working copy for https://github.com/serhii-londar/BaseAPI.git
Working copy of https://github.com/serhii-londar/BaseAPI.git resolved at 0.2.2
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/CrowdinSDK/Resources/Settings/Images.xcassets
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
[4/6] Write sources
[5/6] Write swift-version--11D90AFD9DD3AB2.txt
[7/34] Compiling Starscream Compression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[8/34] Compiling Starscream WSCompression.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[9/34] Compiling Starscream Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/34] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[11/36] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[12/36] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[13/36] Compiling BaseAPI RequestMethod.swift
[14/36] Compiling Starscream FoundationSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[15/36] Compiling Starscream Security.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[16/36] Compiling Starscream Server.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[17/36] Compiling Starscream FoundationTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[18/36] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[19/36] Compiling Starscream WebSocketServer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[20/36] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[21/36] Compiling BaseAPI Request.swift
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Request.swift:29:40: error: cannot find type 'URLRequest' in scope
27 |     }
28 |
29 |     public func request() -> (request: URLRequest?, error: Error?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
30 |         // First encode just the base URL
31 |         if let encodedBaseUrl = url.addingPercentEncoding(withAllowedCharacters: .urlFragmentAllowed) {
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Request.swift:35:31: error: cannot find 'URLRequest' in scope
33 |             let finalUrl = appendParametersToUrl(encodedBaseUrl)
34 |             if let url = URL(string: finalUrl) {
35 |                 var request = URLRequest(url: url)
   |                               `- error: cannot find 'URLRequest' in scope
36 |                 if let headers = headers {
37 |                     for (key, value) in headers {
[22/36] Compiling Starscream FoundationHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[23/36] Compiling Starscream FoundationHTTPServerHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[24/36] Compiling Starscream FrameCollector.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[25/36] Compiling Starscream Framer.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[26/36] Compiling Starscream HTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[27/36] Compiling Starscream StringHTTPHandler.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[28/36] Compiling BaseAPI CharacterSet.swift
[29/36] Compiling Starscream Engine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[30/36] Compiling Starscream NativeEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[31/36] Compiling Starscream WSEngine.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Security/FoundationSecurity.swift:24:8: error: no such module 'CommonCrypto'
 22 |
 23 | import Foundation
 24 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 25 |
 26 | public enum FoundationSecurityError: Error {
[32/36] Compiling BaseAPI RequestHeaderFields.swift
[33/36] Compiling BaseAPI URLSession.swift
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Extensions/URLSession.swift:16:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #endif
15 |
16 | public typealias SynchronousDataTaskResult = (data: Data?, response: URLResponse?, error: Error?)
   |                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | extension URLSession {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Extensions/URLSession.swift:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
16 | public typealias SynchronousDataTaskResult = (data: Data?, response: URLResponse?, error: Error?)
17 |
18 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 |     public func synchronousDataTask(request: URLRequest) -> SynchronousDataTaskResult {
20 |         var data: Data?
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Extensions/URLSession.swift:19:46: error: cannot find type 'URLRequest' in scope
17 |
18 | extension URLSession {
19 |     public func synchronousDataTask(request: URLRequest) -> SynchronousDataTaskResult {
   |                                              `- error: cannot find type 'URLRequest' in scope
20 |         var data: Data?
21 |         var response: URLResponse?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/36] Compiling BaseAPI BaseAPI.swift
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:14:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 | #endif
 13 |
 14 | public typealias BaseAPICompletion = (Data?, URLResponse?, Error?) -> Swift.Void
    |                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 | public typealias BaseAPIResult = SynchronousDataTaskResult
 16 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:18:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 | open class BaseAPI {
 18 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     private let parsingQueue = DispatchQueue(label: "BaseAPI-parsing-queue")
 20 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     }
 24 |
 25 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |         self.session = session
 27 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:29:31: error: cannot find type 'URLRequest' in scope
 27 |     }
 28 |
 29 |     public func send(request: URLRequest, completion: @escaping BaseAPICompletion) {
    |                               `- error: cannot find type 'URLRequest' in scope
 30 |         session.dataTask(with: request, completionHandler: completion).resume()
 31 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:33:31: error: cannot find type 'URLRequest' in scope
 31 |     }
 32 |
 33 |     public func send(request: URLRequest) -> BaseAPIResult {
    |                               `- error: cannot find type 'URLRequest' in scope
 34 |         return session.synchronousDataTask(request: request)
 35 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:78:62: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     /// MARK - private
 77 |
 78 |     private func handle<T: Decodable>(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping (T) -> Void, failure: @escaping (Error) -> Void) {
    |                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         if let data = data {
 80 |             do {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:93:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     }
 92 |
 93 |     private func handle(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping () -> Void, failure: @escaping (Error) -> Void) {
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |         if let resp = response as? HTTPURLResponse, resp.statusCode == 200 {
 95 |             callbackQueue.async { success() }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:22:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 20 |
 21 |     public init() {
 22 |         self.session = URLSession(configuration: URLSessionConfiguration.default)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 23 |     }
 24 |
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:22:74: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 20 |
 21 |     public init() {
 22 |         self.session = URLSession(configuration: URLSessionConfiguration.default)
    |                                                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 23 |     }
 24 |
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:30:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 28 |
 29 |     public func send(request: URLRequest, completion: @escaping BaseAPICompletion) {
 30 |         session.dataTask(with: request, completionHandler: completion).resume()
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 31 |     }
 32 |
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:34:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
 32 |
 33 |     public func send(request: URLRequest) -> BaseAPIResult {
 34 |         return session.synchronousDataTask(request: request)
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
 35 |     }
 36 |
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Request.swift:29:40: error: cannot find type 'URLRequest' in scope
27 |     }
28 |
29 |     public func request() -> (request: URLRequest?, error: Error?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
30 |         // First encode just the base URL
31 |         if let encodedBaseUrl = url.addingPercentEncoding(withAllowedCharacters: .urlFragmentAllowed) {
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:43:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 41 |         let buildRequest = request.request()
 42 |         if let urlRequest = buildRequest.request {
 43 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 44 |                 callbackQueue.async { completion(data, response, error) }
 45 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:56:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
 54 |         let buildRequest = request.request()
 55 |         if let urlRequest = buildRequest.request {
 56 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
 57 |         } else {
 58 |             return (nil, nil, buildRequest.error)
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:89:56: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
 87 |             callFailure(with: error, callbackQueue: callbackQueue, failure: failure)
 88 |         } else if let response = response {
 89 |             callFailure(with: NSError(domain: response.description, code: -9999, userInfo: ["response": response]), callbackQueue: callbackQueue, failure: failure)
    |                                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
 90 |         }
 91 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:94:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     private func handle(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping () -> Void, failure: @escaping (Error) -> Void) {
 94 |         if let resp = response as? HTTPURLResponse, resp.statusCode == 200 {
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             callbackQueue.async { success() }
 96 |         } else if let error = error {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |
 93 |     private func handle(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping () -> Void, failure: @escaping (Error) -> Void) {
 94 |         if let resp = response as? HTTPURLResponse, resp.statusCode == 200 {
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 95 |             callbackQueue.async { success() }
 96 |         } else if let error = error {
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:99:56: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
 97 |             callFailure(with: error, callbackQueue: callbackQueue, failure: failure)
 98 |         } else if let response = response {
 99 |             callFailure(with: NSError(domain: response.description, code: -9999, userInfo: ["response": response]), callbackQueue: callbackQueue, failure: failure)
    |                                                        `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'description'
100 |         }
101 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:117:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
115 |         let buildRequest = request.request()
116 |         if let urlRequest = buildRequest.request {
117 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
118 |                 callbackQueue.async { completion(data, response, error) }
119 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:130:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
128 |         let buildRequest = request.request()
129 |         if let urlRequest = buildRequest.request {
130 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
131 |         } else {
132 |             return (nil, nil, buildRequest.error)
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:149:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
147 |         let buildRequest = request.request()
148 |         if let urlRequest = buildRequest.request {
149 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
150 |                 callbackQueue.async { completion(data, response, error) }
151 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:162:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
160 |         let buildRequest = request.request()
161 |         if let urlRequest = buildRequest.request {
162 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
163 |         } else {
164 |             return (nil, nil, buildRequest.error)
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:188:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
186 |         let buildRequest = request.request()
187 |         if let urlRequest = buildRequest.request {
188 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
189 |                 callbackQueue.async { completion(data, response, error) }
190 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:201:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
199 |         let buildRequest = request.request()
200 |         if let urlRequest = buildRequest.request {
201 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
202 |         } else {
203 |             return (nil, nil, buildRequest.error)
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:227:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
225 |         let buildRequest = request.request()
226 |         if let urlRequest = buildRequest.request {
227 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
228 |                 callbackQueue.async { completion(data, response, error) }
229 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:240:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
238 |         let buildRequest = request.request()
239 |         if let urlRequest = buildRequest.request {
240 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
241 |         } else {
242 |             return (nil, nil, buildRequest.error)
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:266:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
264 |         let buildRequest = request.request()
265 |         if let urlRequest = buildRequest.request {
266 |             let task = session.dataTask(with: urlRequest) { (data, response, error) in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
267 |                 callbackQueue.async { completion(data, response, error) }
268 |             }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:279:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
277 |         let buildRequest = request.request()
278 |         if let urlRequest = buildRequest.request {
279 |             return session.synchronousDataTask(request: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'synchronousDataTask'
280 |         } else {
281 |             return (nil, nil, buildRequest.error)
[35/36] Emitting module BaseAPI
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:14:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 | #endif
 13 |
 14 | public typealias BaseAPICompletion = (Data?, URLResponse?, Error?) -> Swift.Void
    |                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 | public typealias BaseAPIResult = SynchronousDataTaskResult
 16 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:18:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 | open class BaseAPI {
 18 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     private let parsingQueue = DispatchQueue(label: "BaseAPI-parsing-queue")
 20 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:25:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 23 |     }
 24 |
 25 |     public init(session: URLSession) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |         self.session = session
 27 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:29:31: error: cannot find type 'URLRequest' in scope
 27 |     }
 28 |
 29 |     public func send(request: URLRequest, completion: @escaping BaseAPICompletion) {
    |                               `- error: cannot find type 'URLRequest' in scope
 30 |         session.dataTask(with: request, completionHandler: completion).resume()
 31 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:33:31: error: cannot find type 'URLRequest' in scope
 31 |     }
 32 |
 33 |     public func send(request: URLRequest) -> BaseAPIResult {
    |                               `- error: cannot find type 'URLRequest' in scope
 34 |         return session.synchronousDataTask(request: request)
 35 |     }
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:78:62: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     /// MARK - private
 77 |
 78 |     private func handle<T: Decodable>(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping (T) -> Void, failure: @escaping (Error) -> Void) {
    |                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         if let data = data {
 80 |             do {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/BaseAPI.swift:93:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |     }
 92 |
 93 |     private func handle(data: Data?, response: URLResponse?, error: Error?, callbackQueue: DispatchQueue = .main, success: @escaping () -> Void, failure: @escaping (Error) -> Void) {
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |         if let resp = response as? HTTPURLResponse, resp.statusCode == 200 {
 95 |             callbackQueue.async { success() }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Extensions/URLSession.swift:16:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | #endif
15 |
16 | public typealias SynchronousDataTaskResult = (data: Data?, response: URLResponse?, error: Error?)
   |                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | extension URLSession {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Extensions/URLSession.swift:18:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
16 | public typealias SynchronousDataTaskResult = (data: Data?, response: URLResponse?, error: Error?)
17 |
18 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
19 |     public func synchronousDataTask(request: URLRequest) -> SynchronousDataTaskResult {
20 |         var data: Data?
/host/spi-builder-workspace/.build/checkouts/BaseAPI/BaseAPI/Classes/Request.swift:29:40: error: cannot find type 'URLRequest' in scope
27 |     }
28 |
29 |     public func request() -> (request: URLRequest?, error: Error?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
30 |         // First encode just the base URL
31 |         if let encodedBaseUrl = url.addingPercentEncoding(withAllowedCharacters: .urlFragmentAllowed) {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[36/36] Compiling BaseAPI ResponsetHeaderFields.swift
BUILD FAILURE 6.2 android