Build Information
Failed to build AnthropicSwiftSDK, reference main (3ccf41), with Swift 6.4 for Android on 22 Sep 2026 16:37:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fumito-ito/AnthropicSwiftSDK.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/fumito-ito/AnthropicSwiftSDK
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3ccf413 Merge pull request #85 from fumito-ito/renovate/actions-checkout-6.x
Cloned https://github.com/fumito-ito/AnthropicSwiftSDK.git
Revision (git rev-parse @):
3ccf4130f278182ac8ae2d03dcce42177b811164
SUCCESS checkout https://github.com/fumito-ito/AnthropicSwiftSDK.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/fumito-ito/AnthropicSwiftSDK.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/fumito-ito/SwiftyJSONLines.git
[1/64] Fetching swiftyjsonlines
Fetched https://github.com/fumito-ito/SwiftyJSONLines.git (0.43s)
Computing version for https://github.com/fumito-ito/SwiftyJSONLines.git
Computed https://github.com/fumito-ito/SwiftyJSONLines.git at 0.0.4 (0.58s)
Creating working copy for https://github.com/fumito-ito/SwiftyJSONLines.git
Working copy of https://github.com/fumito-ito/SwiftyJSONLines.git resolved at 0.0.4
Building for debugging...
[Pre-planning 1 / 125]
[Starting]
[33 / 55] SwiftyJSONLines
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/APIKeys.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct APIKeys {
[0;36m10 |[0;0m private let apiKey: String
[0;36m11 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/APIKeys.swift:13:40: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m private let session: URLSession
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m self.apiKey = adminAPIKey
[0;36m15 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Admin.swift:16:54: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m public let apiKeys: APIKeys
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(adminAPIKey apiKey: String, session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m self.organizationMembers = OrganizationMembers(adminAPIKey: apiKey, session: session)
[0;36m18 |[0;0m self.organizationInvites = OrganizationInvites(adminAPIKey: apiKey, session: session)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Admin.swift:16:68: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m14 |[0;0m public let apiKeys: APIKeys
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(adminAPIKey apiKey: String, session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m self.organizationMembers = OrganizationMembers(adminAPIKey: apiKey, session: session)
[0;36m18 |[0;0m self.organizationInvites = OrganizationInvites(adminAPIKey: apiKey, session: session)
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Admin.swift:16:68: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m14 |[0;0m public let apiKeys: APIKeys
[0;36m15 |[0;0m
[0;36m16 |[0;0m public init(adminAPIKey apiKey: String, session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m17 |[0;0m self.organizationMembers = OrganizationMembers(adminAPIKey: apiKey, session: session)
[0;36m18 |[0;0m self.organizationInvites = OrganizationInvites(adminAPIKey: apiKey, session: session)
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationInvites.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct OrganizationInvites {
[0;36m10 |[0;0m private let apiKey: String
[0;36m11 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationInvites.swift:13:40: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m private let session: URLSession
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m self.apiKey = adminAPIKey
[0;36m15 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationMembers.swift:11:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct OrganizationMembers {
[0;36m10 |[0;0m let apiKey: String
[0;36m11 |[0;0m let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey apiKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationMembers.swift:13:47: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m let session: URLSession
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey apiKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m self.apiKey = apiKey
[0;36m15 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/WorkspaceMembers.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct WorkspaceMembers {
[0;36m10 |[0;0m private let apiKey: String
[0;36m11 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/WorkspaceMembers.swift:13:40: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m private let session: URLSession
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m self.apiKey = adminAPIKey
[0;36m15 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Workspaces.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m public struct Workspaces {
[0;36m10 |[0;0m private let apiKey: String
[0;36m11 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Workspaces.swift:13:40: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m private let session: URLSession
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(adminAPIKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m self.apiKey = adminAPIKey
[0;36m15 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/CountTokens.swift:13:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m private let apiKey: String
[0;36m12 |[0;0m /// The URL session used for network requests.
[0;36m13 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Initializes a new instance of `MessageBatches`.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/CountTokens.swift:20:35: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m /// - apiKey: The API key for authentication.
[0;36m19 |[0;0m /// - session: The URL session for network requests.
[0;36m20 |[0;0m init(apiKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m self.apiKey = apiKey
[0;36m22 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/MessageBatches.swift:16:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m private let apiKey: String
[0;36m15 |[0;0m /// The URL session used for network requests.
[0;36m16 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m /// Initializes a new instance of `MessageBatches`.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/MessageBatches.swift:23:35: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m /// - apiKey: The API key for authentication.
[0;36m22 |[0;0m /// - session: The URL session for network requests.
[0;36m23 |[0;0m init(apiKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m self.apiKey = apiKey
[0;36m25 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Messages.swift:12:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m public struct Messages {
[0;36m11 |[0;0m private let apiKey: String
[0;36m12 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m init(apiKey: String, session: URLSession) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Messages.swift:14:35: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m private let session: URLSession
[0;36m13 |[0;0m
[0;36m14 |[0;0m init(apiKey: String, session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m self.apiKey = apiKey
[0;36m16 |[0;0m self.session = session
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Anthropic.swift:37:47: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m ///
[0;36m36 |[0;0m /// - Parameter adminAPIKey: API key to access Anthropic Admin API
[0;36m37 |[0;0m public init(adminAPIKey: String, session: [4;39mURLSession[0;0m = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m self.admin = Admin(adminAPIKey: adminAPIKey, session: session)
[0;36m39 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Anthropic.swift:37:61: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m35 |[0;0m ///
[0;36m36 |[0;0m /// - Parameter adminAPIKey: API key to access Anthropic Admin API
[0;36m37 |[0;0m public init(adminAPIKey: String, session: URLSession = .shared) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m38 |[0;0m self.admin = Admin(adminAPIKey: adminAPIKey, session: session)
[0;36m39 |[0;0m }
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Anthropic.swift:37:61: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m35 |[0;0m ///
[0;36m36 |[0;0m /// - Parameter adminAPIKey: API key to access Anthropic Admin API
[0;36m37 |[0;0m public init(adminAPIKey: String, session: URLSession = [4;39m.shared[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m38 |[0;0m self.admin = Admin(adminAPIKey: adminAPIKey, session: session)
[0;36m39 |[0;0m }
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/ClientError.swift:17:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m case unknownStreamingResponseLine(String)
[0;36m16 |[0;0m /// URLRequest could not be cast to HTTPURLRequest
[0;36m17 |[0;0m case cannotHandleURLResponse([4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m /// The DataLine string returned from Stream could not be cast to the Data attribute.
[0;36m19 |[0;0m case cannotHandleDataOfDataLine(String)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:11:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m struct APIClient {
[0;36m11 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m12 |[0;0m let baseURL: URL
[0;36m13 |[0;0m let anthropicHeaderProvider: AnthropicHeaderProvider
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:17:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m init(
[0;36m17 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m baseURL: URL = .init(string: "https://api.anthropic.com")!, // swiftlint:disable:this force_unwrapping
[0;36m19 |[0;0m anthropicHeaderProvider: AnthropicHeaderProvider,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:17:32: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m init(
[0;36m17 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m18 |[0;0m baseURL: URL = .init(string: "https://api.anthropic.com")!, // swiftlint:disable:this force_unwrapping
[0;36m19 |[0;0m anthropicHeaderProvider: AnthropicHeaderProvider,
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:17:32: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m init(
[0;36m17 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m18 |[0;0m baseURL: URL = .init(string: "https://api.anthropic.com")!, // swiftlint:disable:this force_unwrapping
[0;36m19 |[0;0m anthropicHeaderProvider: AnthropicHeaderProvider,
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:46:60: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m /// - Parameter request: request body for api request
[0;36m45 |[0;0m /// - Returns: response from API
[0;36m46 |[0;0m func send(request: any Request) async throws -> (Data, [4;39mURLResponse[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m var urlRequest = try request.toURLRequest(for: baseURL)
[0;36m48 |[0;0m headers.forEach { key, value in
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift:74:67: [1;31merror: [1;39m'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m72 |[0;0m /// - Parameter request: request body for api request
[0;36m73 |[0;0m /// - Returns: response chunk from API
[0;36m74 |[0;0m func stream(request: any Request) async throws -> ([4;39mURLSession[0;0m.AsyncBytes, URLResponse) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m75 |[0;0m var urlRequest = try request.toURLRequest(for: baseURL)
[0;36m76 |[0;0m headers.forEach { key, value in
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/ObjectListable.swift:16:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m // swiftlint:disable:next function_parameter_count
[0;36m15 |[0;0m func list(
[0;36m16 |[0;0m session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m type: RequestType,
[0;36m18 |[0;0m limit: Int,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Request.swift:58:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m extension Request {
[0;36m58 |[0;0m func toURLRequest(for baseURL: URL) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m let url = baseURL.appendingPathComponent(path)
[0;36m60 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/APIKeys.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Admin.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationInvites.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/OrganizationMembers.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/WorkspaceMembers.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Admin/Workspaces.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/CountTokens.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/MessageBatches.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/API/Messages.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Anthropic.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/AnthropicAPIError.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/AnthropicVersion.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/ClientError.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Admin/Invitation.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Admin/OrganizationRole.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Admin/Registration.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Admin/WorkspaceRole.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/BatchParameter.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/BatchRequestCounts.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/BatchResultType.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/BatchType.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/MessageBatch.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Batch/ProcessingStatus.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Content/Content.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Content/DocumentContent.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Content/ImageContent.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Content/ToolResultContent.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Content/ToolUseContent.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Message.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/MetaData.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Model.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Role.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/StopReason.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Streaming/ContentBlockDelta.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Streaming/ContentBlockDeltaType.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Streaming/MessageDelta.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Streaming/StreamingError.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Streaming/StreamingEvent.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/SystemPrompt.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/TokenUsage.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Tool/BashTool.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Tool/ComputerTool.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Tool/FunctionTool.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Tool/TextEditorTool.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/Tool/Tool.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Entity/ToolChoice.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/AnthropicAPIClient.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/HeaderProvider/AnthropicHeaderProvider.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/HeaderProvider/AuthenticationHeaderProvider.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/ObjectListable.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/APIKeys/GetAPIKeyRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/APIKeys/UpdateAPIKeyRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/CountTokenRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/ListObjectRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/MessageBatches/CancelMessageBatchRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/MessageBatches/MessageBatchesRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/MessageBatches/RetrieveMessageBatchResultsRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/MessageBatches/RetrieveMessageBatchesRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/MessagesRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationInvites/CreateOrganizationInviteRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationInvites/DeleteOrganizationInviteRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationInvites/GetOrganizationInviteRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationMembers/GetOrganizationMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationMembers/RemoveOrganizationMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/OrganizationMembers/UpdateOrganizationMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Request.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/WorkspaceMembers/CreateWorkspaceMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/WorkspaceMembers/DeleteWorkspaceMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/WorkspaceMembers/GetWorkspaceMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/WorkspaceMembers/UpdateWorkspaceMemberRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Workspaces/ArchiveWorkspaceRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Workspaces/CreateWorkspaceRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Workspaces/GetWorkspaceRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Request/Workspaces/UpdateWorkspaceRequest.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/APIKeyResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/BatchResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/BatchResultResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/CountTokenResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/InvitationRemoveResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/InvitationResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/MessagesResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/ObjectListResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/OrganizationMemberRemoveResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/OrganizationMemberResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/StreamingResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/WorkspaceMemberRemoveResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/WorkspaceMemberResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Response/WorkspaceResponse.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/StreamingDataLineParser.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/StreamingEventLineParser.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/StreamingResponseParser.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Util/AnthropicJSONDecoder.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Util/AnthropicJSONEncoder.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Util/AnyDecodable.swift /host/spi-builder-workspace/Sources/AnthropicSwiftSDK/Util/InputJSONDeltaAccumulator.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AnthropicSwiftSDK -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/AnthropicSwiftSDK_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/Modules/AnthropicSwiftSDK.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/Modules/AnthropicSwiftSDK.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/AnthropicSwiftSDK-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/AnthropicSwiftSDK-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/AnthropicSwiftSDK-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnthropicSwiftSDK.build/Debug-android-aarch64/AnthropicSwiftSDK-t.build/Objects-normal/aarch64/Modules/AnthropicSwiftSDK.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android