The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClaudeAgentSDK, reference main (0f1040), with Swift 6.2 for Wasm on 18 Jul 2026 01:45:55 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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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:         wasm
Swift version:             6.2
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-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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 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 {
[10/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 {
[11/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 {
[12/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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
BUILD FAILURE 6.2 wasm