The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodexAgentSDK, reference 0.1.1 (9f8c59), with Swift 6.3 for Wasm on 17 Jul 2026 13:45:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliczsh/codex-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/codex-agents-sdk-swift
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 9f8c596 Remove internal roadmap jargon from README
Cloned https://github.com/kiliczsh/codex-agents-sdk-swift.git
Revision (git rev-parse @):
9f8c596cfd9a9babbe4f54049416f54c6d11bb02
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kiliczsh/codex-agents-sdk-swift.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kiliczsh/codex-agents-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:501b6bfc4ca8a27c305c68f9d5c778f996de82635741ab45476a03ffa6fa26d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CodexAgentSDK CodexCLIResolver.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[4/11] Compiling CodexAgentSDK CodexProcessTransport.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[5/11] Compiling CodexAgentSDK CodexTypes.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[6/11] Compiling CodexAgentSDK CodexDynamicTool.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module CodexAgentSDK
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[8/11] Compiling CodexAgentSDK CodexAppServerClient.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[9/11] Compiling CodexAgentSDK CodexAgentError.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[10/11] Compiling CodexAgentSDK CodexAgentSession.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
[11/11] Compiling CodexAgentSDK JSONValue.swift
/host/spi-builder-workspace/Sources/CodexAgentSDK/CodexProcessTransport.swift:1:8: error: no such module 'Darwin'
  1 | import Darwin
    |        `- error: no such module 'Darwin'
  2 | import Foundation
  3 |
BUILD FAILURE 6.3 wasm