The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClaudeAgentSDK, reference 0.1.1 (a2bc00), with Swift 6.1 for Linux on 17 Jul 2026 17:36:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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: 0.1.1
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
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at a2bc000 Remove internal roadmap jargon from README
Cloned https://github.com/kiliczsh/claude-agents-sdk-swift.git
Revision (git rev-parse @):
a2bc0007438ea468e4034c694376ff082dc31ae9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kiliczsh/claude-agents-sdk-swift.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
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-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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 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 {
[5/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 {
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[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-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] 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 {
[3/18] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 {
[5/20] 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 {
[6/20] 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 {
[7/20] 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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[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 linux