Build Information
Failed to build ClaudeCodeSDK, reference 1.2.4 (f626d1), with Swift 6.1 for Wasm on 27 Dec 2025 14:28:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Reference: 1.2.4
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/jamesrochabrun/ClaudeCodeSDK
* tag 1.2.4 -> FETCH_HEAD
HEAD is now at f626d1d Add CLI parity with 21 new flags from Claude Code Agent SDK (#30)
Cloned https://github.com/jamesrochabrun/ClaudeCodeSDK.git
Revision (git rev-parse @):
f626d1d1eab3bf43a1eef2f70b2a493903f7e5e8
SUCCESS checkout https://github.com/jamesrochabrun/ClaudeCodeSDK.git at 1.2.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
https://github.com/jamesrochabrun/ClaudeCodeSDK.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftanthropic",
"requirement" : {
"exact" : [
"2.2.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic"
}
],
"manifest_display_name" : "ClaudeCodeSDK",
"name" : "ClaudeCodeSDK",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ClaudeCodeSDK",
"targets" : [
"ClaudeCodeSDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickTest",
"targets" : [
"QuickTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "QuickTest",
"module_type" : "SwiftTarget",
"name" : "QuickTest",
"path" : "Sources/QuickTest",
"product_memberships" : [
"QuickTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "executable"
},
{
"c99name" : "ClaudeCodeSDKTests",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDKTests",
"path" : "Tests/ClaudeCodeSDKTests",
"sources" : [
"BackendConfigurationTests.swift",
"BackendTests.swift",
"BasicClientTests.swift",
"CancellationTests.swift",
"ClaudeCodeSDKTests.swift",
"ErrorHandlingTests.swift",
"MCPConfigurationTests.swift",
"NodePathDetectorTests.swift",
"OptionsTests.swift",
"OutputFormatTests.swift",
"ProcessLaunchTests.swift",
"RateLimitingTests.swift",
"RetryLogicTests.swift",
"SDKWrapperTests.swift",
"ShellEscapingTests.swift"
],
"target_dependencies" : [
"ClaudeCodeSDK"
],
"type" : "test"
},
{
"c99name" : "ClaudeCodeSDK",
"module_type" : "SwiftTarget",
"name" : "ClaudeCodeSDK",
"path" : "Sources/ClaudeCodeSDK",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ClaudeCodeSDK",
"QuickTest"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/ClaudeCodeSDK/Resources/sdk-wrapper.mjs",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"API/AbortController.swift",
"API/ApiKeySource.swift",
"API/AssistantMessage.swift",
"API/ClaudeCode.swift",
"API/ClaudeCodeConfiguration.swift",
"API/ClaudeCodeOptions.swift",
"API/ClaudeCodeOutputFormat.swift",
"API/ClaudeCodeResult.swift",
"API/ConfigScope.swift",
"API/ExecutedCommandInfo.swift",
"API/InitSystemMessage.swift",
"API/InputFormat.swift",
"API/McpServerConfig.swift",
"API/PermissionMode.swift",
"API/ResponseChunk.swift",
"API/ResultMessage.swift",
"API/SessionInfo.swift",
"API/SettingSource.swift",
"API/SubagentDefinition.swift",
"API/UserMessage.swift",
"Backend/AgentSDKBackend.swift",
"Backend/BackendFactory.swift",
"Backend/ClaudeCodeBackend.swift",
"Backend/HeadlessBackend.swift",
"ClaudeCodeSDK.swift",
"Client/ClaudeCodeClient.swift",
"Client/ClaudeCodeError.swift",
"Examples/ErrorHandlingExample.swift",
"Storage/ClaudeNativeSessionStorage.swift",
"Storage/ClaudeSessionModels.swift",
"Storage/ClaudeSessionProtocol.swift",
"Utilities/MCPToolFormatter.swift",
"Utilities/NodePathDetector.swift",
"Utilities/NvmPathDetector.swift",
"Utilities/RateLimiter.swift",
"Utilities/RetryPolicy.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jamesrochabrun/SwiftAnthropic
[1/1289] Fetching swiftanthropic
Fetched https://github.com/jamesrochabrun/SwiftAnthropic from cache (0.27s)
Computing version for https://github.com/jamesrochabrun/SwiftAnthropic
Computed https://github.com/jamesrochabrun/SwiftAnthropic at 2.2.0 (1.08s)
Fetching https://github.com/swift-server/async-http-client.git
[1/14503] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.21s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.2 (2.16s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
[1/5621] Fetching swift-distributed-tracing
[845/7441] Fetching swift-distributed-tracing, swift-atomics
[1935/13200] Fetching swift-distributed-tracing, swift-atomics, swift-log
[2777/16009] Fetching swift-distributed-tracing, swift-atomics, swift-log, swift-nio-transport-services
[9046/22053] Fetching swift-distributed-tracing, swift-atomics, swift-log, swift-nio-transport-services, swift-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.95s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.06s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.06s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.08s)
Fetching https://github.com/apple/swift-nio-extras.git
[1/11724] Fetching swift-nio-http2
[1995/18088] Fetching swift-nio-http2, swift-nio-extras
[9179/33384] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl
[9918/114336] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.59s)
[14139/107972] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.13s)
[46939/96248] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.18s)
Fetched https://github.com/apple/swift-nio.git from cache (8.09s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (10.51s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (0.88s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.70s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.82s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.88s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.80s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (1.17s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1692] Fetching swift-asn1
[205/2643] Fetching swift-asn1, swift-http-types
[874/5211] Fetching swift-asn1, swift-http-types, swift-service-lifecycle
[1820/6415] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[2536/13495] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-certificates
[2573/19355] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[16530/18404] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.47s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.31s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.93s)
Fetching https://github.com/apple/swift-collections.git
[1/18404] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (5.20s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.54s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.54s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.73s)
Fetching https://github.com/apple/swift-crypto.git
[1/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.0 (1.22s)
Fetching https://github.com/apple/swift-system.git
[1/5230] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (2.33s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/jamesrochabrun/SwiftAnthropic
Working copy of https://github.com/jamesrochabrun/SwiftAnthropic resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.31.2
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
Building for debugging...
[0/10] Write sources
[0/10] Copying sdk-wrapper.mjs
[0/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/35] Emitting module SwiftAnthropic
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[7/38] Compiling SwiftAnthropic AnthropicService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[8/38] Compiling SwiftAnthropic AnthropicServiceFactory.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[9/38] Compiling SwiftAnthropic DefaultAnthropicService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[10/38] Compiling SwiftAnthropic Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[11/38] Compiling SwiftAnthropic AsyncHTTPClientAdapter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[12/38] Compiling SwiftAnthropic HTTPClient.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[13/38] Compiling SwiftAnthropic URLSessionHTTPClientAdapter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[14/38] Compiling SwiftAnthropic AIProxyCertificatePinning.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[15/38] Compiling SwiftAnthropic AIProxyService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[16/38] Compiling SwiftAnthropic Endpoint+AIProxy.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[17/38] Compiling SwiftAnthropic AnthropicAPI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[18/38] Compiling SwiftAnthropic MessageTokenCountParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[19/38] Compiling SwiftAnthropic SkillParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[20/38] Compiling SwiftAnthropic TextCompletionParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[21/38] Compiling SwiftAnthropic Model.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[22/38] Compiling SwiftAnthropic JSONSchema.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[23/38] Compiling SwiftAnthropic MessageParameter+Web.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[24/38] Compiling SwiftAnthropic MessageParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[25/38] Compiling SwiftAnthropic MessageResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[26/38] Compiling SwiftAnthropic MessageStreamResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[27/38] Compiling SwiftAnthropic SkillResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[28/38] Compiling SwiftAnthropic ErrorResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[29/38] Compiling SwiftAnthropic MessageInputTokens.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[30/38] Compiling SwiftAnthropic MessageResponse+DynamicContent.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[31/38] Compiling SwiftAnthropic TextCompletionResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[32/38] Compiling SwiftAnthropic TextCompletionStreamResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[33/38] Compiling SwiftAnthropic StreamHandler.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/31] Compiling SwiftAnthropic MessageTokenCountParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[3/31] Compiling SwiftAnthropic SkillParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[4/31] Compiling SwiftAnthropic TextCompletionParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[5/34] Compiling SwiftAnthropic TextCompletionResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[6/34] Compiling SwiftAnthropic TextCompletionStreamResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[7/34] Compiling SwiftAnthropic StreamHandler.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[8/34] Compiling SwiftAnthropic AIProxyCertificatePinning.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[9/34] Compiling SwiftAnthropic AIProxyService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[10/34] Compiling SwiftAnthropic Endpoint+AIProxy.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[11/34] Compiling SwiftAnthropic AnthropicAPI.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/34] Emitting module SwiftAnthropic
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[13/34] Compiling SwiftAnthropic Endpoint.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[14/34] Compiling SwiftAnthropic AsyncHTTPClientAdapter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[15/34] Compiling SwiftAnthropic HTTPClient.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[16/34] Compiling SwiftAnthropic URLSessionHTTPClientAdapter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[17/34] Compiling SwiftAnthropic Model.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[18/34] Compiling SwiftAnthropic JSONSchema.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[19/34] Compiling SwiftAnthropic MessageParameter+Web.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[20/34] Compiling SwiftAnthropic MessageParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[21/34] Compiling SwiftAnthropic MessageResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[22/34] Compiling SwiftAnthropic MessageStreamResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[23/34] Compiling SwiftAnthropic SkillResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[24/34] Compiling SwiftAnthropic ErrorResponse.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[25/34] Compiling SwiftAnthropic MessageInputTokens.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[26/34] Compiling SwiftAnthropic MessageResponse+DynamicContent.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[27/34] Compiling SwiftAnthropic AnthropicService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[28/34] Compiling SwiftAnthropic AnthropicServiceFactory.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
[29/34] Compiling SwiftAnthropic DefaultAnthropicService.swift
/host/spi-builder-workspace/.build/checkouts/SwiftAnthropic/Sources/Anthropic/AIProxy/AIProxyCertificatePinning.swift:10:8: error: no such module 'OSLog'
8 | #if !os(Linux)
9 | import Foundation
10 | import OSLog
| `- error: no such module 'OSLog'
11 |
12 | private let aiproxyLogger = Logger(subsystem: Bundle.main.bundleIdentifier ?? "UnknownApp",
BUILD FAILURE 6.1 wasm