Build Information
Failed to build LiteRTLM, reference v0.18.1 (bda624), with Swift 6.2 for Android on 20 Oct 2026 23:27:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google-ai-edge/LiteRT-LM.git
Reference: v0.18.1
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/google-ai-edge/LiteRT-LM
* tag v0.18.1 -> FETCH_HEAD
HEAD is now at bda6248 Update LiteRT-LM Swift package to v0.18.1.
Updating files: 79% (1294/1628)
Updating files: 79% (1302/1628)
Updating files: 80% (1303/1628)
Updating files: 81% (1319/1628)
Updating files: 82% (1335/1628)
Updating files: 83% (1352/1628)
Updating files: 84% (1368/1628)
Updating files: 85% (1384/1628)
Updating files: 86% (1401/1628)
Updating files: 87% (1417/1628)
Updating files: 88% (1433/1628)
Updating files: 89% (1449/1628)
Updating files: 90% (1466/1628)
Updating files: 91% (1482/1628)
Updating files: 92% (1498/1628)
Updating files: 93% (1515/1628)
Updating files: 94% (1531/1628)
Updating files: 95% (1547/1628)
Updating files: 96% (1563/1628)
Updating files: 97% (1580/1628)
Updating files: 98% (1596/1628)
Updating files: 99% (1612/1628)
Updating files: 100% (1628/1628)
Updating files: 100% (1628/1628), done.
Cloned https://github.com/google-ai-edge/LiteRT-LM.git
Revision (git rev-parse @):
bda624851d74be34d4e1f7fac1fc4155939539c7
SUCCESS checkout https://github.com/google-ai-edge/LiteRT-LM.git at v0.18.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/google-ai-edge/LiteRT-LM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-1":/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:d84c435a77e30f1b4b40344b42d2ce7e8dc33d04eebdaebfb0e2bc42b4ff2af5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Downloading binary artifact https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip
Downloading binary artifact https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip
[828/45202375] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip
[23764/169332025] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip, https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip (2.34s)
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip (3.11s)
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/swift/device_tests': File not found.
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Emitting module LiteRTLM
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[5/17] Compiling LiteRTLM Tool.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[6/17] Compiling LiteRTLM ExperimentalFlags.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[7/17] Compiling LiteRTLM LiteRTLMError.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[8/17] Compiling LiteRTLM EmbeddingEngineConfig.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[9/17] Compiling LiteRTLM Engine.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[10/17] Compiling LiteRTLM ResponseFormat.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[11/17] Compiling LiteRTLM Message.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[12/17] Compiling LiteRTLM ModelInfo.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[13/17] Compiling LiteRTLM Conversation.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[14/17] Compiling LiteRTLM EmbeddingEngine.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[15/17] Compiling LiteRTLM Benchmark.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[16/17] Compiling LiteRTLM Config.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
[17/17] Compiling LiteRTLM ToolManager.swift
/host/spi-builder-workspace/swift/Benchmark.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
| `- error: no such module 'OSLog'
17 | import CLiteRTLM
18 |
BUILD FAILURE 6.2 android