The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IBMSwiftSDKCore, reference main (652ff3), with Swift 6.3 for Android on 12 Apr 2026 19:48:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-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/IBM/swift-sdk-core.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/IBM/swift-sdk-core
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 652ff3c build(version): ensure proper versionging is followed
Cloned https://github.com/IBM/swift-sdk-core.git
Revision (git rev-parse @):
652ff3cc98af7adb8130863fd7de7ab1e734e795
SUCCESS checkout https://github.com/IBM/swift-sdk-core.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/IBM/swift-sdk-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/15] Compiling IBMSwiftSDKCore Authentication.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/CloudPakForDataAuthenticator.swift:79:38: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
 77 |      */
 78 |     func disableSSLVerification() {
 79 |         session = InsecureConnection.session()
    |                                      |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
    |                                      `- note: did you mean to use 'as!' to force downcast?
 80 |     }
 81 |     #endif
[4/15] Compiling IBMSwiftSDKCore CloudPakForDataAuthenticator.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/CloudPakForDataAuthenticator.swift:79:38: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
 77 |      */
 78 |     func disableSSLVerification() {
 79 |         session = InsecureConnection.session()
    |                                      |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
    |                                      `- note: did you mean to use 'as!' to force downcast?
 80 |     }
 81 |     #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Emitting module IBMSwiftSDKCore
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:23:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Allow network requests to a server without verification of the server certificate.
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
   |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
25 |     }
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:33:50: error: cannot find type 'URLSessionDelegate' in scope
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |                                                  `- error: cannot find type 'URLSessionDelegate' in scope
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                                                                                       `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                  `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
[6/15] Compiling IBMSwiftSDKCore ConfigBasedAuthenticatorFactory.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/IAMAuthenticator.swift:71:38: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
 69 |      */
 70 |     func disableSSLVerification() {
 71 |         session = InsecureConnection.session()
    |                                      |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
    |                                      `- note: did you mean to use 'as!' to force downcast?
 72 |     }
 73 |     #endif
[7/15] Compiling IBMSwiftSDKCore IAMAuthenticator.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/IAMAuthenticator.swift:71:38: error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
 69 |      */
 70 |     func disableSSLVerification() {
 71 |         session = InsecureConnection.session()
    |                                      |- error: 'Foundation.URLSession' (aka 'AnyObject') is not convertible to 'FoundationNetworking.URLSession'
    |                                      `- note: did you mean to use 'as!' to force downcast?
 72 |     }
 73 |     #endif
[8/16] Compiling IBMSwiftSDKCore CodableExtensions.swift
[9/16] Compiling IBMSwiftSDKCore CredentialUtils.swift
[10/16] Compiling IBMSwiftSDKCore JSON.swift
[11/16] Compiling IBMSwiftSDKCore MultipartFormData.swift
[12/16] Compiling IBMSwiftSDKCore InsecureConnection.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:23:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Allow network requests to a server without verification of the server certificate.
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
   |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
25 |     }
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:33:50: error: cannot find type 'URLSessionDelegate' in scope
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |                                                  `- error: cannot find type 'URLSessionDelegate' in scope
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                                                                                       `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                  `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:43: error: cannot infer contextual base in reference to member 'default'
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                                           `- error: cannot infer contextual base in reference to member 'default'
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:112: error: 'nil' requires a contextual type
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:35:26: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
   |                          `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
37 |     }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:35:57: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
   |                                                         `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
37 |     }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:36:38: error: type 'URLSession' (aka 'AnyObject') has no member 'AuthChallengeDisposition'
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
   |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'AuthChallengeDisposition'
37 |     }
38 | }
[13/16] Compiling IBMSwiftSDKCore JWT.swift
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:23:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Allow network requests to a server without verification of the server certificate.
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
   |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
25 |     }
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:33:50: error: cannot find type 'URLSessionDelegate' in scope
31 |  **IMPORTANT**: This can potentially cause dangerous security breaches, so use only if you are certain that you have taken necessary precautions.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
   |                                                  `- error: cannot find type 'URLSessionDelegate' in scope
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:135: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                                                                                       `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
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/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:34:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |  */
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
   |                                                                  `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:43: error: cannot infer contextual base in reference to member 'default'
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                                           `- error: cannot infer contextual base in reference to member 'default'
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:24:112: error: 'nil' requires a contextual type
22 |     /// **IMPORTANT**: This should ONLY be used if truly intended, as it is unsafe otherwise.
23 |     static func session() -> URLSession {
24 |         return URLSession(configuration: .default, delegate: AllowInsecureConnectionDelegate(), delegateQueue: nil)
   |                                                                                                                `- error: 'nil' requires a contextual type
25 |     }
26 | }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:35:26: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
   |                          `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
37 |     }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:35:57: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
33 | class AllowInsecureConnectionDelegate: NSObject, URLSessionDelegate {
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
   |                                                         `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
37 |     }
/host/spi-builder-workspace/Sources/IBMSwiftSDKCore/Authentication/InsecureConnection.swift:36:38: error: type 'URLSession' (aka 'AnyObject') has no member 'AuthChallengeDisposition'
34 |     func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
35 |         let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!)
36 |         completionHandler(URLSession.AuthChallengeDisposition.useCredential, credential)
   |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'AuthChallengeDisposition'
37 |     }
38 | }
[14/16] Compiling IBMSwiftSDKCore RestRequest.swift
[15/16] Compiling IBMSwiftSDKCore RestError.swift
[16/16] Compiling IBMSwiftSDKCore RestResponse.swift
BUILD FAILURE 6.3 android