Build Information
Failed to build alpaca.swift, reference v0.2.0 (ea14b3), with Swift 6.2 for Wasm on 12 Nov 2026 05:10:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/torinriley/alpaca.git
Reference: v0.2.0
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/torinriley/alpaca
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at ea14b34 Merge pull request #8 from torinriley/cursor/launch-polish-e2a0
Cloned https://github.com/torinriley/alpaca.git
Revision (git rev-parse @):
ea14b34d99a2a20377c4f52783ab3c7df27c93ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/torinriley/alpaca.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/torinriley/alpaca.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:c060230b7064a851436b23425f977124baa85fecd3eee34dd1bad48fb18dc4fb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/20] Write sources
[7/20] Copying Kernels
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/36] Compiling AlpacaCore MemoryBudget.swift
/host/spi-builder-workspace/Sources/AlpacaCore/Operations/CPUOps.swift:94:13: error: cannot find 'DispatchQueue' in scope
92 | let chunks = (n + rowsPerChunk - 1) / rowsPerChunk
93 | for t in 0..<m {
94 | DispatchQueue.concurrentPerform(iterations: chunks) { chunk in
| `- error: cannot find 'DispatchQueue' in scope
95 | let x = shared.x + t * k
96 | for r in (chunk * rowsPerChunk)..<min(n, (chunk + 1) * rowsPerChunk) {
[11/36] Compiling AlpacaCore CPUOps.swift
/host/spi-builder-workspace/Sources/AlpacaCore/Operations/CPUOps.swift:94:13: error: cannot find 'DispatchQueue' in scope
92 | let chunks = (n + rowsPerChunk - 1) / rowsPerChunk
93 | for t in 0..<m {
94 | DispatchQueue.concurrentPerform(iterations: chunks) { chunk in
| `- error: cannot find 'DispatchQueue' in scope
95 | let x = shared.x + t * k
96 | for r in (chunk * rowsPerChunk)..<min(n, (chunk + 1) * rowsPerChunk) {
[12/37] Compiling AlpacaCore Quantization.swift
[13/37] Compiling AlpacaCore ErrorMetrics.swift
[14/37] Emitting module AlpacaCore
[15/37] Compiling AlpacaCore LlamaCPUModel.swift
[16/37] Compiling AlpacaCore LlamaConfig.swift
[17/37] Compiling AlpacaCore Sampler.swift
[18/37] Compiling AlpacaCore DType.swift
[19/37] Compiling AlpacaCore Tensor.swift
[20/37] Compiling AlpacaCore TensorError.swift
[21/37] Compiling AlpacaCore TensorStorage.swift
[22/37] Compiling AlpacaCore KVCache.swift
[23/37] Emitting module AlpacaTokenizers
[24/37] Compiling AlpacaTokenizers ByteLevel.swift
[25/37] Compiling AlpacaTokenizers BPETokenizer.swift
[26/38] Wrapping AST for AlpacaTokenizers for debugging
[28/38] Compiling AlpacaCore LlamaWeights.swift
BUILD FAILURE 6.2 wasm