The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LiteRTLM, reference v0.18.1 (bda624), with Swift 6.1 for Wasm on 20 Oct 2026 23:20:06 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build 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% (1301/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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/google-ai-edge/LiteRT-LM.git
https://github.com/google-ai-edge/LiteRT-LM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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
[16375/124129650] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip
[147200/169332025] Downloading https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip, https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM_mac.xcframework.zip (2.48s)
Downloaded https://github.com/google-ai-edge/LiteRT-LM/releases/download/v0.18.1/CLiteRTLM.xcframework.zip (2.89s)
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-24593BA9C3E375BF.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 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 |
[6/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 |
[7/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 |
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/swift/Benchmark.swift /host/spi-builder-workspace/swift/Config.swift -primary-file /host/spi-builder-workspace/swift/Conversation.swift -primary-file /host/spi-builder-workspace/swift/EmbeddingEngine.swift /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift /host/spi-builder-workspace/swift/Engine.swift /host/spi-builder-workspace/swift/ExperimentalFlags.swift /host/spi-builder-workspace/swift/LiteRTLMError.swift /host/spi-builder-workspace/swift/Message.swift /host/spi-builder-workspace/swift/ModelInfo.swift /host/spi-builder-workspace/swift/ResponseFormat.swift /host/spi-builder-workspace/swift/Tool.swift /host/spi-builder-workspace/swift/ToolManager.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name LiteRTLM -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1.3 (swift-6.1.3-RELEASE)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/swift/EmbeddingEngine.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(LiteRTLM.(file).EmbeddingEngine.computeEmbeddingBatch(contentsBatch:options:)@/host/spi-builder-workspace/swift/EmbeddingEngine.swift:207:15)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x00005d374a818ca8
1  swift-frontend 0x00005d374a816a7e
2  swift-frontend 0x00005d374a819348
3  libc.so.6      0x000076b283cf0330
4  swift-frontend 0x00005d3745d152b0
5  swift-frontend 0x00005d374583abc0
6  swift-frontend 0x00005d3745842231
7  swift-frontend 0x00005d3745cd10bb
8  swift-frontend 0x00005d3745ccdd0f
9  swift-frontend 0x00005d3745cc99ec
10 swift-frontend 0x00005d3745cd0719
11 swift-frontend 0x00005d3745cc97f2
12 swift-frontend 0x00005d3745cce175
13 swift-frontend 0x00005d3745cce5b8
14 swift-frontend 0x00005d3745cce24c
15 swift-frontend 0x00005d3745ccee87
16 swift-frontend 0x00005d3745cce24c
17 swift-frontend 0x00005d3745cc91b1
18 swift-frontend 0x00005d3745839328
19 swift-frontend 0x00005d37459273db
20 swift-frontend 0x00005d3745dc2d45
21 swift-frontend 0x00005d3745d3e1d3
22 swift-frontend 0x00005d3745e6a21c
23 swift-frontend 0x00005d3745963f79
24 swift-frontend 0x00005d3745965c4e
25 swift-frontend 0x00005d3745963e75
26 swift-frontend 0x00005d3744856789
27 swift-frontend 0x00005d37445ad19a
28 swift-frontend 0x00005d37445ac6d3
29 swift-frontend 0x00005d3744393869
30 libc.so.6      0x000076b283cd51ca
31 libc.so.6      0x000076b283cd528b __libc_start_main + 139
32 swift-frontend 0x00005d37443929b5
*** Signal 11: Backtracing from 0x5d3745d152b0... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000010 ***
Thread 0 "swift-frontend" crashed:
0  0x00005d3745d152b0 swift::CaptureInfo::getIsolatedParamCapture() const + 16 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00005d37864e7878  19 3c a1 85 37 5d 00 00 2b 01 ff ff 00 00 00 00  ·<¡·7]··+·ÿÿ····
rcx 0x00005d374583aba6  41 80 be 10 01 00 00 00 74 97 48 8b 43 20 48 89  A·¾·····t·H·C H·
rbx 0x00005d3700000001  102490804584449
rsi 0x00007fffcd2e32a0  00 00 00 00 00 00 00 00 1e de cc 45 37 5d 00 00  ·········ÞÌE7]··
rdi 0x00005d374bfda230  5e 09 86 f9 76 09 86 f9 5e 09 86 f9 5e 09 86 f9  ^··ùv··ù^··ù^··ù
rbp 0x0000000000000000  0
rsp 0x00007fffcd2e3270  78 78 4e 86 37 5d 00 00 78 78 4e 86 37 5d 00 00  xxN·7]··xxN·7]··
 r8 0xb720ee02e0cfe84c  13195808604324620364
 r9 0x0000000000000000  0
