Build Information
Failed to build PraxoCore, reference 0.7.2 (7670b7), with Swift 6.1 for Android on 23 Nov 2026 02:00:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&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.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-54344847-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 Runtime.swift
[21/85] Compiling PraxoCore ToolCallParser.swift
[22/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()
[23/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()
[24/85] Compiling PraxoCore Hitl.swift
[25/85] Compiling PraxoCore Json.swift
[26/85] Compiling PraxoCore AnthropicCompatible.swift
[27/85] Compiling PraxoCore Delegation.swift
[28/85] Compiling PraxoCore GeminiCompatible.swift
[29/85] Compiling PraxoCore Retriever.swift
[30/85] Compiling PraxoCore Agent.swift
[31/85] Compiling PraxoCore Models.swift
[32/85] Compiling PraxoCore Plugin.swift
[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
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()
[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
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()
[35/85] Compiling PraxoCore JsonSchema.swift
[36/85] Compiling PraxoCore Middleware.swift
[38/104] Compiling praxo_provider_fallback_example fallback.swift
[39/104] Emitting module praxo_streaming_example
[40/104] Compiling praxo_service_example service.swift
[41/104] Emitting module praxo_provider_fallback_example
[42/105] Compiling praxo_retry_example retry.swift
[43/105] Emitting module praxo_retry_example
[44/106] Emitting module praxo_service_example
[45/106] Compiling praxo_service_example main.swift
[47/106] Compiling praxo_streaming_example streaming.swift
[48/107] Emitting module praxo_mcp_example
[49/107] Compiling praxo_mcp_example mcp.swift
[50/108] Emitting module praxo_structured_output_example
[53/108] Compiling praxo_structured_output_example structured_output.swift
[55/111] Emitting module praxo_session_checkpoint_example
[56/111] Compiling praxo_session_checkpoint_example session_checkpoint.swift
[58/116] Compiling praxo_representative_chain_example main.swift
[59/116] Emitting module praxo_representative_chain_example
[61/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 |
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_identity_policy_example identity_policy.swift
[64/121] Emitting module praxo_identity_policy_example
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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] Emitting module PraxoCore
[3/68] Compiling PraxoCore Models.swift
[4/68] Compiling PraxoCore Plugin.swift
[5/68] Compiling PraxoCore JsonSchema.swift
[6/68] Compiling PraxoCore Middleware.swift
[7/68] Compiling PraxoCore Retriever.swift
[8/68] Compiling PraxoCore Agent.swift
[9/68] 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()
[10/68] 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()
[11/68] Compiling PraxoCore AnthropicCompatible.swift
[12/68] Compiling PraxoCore Delegation.swift
[13/68] Compiling PraxoCore GeminiCompatible.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] Compiling praxo_mcp_example mcp.swift
[22/87] Emitting module praxo_streaming_example
[23/87] Emitting module praxo_structured_output_example
[24/87] Compiling praxo_structured_output_example structured_output.swift
[25/87] Emitting module praxo_provider_fallback_example
[26/88] Compiling praxo_provider_fallback_example fallback.swift
[27/88] Compiling praxo_streaming_example streaming.swift
[28/90] Emitting module praxo_retry_example
[29/90] Compiling praxo_retry_example retry.swift
[30/91] Compiling praxo_service_example service.swift
[31/91] Compiling praxo_service_example main.swift
[32/91] Compiling praxo_session_checkpoint_example session_checkpoint.swift
[33/91] Emitting module praxo_mcp_example
[35/92] Emitting module praxo_session_checkpoint_example
[41/99] Emitting module praxo_representative_chain_example
[42/99] Compiling praxo_representative_chain_example main.swift
[43/106] Compiling praxo_identity_policy_example identity_policy.swift
[44/106] Emitting module praxo_identity_policy_example
[46/107] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/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 |
[48/107] Emitting module praxo_hitl_example
[49/107] Emitting module praxo_governance_example
BUILD FAILURE 6.1 android