The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClaudeAgentSDK, reference main (0f1040), with Swift 6.1 for Android on 17 Jul 2026 13:45:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliczsh/claude-agents-sdk-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kiliczsh/claude-agents-sdk-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0f10405 Add contributing guidelines
Cloned https://github.com/kiliczsh/claude-agents-sdk-swift.git
Revision (git rev-parse @):
0f104054c987cc0780a102cc9b8a9a13a7b49b37
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kiliczsh/claude-agents-sdk-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kiliczsh/claude-agents-sdk-swift.git
https://github.com/kiliczsh/claude-agents-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module ClaudeAgentSDK
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[4/21] Compiling ClaudeAgentSDK ClaudeRedactor.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[5/21] Compiling ClaudeAgentSDK JSONValue+Accessors.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[6/21] Compiling ClaudeAgentSDK JSONValue.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[7/21] Compiling ClaudeAgentSDK ClaudeAgentSDK.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[8/21] Compiling ClaudeAgentSDK ClaudeAgentDiagnostic.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[9/21] Compiling ClaudeAgentSDK ClaudeAgentError.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[10/21] Compiling ClaudeAgentSDK ClaudeContentBlock.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[11/21] Compiling ClaudeAgentSDK ClaudeMessage.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[12/21] Compiling ClaudeAgentSDK ClaudeAgentOptions.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[13/21] Compiling ClaudeAgentSDK ClaudeAgentSession.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[14/21] Compiling ClaudeAgentSDK ClaudeSdkTool.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[15/21] Compiling ClaudeAgentSDK ClaudeCLIProvider.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[16/21] Compiling ClaudeAgentSDK ClaudeProcessConfiguration.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[17/21] Compiling ClaudeAgentSDK ClaudeProcessTransport.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[18/21] Compiling ClaudeAgentSDK ClaudeCLIVersion.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[19/21] Compiling ClaudeAgentSDK ClaudeCommandRunner.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[20/21] Compiling ClaudeAgentSDK ClaudeTransport.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[21/21] Compiling ClaudeAgentSDK NDJSONFramer.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling ClaudeAgentSDK ClaudeAgentSDK.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[3/18] Compiling ClaudeAgentSDK ClaudeAgentDiagnostic.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[4/18] Compiling ClaudeAgentSDK ClaudeAgentError.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[5/20] Compiling ClaudeAgentSDK ClaudeContentBlock.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[6/20] Compiling ClaudeAgentSDK ClaudeMessage.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/20] Emitting module ClaudeAgentSDK
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[8/20] Compiling ClaudeAgentSDK ClaudeSdkTool.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[9/20] Compiling ClaudeAgentSDK ClaudeCLIProvider.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[10/20] Compiling ClaudeAgentSDK ClaudeProcessConfiguration.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[11/20] Compiling ClaudeAgentSDK ClaudeProcessTransport.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[12/20] Compiling ClaudeAgentSDK ClaudeAgentOptions.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[13/20] Compiling ClaudeAgentSDK ClaudeAgentSession.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[14/20] Compiling ClaudeAgentSDK ClaudeCLIVersion.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[15/20] Compiling ClaudeAgentSDK ClaudeCommandRunner.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[16/20] Compiling ClaudeAgentSDK ClaudeRedactor.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[17/20] Compiling ClaudeAgentSDK JSONValue+Accessors.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[18/20] Compiling ClaudeAgentSDK JSONValue.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[19/20] Compiling ClaudeAgentSDK ClaudeTransport.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
[20/20] Compiling ClaudeAgentSDK NDJSONFramer.swift
/host/spi-builder-workspace/Sources/ClaudeAgentSDK/Transport/ClaudeCommandRunner.swift:2:8: error: no such module 'Darwin'
  1 | import Foundation
  2 | import Darwin
    |        `- error: no such module 'Darwin'
  3 |
  4 | struct CommandResult: Sendable, Equatable {
BUILD FAILURE 6.1 android