The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PraxoCore, reference main (7670b7), with Swift 6.1 for Android on 23 Nov 2026 02:02:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/axisvela/praxo-core-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/axisvela/praxo-core-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7670b78 docs: expand README with features and limits
Cloned https://github.com/axisvela/praxo-core-swift.git
Revision (git rev-parse @):
7670b78faf1694aaa7ffd68e3b8c0835f03edcbc
SUCCESS checkout https://github.com/axisvela/praxo-core-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/axisvela/praxo-core-swift.git
https://github.com/axisvela/praxo-core-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/structured-output/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/streaming/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/session-checkpoint/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/service/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/retry/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/representative-chain/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/provider-fallback/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/mcp/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/live-model/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/identity-policy/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/hitl/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/advanced-delegation/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/event-sink/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/consumer/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/checkpoint/README.md
Building for debugging...
[0/67] Write sources
[17/67] Write swift-version-24593BA9C3E375BF.txt
[19/83] Emitting module PraxoCore
[20/85] Compiling PraxoCore Hitl.swift
[21/85] Compiling PraxoCore Json.swift
[22/85] Compiling PraxoCore Models.swift
[23/85] Compiling PraxoCore Plugin.swift
[24/85] Compiling PraxoCore OpenAICompatible.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: capture of 'result' with non-sendable type 'Result<ProviderHTTPResponse, any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 21 | }
 22 |
 23 | public struct ProviderHTTPResponse {
    |               `- note: consider making struct 'ProviderHTTPResponse' conform to the 'Sendable' protocol
 24 |     public var statusCode: Int
 25 |     public var body: String
    :
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<ProviderHTTPResponse, any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:239:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
237 |             }
238 |             guard let http = response as? HTTPURLResponse else {
239 |                 result = .failure(PraxoError("PROVIDER_HTTP", "provider response is not HTTP"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
240 |                 return
241 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:243:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
241 |             }
242 |             let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? ""
243 |             result = .success(ProviderHTTPResponse(statusCode: http.statusCode, body: body))
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |         }
245 |         task.resume()
[25/85] Compiling PraxoCore Otel.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: capture of 'result' with non-sendable type 'Result<ProviderHTTPResponse, any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 21 | }
 22 |
 23 | public struct ProviderHTTPResponse {
    |               `- note: consider making struct 'ProviderHTTPResponse' conform to the 'Sendable' protocol
 24 |     public var statusCode: Int
 25 |     public var body: String
    :
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<ProviderHTTPResponse, any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:239:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
237 |             }
238 |             guard let http = response as? HTTPURLResponse else {
239 |                 result = .failure(PraxoError("PROVIDER_HTTP", "provider response is not HTTP"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
240 |                 return
241 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:243:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
241 |             }
242 |             let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? ""
243 |             result = .success(ProviderHTTPResponse(statusCode: http.statusCode, body: body))
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |         }
245 |         task.resume()
[26/85] Compiling PraxoCore Retriever.swift
[27/85] Compiling PraxoCore Agent.swift
[28/85] Compiling PraxoCore Harmovela.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:368:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
366 |             }
367 |             guard let http = response as? HTTPURLResponse else {
368 |                 result = .failure(PraxoError("MCP_TRANSPORT", "mcp: invalid HTTP response"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:371:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
371 |             result = .success((http.statusCode, http.allHeaderFields,
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
372 |                                data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 |         }.resume()
[29/85] Compiling PraxoCore MCP.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:368:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
366 |             }
367 |             guard let http = response as? HTTPURLResponse else {
368 |                 result = .failure(PraxoError("MCP_TRANSPORT", "mcp: invalid HTTP response"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:371:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
371 |             result = .success((http.statusCode, http.allHeaderFields,
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
372 |                                data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 |         }.resume()
[30/85] Compiling PraxoCore Runtime.swift
[31/85] Compiling PraxoCore ToolCallParser.swift
[32/85] Compiling PraxoCore JsonSchema.swift
[33/85] Compiling PraxoCore Middleware.swift
[34/85] Compiling PraxoCore AnthropicCompatible.swift
[35/85] Compiling PraxoCore Delegation.swift
[36/85] Compiling PraxoCore GeminiCompatible.swift
[38/104] Compiling praxo_mcp_example mcp.swift
[39/104] Emitting module praxo_provider_fallback_example
[40/104] Emitting module praxo_service_example
[41/104] Compiling praxo_provider_fallback_example fallback.swift
[42/105] Emitting module praxo_mcp_example
[43/105] Emitting module praxo_retry_example
[44/106] Compiling praxo_retry_example retry.swift
[45/107] Compiling praxo_session_checkpoint_example session_checkpoint.swift
[46/107] Compiling praxo_streaming_example streaming.swift
[47/107] Emitting module praxo_streaming_example
[49/108] Compiling praxo_service_example service.swift
[50/108] Emitting module praxo_session_checkpoint_example
[51/109] Emitting module praxo_structured_output_example
[52/109] Compiling praxo_structured_output_example structured_output.swift
[54/110] Compiling praxo_service_example main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/122] Emitting module praxo_live_model_example
/host/spi-builder-workspace/examples/live-model/live_model.swift:9:8: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
[60/122] Emitting module praxo_identity_policy_example
[61/122] Compiling praxo_identity_policy_example identity_policy.swift
[63/123] Compiling praxo_live_model_example live_model.swift
/host/spi-builder-workspace/examples/live-model/live_model.swift:9:8: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
[64/123] Emitting module praxo_hitl_example
[65/123] Emitting module praxo_event_sink_example
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/123] Emitting module praxo_consumer_example
/host/spi-builder-workspace/examples/consumer/consumer.swift:9:8: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
[67/123] Emitting module praxo_governance_example
[68/123] Emitting module praxo_representative_chain_example
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/structured-output/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/streaming/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/session-checkpoint/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/service/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/retry/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/representative-chain/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/provider-fallback/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/mcp/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/live-model/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/identity-policy/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/hitl/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/advanced-delegation/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/event-sink/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/consumer/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/examples/checkpoint/README.md
[0/1] Planning build
Building for debugging...
[0/50] Write swift-version-24593BA9C3E375BF.txt
[2/66] Compiling PraxoCore OpenAICompatible.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:239:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
237 |             }
238 |             guard let http = response as? HTTPURLResponse else {
239 |                 result = .failure(PraxoError("PROVIDER_HTTP", "provider response is not HTTP"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
240 |                 return
241 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:243:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
241 |             }
242 |             let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? ""
243 |             result = .success(ProviderHTTPResponse(statusCode: http.statusCode, body: body))
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |         }
245 |         task.resume()
[3/66] Compiling PraxoCore Otel.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
233 |             defer { semaphore.signal() }
234 |             if let error = error {
235 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
236 |                 return
237 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:239:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
237 |             }
238 |             guard let http = response as? HTTPURLResponse else {
239 |                 result = .failure(PraxoError("PROVIDER_HTTP", "provider response is not HTTP"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
240 |                 return
241 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:243:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
241 |             }
242 |             let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? ""
243 |             result = .success(ProviderHTTPResponse(statusCode: http.statusCode, body: body))
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 |         }
245 |         task.resume()
[4/68] Compiling PraxoCore Models.swift
[5/68] Compiling PraxoCore Plugin.swift
[6/68] Compiling PraxoCore Retriever.swift
[7/68] Compiling PraxoCore Agent.swift
[8/68] Emitting module PraxoCore
[9/68] Compiling PraxoCore AnthropicCompatible.swift
[10/68] Compiling PraxoCore Delegation.swift
[11/68] Compiling PraxoCore GeminiCompatible.swift
[12/68] Compiling PraxoCore JsonSchema.swift
[13/68] Compiling PraxoCore Middleware.swift
[14/68] Compiling PraxoCore Harmovela.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:368:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
366 |             }
367 |             guard let http = response as? HTTPURLResponse else {
368 |                 result = .failure(PraxoError("MCP_TRANSPORT", "mcp: invalid HTTP response"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:371:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
371 |             result = .success((http.statusCode, http.allHeaderFields,
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
372 |                                data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 |         }.resume()
[15/68] Compiling PraxoCore MCP.swift
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: capture of 'result' with non-sendable type 'Result<(Int, [AnyHashable : Any], String), any Error>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
362 |             defer { semaphore.signal() }
363 |             if let error {
364 |                 result = .failure(error)
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
365 |                 return
366 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:368:17: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
366 |             }
367 |             guard let http = response as? HTTPURLResponse else {
368 |                 result = .failure(PraxoError("MCP_TRANSPORT", "mcp: invalid HTTP response"))
    |                 `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:371:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
369 |                 return
370 |             }
371 |             result = .success((http.statusCode, http.allHeaderFields,
    |             `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
372 |                                data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 |         }.resume()
[16/68] Compiling PraxoCore Hitl.swift
[17/68] Compiling PraxoCore Json.swift
[18/68] Compiling PraxoCore Runtime.swift
[19/68] Compiling PraxoCore ToolCallParser.swift
[21/87] Emitting module praxo_provider_fallback_example
[22/87] Compiling praxo_provider_fallback_example fallback.swift
[23/88] Compiling praxo_mcp_example mcp.swift
[24/88] Compiling praxo_streaming_example streaming.swift
[25/88] Emitting module praxo_streaming_example
[26/89] Compiling praxo_structured_output_example structured_output.swift
[27/89] Emitting module praxo_structured_output_example
[29/90] Compiling praxo_retry_example retry.swift
[30/90] Emitting module praxo_retry_example
[31/91] Emitting module praxo_mcp_example
[32/92] Emitting module praxo_session_checkpoint_example
[33/92] Compiling praxo_service_example service.swift
[34/92] Compiling praxo_service_example main.swift
[36/92] Compiling praxo_session_checkpoint_example session_checkpoint.swift
[41/103] Compiling praxo_representative_chain_example main.swift
[42/103] Emitting module praxo_representative_chain_example
[43/106] Emitting module praxo_service_example
[44/106] Compiling praxo_service_example authentication.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/107] Emitting module praxo_live_model_example
/host/spi-builder-workspace/examples/live-model/live_model.swift:9:8: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
[47/107] Emitting module praxo_identity_policy_example
[48/107] Compiling praxo_identity_policy_example identity_policy.swift
[50/108] Compiling praxo_live_model_example live_model.swift
/host/spi-builder-workspace/examples/live-model/live_model.swift:9:8: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
[51/108] Emitting module praxo_hitl_example
[52/108] Emitting module praxo_governance_example
BUILD FAILURE 6.1 android