The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRWKV, reference main (dfe65d), with Swift 6.3 for Android on 24 Oct 2026 12:44:55 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RafaelUI/SwiftRWKV.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/RafaelUI/SwiftRWKV
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dfe65d4 docs/Embedding.md, «Evaluation»: пул оценки retrieval (2N) и слияние одинаковых кандидатов -- когда нужно и почему (dedupeCandidates / dedupeEvaluationPool / --dedupe-pool).
Cloned https://github.com/RafaelUI/SwiftRWKV.git
Revision (git rev-parse @):
dfe65d456647a0b62dfbe8780e9cb302a9dfa8d2
SUCCESS checkout https://github.com/RafaelUI/SwiftRWKV.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RafaelUI/SwiftRWKV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:1259d966e40d034d138a282ea8b980b108763342a7ff8ac7ef483c73e99068f3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/17488] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (1.48s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.32.3 (1.72s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
[6757/26053] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (0.82s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.97s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.32.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
[0/9] Write sources
[3/9] Write swift-version-272D24FF697CF451.txt
[5/11] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Emitting module ArgumentParser
[10/65] Compiling ArgumentParser Name.swift
[11/65] Compiling ArgumentParser Parsed.swift
[12/65] Compiling ArgumentParser ParsedValues.swift
[13/65] Compiling ArgumentParser ParserError.swift
[14/65] Compiling ArgumentParser SplitArguments.swift
[15/65] Compiling ArgumentParser DumpHelpGenerator.swift
[16/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[17/65] Compiling ArgumentParser CodingKeyValidator.swift
[18/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[19/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[20/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[21/65] Compiling ArgumentParser UniqueNamesValidator.swift
[22/65] Compiling ArgumentParser Mutex.swift
[23/65] Compiling ArgumentParser Platform.swift
[24/65] Compiling ArgumentParser SequenceExtensions.swift
[25/65] Compiling ArgumentParser StringExtensions.swift
[26/65] Compiling ArgumentParser SwiftExtensions.swift
[27/65] Compiling ArgumentParser Tree.swift
[28/65] Compiling ArgumentParser ParentCommand.swift
[29/65] Compiling ArgumentParser AsyncParsableCommand.swift
[30/65] Compiling ArgumentParser CommandConfiguration.swift
[31/65] Compiling ArgumentParser CommandGroup.swift
[32/65] Compiling ArgumentParser EnumerableFlag.swift
[33/65] Compiling ArgumentParser ExpressibleByArgument.swift
[34/65] Compiling ArgumentParser ParsableArguments.swift
[35/65] Compiling ArgumentParser ArgumentVisibility.swift
[36/65] Compiling ArgumentParser CompletionKind.swift
[37/65] Compiling ArgumentParser Errors.swift
[38/65] Compiling ArgumentParser Flag.swift
[39/65] Compiling ArgumentParser NameSpecification.swift
[40/65] Compiling ArgumentParser Option.swift
[41/65] Compiling ArgumentParser OptionGroup.swift
[42/65] Compiling ArgumentParser HelpCommand.swift
[43/65] Compiling ArgumentParser HelpGenerator.swift
[44/65] Compiling ArgumentParser MessageInfo.swift
[45/65] Compiling ArgumentParser UsageGenerator.swift
[46/65] Compiling ArgumentParser CollectionExtensions.swift
[47/65] Compiling ArgumentParser Foundation.swift
[48/65] Compiling ArgumentParser ParsableCommand.swift
[49/65] Compiling ArgumentParser ArgumentDecoder.swift
[50/65] Compiling ArgumentParser ArgumentDefinition.swift
[51/65] Compiling ArgumentParser ArgumentSet.swift
[52/65] Compiling ArgumentParser CommandParser.swift
[53/65] Compiling ArgumentParser InputKey.swift
[54/65] Compiling ArgumentParser InputOrigin.swift
[55/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/65] Compiling ArgumentParser CompletionsGenerator.swift
[57/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[59/65] Compiling ArgumentParser Argument.swift
[60/65] Compiling ArgumentParser ArgumentDiscussion.swift
[61/65] Compiling ArgumentParser ArgumentHelp.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-error.swift
[66/72] Compiling encuda encuda-compile.swift
[67/72] Compiling encuda encuda-link.swift
[68/72] Emitting module encuda
[69/72] Compiling encuda encuda-utils.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
[1/1] Compiling plugin CudaBuild
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/426] Write sources
[22/426] Compiling _NumericsShims _NumericsShims.c
[22/426] Compiling cLogSupport cLogSupport.c
[24/426] Compiling version.cpp
[25/426] Write swift-version-272D24FF697CF451.txt
[26/426] Compiling utils.cpp
[27/435] Compiling stream.cpp
[28/437] Compiling scheduler.cpp
[29/437] Wrapping AST for encuda for debugging
[30/437] Wrapping AST for ArgumentParserToolInfo for debugging
[31/437] Wrapping AST for ArgumentParser for debugging
[32/437] Compiling linalg.cpp
[32/437] Write Objects.LinkFileList
[34/437] Compiling random.cpp
[35/437] Linking encuda-tool
[37/437] Compiling RealModule RealFunctions.swift
[38/438] Compiling RealModule RelaxedArithmetic.swift
[39/438] Compiling RealModule Float16+Real.swift
[40/438] Compiling RealModule Real.swift
[40/438] Compiling no_gguf.cpp
[42/438] Emitting module RealModule
[43/438] Compiling RealModule AugmentedArithmetic.swift
[44/438] Compiling RealModule Double+Real.swift
[45/438] Compiling RealModule AlgebraicField.swift
[46/438] Compiling RealModule ApproximateEquality.swift
[47/438] Compiling RealModule ElementaryFunctions.swift
[48/438] Compiling RealModule Float+Real.swift
[49/438] Compiling RealModule Float80+Real.swift
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x785d10bafd71... done ***
*** Program crashed: Illegal instruction at 0x0000785d10bafd71 ***
Platform: x86_64 Linux (Ubuntu 24.04.5 LTS)
Thread 0 "encuda-tool" crashed:
  0               0x0000785d10bafd71 _assertionFailure(_:_:file:line:flags:) + 225 in libswiftCore.so
  1 [ra]          0x00006173145ffac1 Encuda.Compile.run() + 1472 in encuda-tool at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda-compile.swift:55:21
  2 [ra] [thunk]  0x00006173145fb86d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda-tool at //<compiler-generated>
  3 [ra]          0x000061731459e425 static ParsableCommand.main(_:) + 532 in encuda-tool at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:161:19
  4 [ra]          0x000061731459ed57 static ParsableCommand.main() + 38 in encuda-tool at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:178:10
  5 [ra] [system] 0x000061731460d33e static Encuda.$main() + 29 in encuda-tool at //<compiler-generated>
  6 [ra] [system] 0x000061731460d449 encuda_main + 8 in encuda-tool at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda.swift
  7 [ra]          0x0000785d0f4101ca <unknown> in libc.so.6
  8 [ra]          0x0000785d0f41028b <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000001  1
rbx 0x000000061731b1b9  26158936505
rsi 0x8000646e756f6620  9223482462434190880
rdi 0x000061731b1b9fa0  00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00  ········1·······
rbp 0x00007ffe16fe8490  50 91 fe 16 fe 7f 00 00 c1 fa 5f 14 73 61 00 00  P·þ·þ···Áú_·sa··
rsp 0x00007ffe16fe8420  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x000061731b1a7010  07 00 01 00 07 00 06 00 07 00 03 00 04 00 05 00  ················
 r9 0x0000000000000007  7
r10 0x000061731b1b9fb0  b9 b1 31 17 06 00 00 00 a0 f1 6f 11 61 63 47 4f  ¹±1····· ño·acGO
r11 0x4f476361116ff1a0  5712643920898290080
r12 0x0000000000000000  0
r13 0x00007ffe16fe8e48  20 52 fe 16 fe 7f 00 00 00 00 00 00 00 00 00 00   Rþ·þ···········
r14 0x000061731465bb50  b8 a4 66 14 73 61 00 00 10 b8 66 14 73 61 00 00  ¸¤f·sa···¸f·sa··
r15 0x0000785d1104b000  e0 c2 04 11 5d 78 00 00 16 00 00 00 00 00 00 00  à··]x··········
rip 0x0000785d10bafd71  0f 0b 48 83 ec 08 48 8d 05 c2 be 30 00 48 8d 3d  ··H·ì·H··Â¾0·H·=
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (18 omitted):
0x00006173144ae000–0x000061731465a190 b795e72286b284d340dbc28c43dff0e44d568f22 encuda-tool     /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/encuda-tool
0x0000785d0f3e6000–0x0000785d0f596039 a4a7992a8e66555c8141ab2a08a8465ff6e0ea65 libc.so.6       /usr/lib/x86_64-linux-gnu/libc.so.6
0x0000785d108b7000–0x0000785d10e8a470 7338a3c81c5415f0377dee2eec7895c59ddff670 libswiftCore.so /root/.local/share/swiftly/toolchains/6.3.2/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.05s
[49/439] Compiling ternary.cu to ternary.cpp
[49/439] Compiling graph_utils.cpp
[49/439] Compiling primitives.cpp
[49/439] Compiling safetensors.cpp
[49/439] Compiling load.cpp
[49/439] Compiling transforms.cpp
[49/439] Compiling ops.cpp
BUILD FAILURE 6.3 android