Build Information
Failed to build PraxoCore, reference 0.7.2 (7670b7), with Swift 6.4 for Android on 23 Nov 2026 02:00:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-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.4
Building package at path: $PWD
https://github.com/axisvela/praxo-core-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:8c75a76a95057fd39be8bfba32b7cf15b3a8a4b3b65299863763333672fd9e67
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-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...
[Provisioning 1 / 19]
[Pre-planning 1 / 530]
[Constructing 1 / 1047]
[83 / 155] PraxoCore
[92 / 164] PraxoCore
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: [1;33mwarning: [1;39mcapture 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m362 |[0;0m defer { semaphore.signal() }
[0;36m363 |[0;0m if let error {
[0;36m364 |[0;0m result = .failure(error)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m365 |[0;0m return
[0;36m366 |[0;0m }
Swift.Optional:1:21: [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric enum 'Optional' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m case none
[0;36m3 |[0;0m case some(Wrapped)
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:364:17: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m362 |[0;0m defer { semaphore.signal() }
[0;36m363 |[0;0m if let error {
[0;36m364 |[0;0m result = .failure(error)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m365 |[0;0m return
[0;36m366 |[0;0m }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:368:17: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m366 |[0;0m }
[0;36m367 |[0;0m guard let http = response as? HTTPURLResponse else {
[0;36m368 |[0;0m result = .failure(PraxoError("MCP_TRANSPORT", "mcp: invalid HTTP response"))
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m369 |[0;0m return
[0;36m370 |[0;0m }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/MCP.swift:371:13: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m369 |[0;0m return
[0;36m370 |[0;0m }
[0;36m371 |[0;0m result = .success((http.statusCode, http.allHeaderFields,
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m372 |[0;0m [93 / 164] PraxoCore
data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
[0;36m373 |[0;0m }.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[102 / 168]
[111 / 176] praxo-service-example-product
[118 / 180] PraxoCore
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:235:17: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m233 |[0;0m defer { semaphore.signal() }
[0;36m234 |[0;0m if let error = error {
[0;36m235 |[0;0m result = .failure(error)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m236 |[0;0m return
[0;36m237 |[0;0m }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:239:17: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m237 |[0;0m }
[0;36m238 |[0;0m guard let http = response as? HTTPURLResponse else {
[0;36m239 |[0;0m result = .failure(PraxoError("PROVIDER_HTTP", "provider response is not HTTP"))
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m240 |[0;0m return
[0;36m241 |[0;0m }
/host/spi-builder-workspace/Sources/PraxoCore/Adapters/OpenAICompatible.swift:243:13: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m241 |[0;0m }
[0;36m242 |[0;0m let body = data.flatMap { String(data: $0, encoding: .utf8) } ?? ""
[0;36m243 |[0;0m result = .success(ProviderHTTPResponse(statusCode: http.statusCode, body: body))
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m244 |[0;0m }
[0;36m245 |[0;0m task.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[120 / 180] praxo-service-example-product
[131 / 191] praxo-provider-fallback-example-product
[137 / 193] praxo-provider-fallback-example-product
[148 / 209] praxo-hitl-example-product
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/examples/live-model/live_model.swift:9:8: [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m7 |[0;0m import Glibc
[0;36m8 |[0;0m #else
[0;36m9 |[0;0m import Darwin
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m10 |[0;0m #endif
[0;36m11 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/examples/live-model/live_model.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name praxo_live_model_example -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/praxo-live-model-example_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/Modules/praxo_live_model_example.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/Modules/praxo_live_model_example.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/praxo-live-model-example-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/praxo-live-model-example-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PraxoCore.build/Debug-android-aarch64/praxo-live-model-example-p.build/Objects-normal/aarch64/Modules/praxo_live_model_example.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android