Build Information
Failed to build PraxoCore, reference 0.7.2 (7670b7), with Swift 6.2 for Android on 23 Nov 2026 01:59:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/axisvela/praxo-core-swift.git
Reference: 0.7.2
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
* tag 0.7.2 -> FETCH_HEAD
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 0.7.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/axisvela/praxo-core-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-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--11D90AFD9DD3AB2.txt
[19/83] Compiling PraxoCore JsonSchema.swift
[20/83] Compiling PraxoCore Middleware.swift
[21/83] Compiling PraxoCore Hitl.swift
[22/83] Compiling PraxoCore Json.swift
[23/85] Compiling PraxoCore Retriever.swift
[24/85] Compiling PraxoCore Agent.swift
[25/85] Emitting module PraxoCore
[26/85] Compiling PraxoCore Models.swift
[27/85] Compiling PraxoCore Plugin.swift
[28/85] Compiling PraxoCore AnthropicCompatible.swift
[29/85] Compiling PraxoCore Delegation.swift
[30/85] Compiling PraxoCore GeminiCompatible.swift
[31/85] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
244 | }
245 | task.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[32/85] 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
244 | }
245 | task.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[33/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
| `- 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
372 | data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 | }.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[34/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
| `- 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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
372 | data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 | }.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[35/85] Compiling PraxoCore Runtime.swift
[36/85] Compiling PraxoCore ToolCallParser.swift
[38/104] Compiling praxo_streaming_example streaming.swift
[39/104] Emitting module praxo_provider_fallback_example
[40/104] Emitting module praxo_streaming_example
[41/104] Emitting module praxo_mcp_example
[42/104] Compiling praxo_provider_fallback_example fallback.swift
[43/105] Emitting module praxo_session_checkpoint_example
[44/105] Compiling praxo_mcp_example mcp.swift
[45/107] Compiling praxo_service_example main.swift
[46/107] Compiling praxo_service_example service.swift
[50/107] Emitting module praxo_structured_output_example
[51/107] Compiling praxo_structured_output_example structured_output.swift
[52/108] Emitting module praxo_retry_example
[53/108] Compiling praxo_retry_example retry.swift
[56/115] Compiling praxo_session_checkpoint_example session_checkpoint.swift
[58/120] Emitting module praxo_hitl_example
[59/120] Compiling praxo_identity_policy_example identity_policy.swift
[60/120] Emitting module praxo_identity_policy_example
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/121] 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 |
[63/121] 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/121] Emitting module praxo_event_sink_example
[65/121] Emitting module praxo_representative_chain_example
[66/121] Emitting module praxo_service_example
BUILD FAILURE 6.2 android