Build Information
Failed to build ClaudeAgentSDK, reference main (0f1040), with Swift 6.3 for Linux on 17 Jul 2026 13:38:18 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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/kiliczsh/claude-agents-sdk-swift.git
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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:518d581a7f3cc0f988d8921e0dce92c3361f942cd4cc7d944cb46f8707e06c63
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-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 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 {
[5/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 {
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
BUILD FAILURE 6.3 linux