The Swift Package Index logo.Swift Package Index

Build Information

Failed to build alpaca.swift, reference main (6aebb2), with Swift 6.1 for Linux on 3 Nov 2026 06:05:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:linux-6.1-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6aebb2e Merge pull request #7 from torinriley/perf/gemm-scaling
Cloned https://github.com/torinriley/alpaca.git
Revision (git rev-parse @):
6aebb2ed5017291c5ce71f9c8ba231bd444e764e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/torinriley/alpaca.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/torinriley/alpaca.git
https://github.com/torinriley/alpaca.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b6bfb4c5da2c5a0e111d7eb0c087cb4f5887cce9a34b7779faa557952c747cfc
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/20] Write sources
[7/20] Copying Kernels
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/36] Compiling AlpacaCore LlamaConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/37] Compiling AlpacaCore LlamaWeights.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/37] Emitting module AlpacaTokenizers
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/37] Compiling AlpacaTokenizers ByteLevel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/37] Compiling AlpacaTokenizers BPETokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/38] Compiling AlpacaCore Sampler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/38] Compiling AlpacaCore DType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/38] Compiling AlpacaCore MemoryBudget.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/38] Compiling AlpacaCore CPUOps.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/38] Compiling AlpacaCore Quantization.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/38] Compiling AlpacaCore ErrorMetrics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/38] Emitting module AlpacaCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/38] Compiling AlpacaCore Tensor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[23/38] Compiling AlpacaCore TensorError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[24/38] Compiling AlpacaCore LlamaCPUModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/38] Compiling AlpacaCore TensorStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/38] Compiling AlpacaCore KVCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/39] Wrapping AST for AlpacaTokenizers for debugging
[29/39] Wrapping AST for AlpacaCore for debugging
[31/52] Compiling AlpacaMetal resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[32/52] Compiling AlpacaModels GGUFError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/52] Emitting module AlpacaModels
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/52] Compiling AlpacaMetal MetalOps.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[35/52] Compiling AlpacaModels GGUFTokenizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[36/52] Compiling AlpacaModels LlamaLoader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/52] Compiling AlpacaModels GGUFTypes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/52] Compiling AlpacaModels ByteReader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/52] Compiling AlpacaModels GGUFFile.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/53] Wrapping AST for AlpacaModels for debugging
[42/53] Compiling AlpacaMetal MetalContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/53] Compiling AlpacaMetal MetalLlamaModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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)
[44/53] Emitting module AlpacaMetal
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[45/53] Compiling AlpacaMetal KernelEncoder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b6bfb4c5da2c5a0e111d7eb0c087cb4f5887cce9a34b7779faa557952c747cfc
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling AlpacaCore LlamaCPUModel.swift
[3/29] Compiling AlpacaCore LlamaConfig.swift
[4/29] Compiling AlpacaCore TensorStorage.swift
[5/29] Compiling AlpacaCore KVCache.swift
[6/29] Compiling AlpacaCore Sampler.swift
[7/29] Compiling AlpacaCore DType.swift
[8/29] Compiling AlpacaCore Tensor.swift
[9/29] Compiling AlpacaCore TensorError.swift
[10/29] Compiling AlpacaCore Quantization.swift
[11/29] Compiling AlpacaCore ErrorMetrics.swift
[12/29] Compiling AlpacaCore LlamaWeights.swift
[13/29] Compiling AlpacaTokenizers ByteLevel.swift
[14/29] Compiling AlpacaTokenizers BPETokenizer.swift
[15/29] Emitting module AlpacaTokenizers
[17/29] Compiling AlpacaCore MemoryBudget.swift
[18/29] Compiling AlpacaCore CPUOps.swift
[19/29] Emitting module AlpacaCore
[21/42] 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 |
[22/42] Emitting module AlpacaModels
[23/42] Compiling AlpacaModels GGUFFile.swift
[24/42] Compiling AlpacaModels ByteReader.swift
[25/42] Compiling AlpacaModels GGUFTypes.swift
[26/42] Compiling AlpacaModels GGUFError.swift
[27/42] Compiling AlpacaModels LlamaLoader.swift
[28/42] Compiling AlpacaModels GGUFTokenizer.swift
[29/43] 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 |
[31/42] 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 |
[32/42] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/42] 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 |
[34/42] 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 |
BUILD FAILURE 6.1 linux