The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LiteRTLM, reference v0.19.1 (7a0372), with Swift 6.2 for Wasm on 6 Nov 2026 05:36:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google-ai-edge/LiteRT-LM.git
Reference: v0.19.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.19.1    -> FETCH_HEAD
HEAD is now at 7a03724 Update LiteRT-LM Swift package binaries to v0.19.1.
Updating files:  85% (1522/1784)
Updating files:  85% (1530/1784)
Updating files:  86% (1535/1784)
Updating files:  87% (1553/1784)
Updating files:  88% (1570/1784)
Updating files:  89% (1588/1784)
Updating files:  90% (1606/1784)
Updating files:  91% (1624/1784)
Updating files:  92% (1642/1784)
Updating files:  93% (1660/1784)
Updating files:  94% (1677/1784)
Updating files:  95% (1695/1784)
Updating files:  96% (1713/1784)
Updating files:  97% (1731/1784)
Updating files:  98% (1749/1784)
Updating files:  99% (1767/1784)
Updating files: 100% (1784/1784)
Updating files: 100% (1784/1784), done.
Cloned https://github.com/google-ai-edge/LiteRT-LM.git
Revision (git rev-parse @):
7a03724cece417f1724c923b3d527b4319730841
SUCCESS checkout https://github.com/google-ai-edge/LiteRT-LM.git at v0.19.1
========================================
Build
========================================
Selected platform:         wasm
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-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Downloading binary artifact https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM_mac.xcframework.zip
Downloading binary artifact https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM.xcframework.zip
[16375/95798488] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM.xcframework.zip
[130166/142776082] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM.xcframework.zip, https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM_mac.xcframework.zip
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM.xcframework.zip (2.35s)
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.19.1/CLiteRTLM_mac.xcframework.zip (2.65s)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] 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 |
[5/16] 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 |
[6/16] 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 |
[7/16] 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 |
[8/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 |
[9/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] 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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[16/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 |
[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 wasm