The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRWKV, reference v0.4.1 (5d37c5), with Swift 6.1 for Linux on 18 Nov 2026 18:06:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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/RafaelUI/SwiftRWKV.git
Reference: v0.4.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/RafaelUI/SwiftRWKV
 * tag               v0.4.1     -> FETCH_HEAD
HEAD is now at 5d37c55 README: 0.4.1 -- prefill продолжает состояние
Cloned https://github.com/RafaelUI/SwiftRWKV.git
Revision (git rev-parse @):
5d37c5561b74f65948573f68728092e9ef48baf3
SUCCESS checkout https://github.com/RafaelUI/SwiftRWKV.git at v0.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RafaelUI/SwiftRWKV.git
https://github.com/RafaelUI/SwiftRWKV.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/17756] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (2.90s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.29s)
Fetching https://github.com/apple/swift-numerics
[1/6861] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.72s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.96s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[0/192] Write sources
[17/192] Compiling _NumericsShims _NumericsShims.c
[18/192] Compiling version.cpp
[19/192] Compiling error.cpp
[20/192] Compiling utils.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/masked_mm.cpp:10:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
   17 | #include <cblas.h>
      |          ^~~~~~~~~
1 error generated.
[21/192] Compiling masked_mm.cpp
[21/192] Compiling random.cpp
[21/192] Compiling scheduler.cpp
[21/192] Compiling transforms.cpp
[21/192] Compiling fft.cpp
[21/192] Compiling device.cpp
[21/192] Compiling export.cpp
[21/192] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
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/171] Compiling no_gguf.cpp
[1/171] Compiling scheduler.cpp
[2/171] Write swift-version-24593BA9C3E375BF.txt
[3/182] Compiling linalg.cpp
[4/182] Compiling random.cpp
[6/182] Compiling RealModule RealFunctions.swift
[7/183] Compiling RealModule RelaxedArithmetic.swift
[8/183] Compiling RealModule ElementaryFunctions.swift
[9/183] Compiling RealModule Float+Real.swift
[10/183] Compiling RealModule Float80+Real.swift
[11/183] Compiling RealModule Float16+Real.swift
[12/183] Compiling RealModule Real.swift
[13/183] Compiling RealModule AlgebraicField.swift
[14/183] Compiling RealModule ApproximateEquality.swift
[15/183] Emitting module RealModule
[16/183] Compiling RealModule AugmentedArithmetic.swift
[17/183] Compiling RealModule Double+Real.swift
[18/184] Compiling transforms.cpp
[19/195] Compiling load.cpp
[21/195] Compiling ComplexModule Polar.swift
[22/196] Compiling ComplexModule Complex+StringConvertible.swift
[23/196] Compiling ComplexModule Complex+Numeric.swift
[23/196] Wrapping AST for RealModule for debugging
[25/196] Compiling ComplexModule Complex.swift
[26/196] Compiling ComplexModule Complex+Hashable.swift
[27/196] Compiling ComplexModule Complex+IntegerLiteral.swift
[28/196] Compiling ComplexModule Scale.swift
[28/196] Compiling primitives.cpp
[29/196] Compiling safetensors.cpp
[31/196] Compiling ComplexModule Complex+Codable.swift
[32/196] Compiling ComplexModule Complex+ElementaryFunctions.swift
[33/196] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[34/196] Compiling ComplexModule Complex+AlgebraicField.swift
[35/196] Emitting module ComplexModule
[35/197] Compiling graph_utils.cpp
[37/197] Compiling fft.cpp
[39/199] Compiling Numerics Numerics.swift
[40/199] Emitting module Numerics
[41/200] Wrapping AST for ComplexModule for debugging
[42/200] Wrapping AST for Numerics for debugging
[43/200] Compiling dtype.cpp
[44/200] Compiling utils.cpp
[45/200] Compiling dtype_utils.cpp
[46/200] Compiling no_ring.cpp
[47/200] Compiling fast.cpp
[48/200] Compiling no_nccl.cpp
[49/200] Compiling ops.cpp
[50/200] Compiling einsum.cpp
[51/200] Compiling device.cpp
[52/200] Compiling primitives.cpp
[53/200] Compiling no_mpi.cpp
[54/200] Compiling no_jaccl.cpp
[55/200] Compiling ops.cpp
[56/200] Compiling distributed.cpp
[57/200] Compiling device_info.cpp
[58/200] Compiling allocator.cpp
[59/200] Compiling fence.cpp
[60/200] Compiling eval.cpp
[61/200] Compiling threefry.cpp
[62/200] Compiling event.cpp
[63/200] Compiling primitives.cpp
[64/200] Compiling no_metal.cpp
[65/200] Compiling no_cuda.cpp
[66/200] Compiling compile.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/svd.cpp:6:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
   17 | #include <cblas.h>
      |          ^~~~~~~~~
1 error generated.
[67/200] Compiling svd.cpp
[67/200] Compiling softmax.cpp
[67/200] Compiling reduce.cpp
[67/200] Compiling sort.cpp
[67/200] Compiling unary.cpp
[67/200] Compiling select.cpp
[67/200] Compiling scan.cpp
[67/200] Compiling export.cpp
BUILD FAILURE 6.1 linux