The Swift Package Index logo.Swift Package Index

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>&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: 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: 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
372 |                           [93 / 164] PraxoCore
     data.map { String(decoding: $0, as: UTF8.self) } ?? ""))
373 |         }.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: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
244 |         }
245 |         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: error: no such module 'Darwin'
  7 | import Glibc
  8 | #else
  9 | import Darwin
    |        `- error: no such module 'Darwin'
 10 | #endif
 11 |
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