r10 0x00005d37864e7818  41 00 00 00 00 00 00 00 b0 4a f7 85 37 5d 00 00  A·······°J÷·7]··
r11 0x00005d37864e7980  b0 99 a1 85 37 5d 00 00 80 78 4e 86 37 5d 00 00  °·¡·7]···xN·7]··
r12 0x00005d37864e7878  19 3c a1 85 37 5d 00 00 2b 01 ff ff 00 00 00 00  ·<¡·7]··+·ÿÿ····
r13 0x00005d37864e7988  80 78 4e 86 37 5d 00 00 70 76 4e 86 37 5d 00 00  ·xN·7]··pvN·7]··
r14 0x0000000000000000  0
r15 0x00005d37864e7880  2b 01 ff ff 00 00 00 00 30 4b f7 85 37 5d 00 00  +·ÿÿ····0K÷·7]··
rip 0x00005d3745d152b0  45 8b 7e 10 4d 85 ff 0f 84 8f 00 00 00 49 c1 e7  E·~·M·ÿ······IÁç
rflags 0x0000000000010246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (26 omitted):
0x00005d3743ac4000–0x00005d374b6dc940 99fa61a85005b1209a9b8fa77237f728c41fc57c swift-frontend /usr/bin/swift-frontend
Backtrace took 0.32s
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/swift/device_tests': File not found.
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/MessageTests.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineTests.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/EngineTests.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ConversationTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/ModelInfoTests.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/MessageTests.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineTests.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/EngineTests.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ToolTests.swift
    /host/spi-builder-workspace/swift/ConversationTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineTests.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/EngineTests.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ToolTests.swift
    /host/spi-builder-workspace/swift/ConversationTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/ModelInfoTests.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/MessageTests.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineTests.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ToolTests.swift
    /host/spi-builder-workspace/swift/ConversationTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/ModelInfoTests.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/MessageTests.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/EngineTests.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ToolTests.swift
    /host/spi-builder-workspace/swift/ConversationTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/ModelInfoTests.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
