The Swift Package Index logo.Swift Package Index

Build Information

Failed to build alpaca.swift, reference v0.1.0 (e89aff), with Swift 6.3 for Linux on 3 Nov 2026 06:37:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/torinriley/alpaca.git
Reference: v0.1.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.1.0     -> FETCH_HEAD
HEAD is now at e89affe Prepare 0.1.0: install via version tag, citation metadata, changelog, release notes
Cloned https://github.com/torinriley/alpaca.git
Revision (git rev-parse @):
e89affe14b1576f47856f1a1a9472f2f17a8e3bf
SUCCESS checkout https://github.com/torinriley/alpaca.git at v0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/torinriley/alpaca.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:caade26a8dd5b9e237c5c17486feb4a843d699145c768feadca9f1b811831234
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/16] Copying Kernels
[1/16] Write sources
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/32] Emitting module AlpacaCore
[10/33] Compiling AlpacaCore LlamaWeights.swift
[11/33] Compiling AlpacaTokenizers ByteLevel.swift
[12/33] Compiling AlpacaCore LlamaConfig.swift
[13/33] Compiling AlpacaCore TensorStorage.swift
[14/33] Compiling AlpacaCore KVCache.swift
[15/33] Compiling AlpacaCore Tensor.swift
[16/33] Compiling AlpacaCore TensorError.swift
[17/33] Compiling AlpacaCore LlamaCPUModel.swift
[18/33] Compiling AlpacaCore Quantization.swift
[19/33] Compiling AlpacaCore ErrorMetrics.swift
[20/33] Compiling AlpacaCore Sampler.swift
[21/33] Compiling AlpacaCore DType.swift
[22/33] Emitting module AlpacaTokenizers
[23/33] Compiling AlpacaTokenizers BPETokenizer.swift
[25/34] Compiling AlpacaCore MemoryBudget.swift
[26/34] Compiling AlpacaCore CPUOps.swift
[27/35] Wrapping AST for AlpacaTokenizers for debugging
[28/35] Wrapping AST for AlpacaCore for debugging
[30/48] Compiling AlpacaMetal resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
[31/48] Compiling AlpacaModels LlamaLoader.swift
[32/48] Compiling AlpacaModels GGUFTypes.swift
[33/48] Compiling AlpacaModels ByteReader.swift
[34/48] Compiling AlpacaModels GGUFTokenizer.swift
[35/48] Compiling AlpacaMetal MetalOps.swift
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
[36/48] Compiling AlpacaModels GGUFFile.swift
[37/48] Emitting module AlpacaModels
[38/48] Compiling AlpacaModels GGUFError.swift
[39/49] Wrapping AST for AlpacaModels for debugging
[41/49] Compiling AlpacaMetal MetalLlamaModel.swift
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/49] Emitting module AlpacaMetal
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
[43/49] Compiling AlpacaMetal KernelEncoder.swift
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
[44/49] Compiling AlpacaMetal MetalContext.swift
/host/spi-builder-workspace/Sources/AlpacaMetal/Backend/KernelEncoder.swift:5:8: error: no such module 'Metal'
  3 |
  4 | import Foundation
  5 | import Metal
    |        `- error: no such module 'Metal'
  6 | import AlpacaCore
  7 |
BUILD FAILURE 6.3 linux