The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ClaudeCodeSDK, reference 1.2.4 (f626d1), with Swift 6.1 for Android on 27 Dec 2025 14:31:04 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build 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:         android
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jamesrochabrun/SwiftAnthropic
[1/1289] Fetching swiftanthropic
Fetched https://github.com/jamesrochabrun/SwiftAnthropic from cache (0.39s)
Computing version for https://github.com/jamesrochabrun/SwiftAnthropic
Computed https://github.com/jamesrochabrun/SwiftAnthropic at 2.2.0 (1.39s)
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.41s)
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.33s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
[1/5621] Fetching swift-distributed-tracing
[1913/8430] Fetching swift-distributed-tracing, swift-nio-transport-services
[3487/10250] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics
[4373/16294] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms
[4374/22658] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms, swift-nio-extras
[4676/28417] Fetching swift-distributed-tracing, swift-nio-transport-services, swift-atomics, swift-algorithms, swift-nio-extras, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (1.01s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.01s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.04s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.04s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.05s)
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
[1/11724] Fetching swift-nio-http2
[2581/92676] Fetching swift-nio-http2, swift-nio
[2699/107972] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.78s)
[46327/96248] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.52s)
[47762/80952] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.03s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (13.61s)
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.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (1.65s)
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.88s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.90s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
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.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.77s)
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.70s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.64s)
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.88s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.68s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1692] Fetching swift-asn1
[52/2896] Fetching swift-asn1, swift-http-structured-headers
[128/5464] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
[153/6415] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[4373/12275] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms
[7178/19355] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.50s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.52s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
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 (2.06s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (1.17s)
Fetching https://github.com/apple/swift-collections.git
[1/18404] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.10s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (5.21s)
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.60s)
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.76s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (1.10s)
Fetching https://github.com/apple/swift-crypto.git
[1/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (4.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.0 (3.42s)
Fetching https://github.com/apple/swift-system.git
[1/5230] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (3.73s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (2.95s)
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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.6.0
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-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-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-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-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/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-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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-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-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-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-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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Building for debugging...
[0/10] Write sources
[3/10] Copying sdk-wrapper.mjs
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/35] 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",
[7/35] 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",
[8/35] 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",
[9/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",
[10/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",
[11/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",
[12/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",
[13/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",
[14/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",
[15/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",
[16/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",
[17/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",
[18/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",
[19/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",
[20/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",
[21/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",
[22/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",
[23/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",
[24/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",
[25/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",
[26/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",
[27/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",
[28/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",
[29/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",
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/38] 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",
[31/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",
[32/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",
[33/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",
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/31] 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",
[3/31] 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",
[4/31] 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",
[5/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",
[6/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",
[7/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",
[8/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)
[9/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",
[10/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",
[11/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",
[12/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",
[13/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",
[14/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",
[15/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",
[16/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",
[17/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",
[18/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",
[19/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",
[20/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",
[21/34] 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",
[22/34] 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",
[23/34] 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",
[24/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",
[25/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",
[26/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",
[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 android