warning: 'spi-builder-workspace': found 26 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/swift/ExperimentalFlags.swift
    /host/spi-builder-workspace/swift/ModelInfo.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift
    /host/spi-builder-workspace/swift/MessageTests.swift
    /host/spi-builder-workspace/swift/Info.plist
    /host/spi-builder-workspace/swift/apple_fm/CGImagePNG.swift
    /host/spi-builder-workspace/swift/apple_fm/BUILD
    /host/spi-builder-workspace/swift/Engine.swift
    /host/spi-builder-workspace/swift/EmbeddingEngineTests.swift
    /host/spi-builder-workspace/swift/LiteRTLMError.swift
    /host/spi-builder-workspace/swift/Tool.swift
    /host/spi-builder-workspace/swift/ToolManager.swift
    /host/spi-builder-workspace/swift/EngineTests.swift
    /host/spi-builder-workspace/swift/apple_fm/main.swift
    /host/spi-builder-workspace/swift/Config.swift
    /host/spi-builder-workspace/swift/BUILD
    /host/spi-builder-workspace/swift/apple_fm/LiteRTLanguageModel.swift
    /host/spi-builder-workspace/swift/EmbeddingEngine.swift
    /host/spi-builder-workspace/swift/ToolTests.swift
    /host/spi-builder-workspace/swift/Message.swift
    /host/spi-builder-workspace/swift/apple_fm/AdapterTests.swift
    /host/spi-builder-workspace/swift/Benchmark.swift
    /host/spi-builder-workspace/swift/ModelInfoTests.swift
    /host/spi-builder-workspace/swift/Conversation.swift
    /host/spi-builder-workspace/swift/ResponseFormat.swift
    /host/spi-builder-workspace/swift/apple_fm/LiteRTSegments.swift
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] 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 |
[3/14] 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 |
[4/15] 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 |
[5/15] 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 |
[6/15] 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/15] 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/15] 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 |
[9/15] 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 |
[10/15] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] 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 |
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/swift/Benchmark.swift /host/spi-builder-workspace/swift/Config.swift -primary-file /host/spi-builder-workspace/swift/Conversation.swift -primary-file /host/spi-builder-workspace/swift/EmbeddingEngine.swift /host/spi-builder-workspace/swift/EmbeddingEngineConfig.swift /host/spi-builder-workspace/swift/Engine.swift /host/spi-builder-workspace/swift/ExperimentalFlags.swift /host/spi-builder-workspace/swift/LiteRTLMError.swift /host/spi-builder-workspace/swift/Message.swift /host/spi-builder-workspace/swift/ModelInfo.swift /host/spi-builder-workspace/swift/ResponseFormat.swift /host/spi-builder-workspace/swift/Tool.swift /host/spi-builder-workspace/swift/ToolManager.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name LiteRTLM -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/Conversation.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/LiteRTLM.build/EmbeddingEngine.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1.3 (swift-6.1.3-RELEASE)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckSourceFileRequest(source_file "/host/spi-builder-workspace/swift/EmbeddingEngine.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(LiteRTLM.(file).EmbeddingEngine.computeEmbeddingBatch(contentsBatch:options:)@/host/spi-builder-workspace/swift/EmbeddingEngine.swift:207:15)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x0000592100e14ca8
1  swift-frontend 0x0000592100e12a7e
2  swift-frontend 0x0000592100e15348
3  libc.so.6      0x00007b4d67f21330
4  swift-frontend 0x00005920fc3112b0
5  swift-frontend 0x00005920fbe36bc0
6  swift-frontend 0x00005920fbe3e231
7  swift-frontend 0x00005920fc2cd0bb
8  swift-frontend 0x00005920fc2c9d0f
9  swift-frontend 0x00005920fc2c59ec
10 swift-frontend 0x00005920fc2cc719
11 swift-frontend 0x00005920fc2c57f2
12 swift-frontend 0x00005920fc2ca175
13 swift-frontend 0x00005920fc2ca5b8
14 swift-frontend 0x00005920fc2ca24c
15 swift-frontend 0x00005920fc2cae87
16 swift-frontend 0x00005920fc2ca24c
17 swift-frontend 0x00005920fc2c51b1
18 swift-frontend 0x00005920fbe35328
19 swift-frontend 0x00005920fbf233db
20 swift-frontend 0x00005920fc3bed45
21 swift-frontend 0x00005920fc33a1d3
22 swift-frontend 0x00005920fc46621c
23 swift-frontend 0x00005920fbf5ff79
24 swift-frontend 0x00005920fbf61c4e
25 swift-frontend 0x00005920fbf5fe75
26 swift-frontend 0x00005920fae52789
27 swift-frontend 0x00005920faba919a
28 swift-frontend 0x00005920faba86d3
29 swift-frontend 0x00005920fa98f869
30 libc.so.6      0x00007b4d67f061ca
31 libc.so.6      0x00007b4d67f0628b __libc_start_main + 139
32 swift-frontend 0x00005920fa98e9b5
*** Signal 11: Backtracing from 0x5920fc3112b0... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000010 ***
Thread 0 "swift-frontend" crashed:
0  0x00005920fc3112b0 swift::CaptureInfo::getIsolatedParamCapture() const + 16 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00005921077590c8  c9 61 cd 06 21 59 00 00 2b 01 ff ff 00 00 00 00  ÉaÍ·!Y··+·ÿÿ····
rcx 0x00005920fbe36ba6  41 80 be 10 01 00 00 00 74 97 48 8b 43 20 48 89  A·¾·····t·H·C H·
rbx 0x0000592100000001  bf 68 02 00 00 e8 95 ce 92 fa 49 89 c4 48 89 c7  ¿h···è·Î·úI·ÄH·Ç
rsi 0x00007ffea7073100  00 00 00 00 00 00 00 00 1e 9e 2c fc 20 59 00 00  ··········,ü Y··
rdi 0x00005921025d6230  5e 09 86 f9 76 09 86 f9 5e 09 86 f9 5e 09 86 f9  ^··ùv··ù^··ù^··ù
rbp 0x0000000000000000  0
rsp 0x00007ffea70730d0  c8 90 75 07 21 59 00 00 c8 90 75 07 21 59 00 00  È·u·!Y··È·u·!Y··
 r8 0x32805c0fc77dbed3  3639009721756532435
 r9 0x0000000000000000  0
r10 0x0000592107759068  41 00 00 00 00 00 00 00 e8 b8 20 07 21 59 00 00  A·······è¸ ·!Y··
r11 0x00005921077591d0  60 bf cd 06 21 59 00 00 d0 90 75 07 21 59 00 00  `¿Í·!Y··Ð·u·!Y··
r12 0x00005921077590c8  c9 61 cd 06 21 59 00 00 2b 01 ff ff 00 00 00 00  ÉaÍ·!Y··+·ÿÿ····
r13 0x00005921077591d8  d0 90 75 07 21 59 00 00 e0 8e 75 07 21 59 00 00  зu·!Y··à·u·!Y··
r14 0x0000000000000000  0
r15 0x00005921077590d0  2b 01 ff ff 00 00 00 00 68 b9 20 07 21 59 00 00  +·ÿÿ····h¹ ·!Y··
rip 0x00005920fc3112b0  45 8b 7e 10 4d 85 ff 0f 84 8f 00 00 00 49 c1 e7  E·~·M·ÿ······IÁç
rflags 0x0000000000010246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (26 omitted):
0x00005920fa0c0000–0x0000592101cd8940 99fa61a85005b1209a9b8fa77237f728c41fc57c swift-frontend /usr/bin/swift-frontend
Backtrace took 0.14s
BUILD FAILURE 6.1 wasm