Build Information
Failed to build mlx-swift, reference 0.31.7 (12e329), with Swift 6.3 for Android on 16 Oct 2026 02:51:57 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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/mlx-swift.git
Reference: 0.31.7
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/drewster99/mlx-swift
* tag 0.31.7 -> FETCH_HEAD
HEAD is now at 12e329a Use MLX core fix for empty Metal bindings
Submodule path 'Source/Cmlx/mlx': checked out '547a41ce71f1b24f8dbf0f66db923fe80aa01602'
Submodule path 'Source/Cmlx/mlx-c': checked out '0726ca922fc902c4c61ef9c27d94132be418e945'
Submodule 'submodules/mlx' (https://github.com/drewster99/mlx) registered for path 'Source/Cmlx/mlx'
Submodule 'submodules/mlx-c' (https://github.com/ml-explore/mlx-c) registered for path 'Source/Cmlx/mlx-c'
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx'...
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx-c'...
Cloned https://github.com/drewster99/mlx-swift.git
Revision (git rev-parse @):
12e329a6dcb281010d800535d7a42fd67c8602cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/mlx-swift.git at 0.31.7
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/drewster99/mlx-swift.git
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: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:ec170ed262d75c9e928493cd00a486dad2d4f04db1b55d884efec7db42d0226b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/19114] Fetching swift-argument-parser
[575/25870] Fetching swift-argument-parser, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.13s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.14s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.30s)
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/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] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/11] Emitting module ArgumentParserToolInfo
[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 BashCompletionsGenerator.swift
[17/65] Compiling ArgumentParser CompletionsGenerator.swift
[18/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[19/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/65] Compiling ArgumentParser Argument.swift
[21/65] Compiling ArgumentParser ArgumentDiscussion.swift
[22/65] Compiling ArgumentParser ArgumentHelp.swift
[23/65] Compiling ArgumentParser ArgumentVisibility.swift
[24/65] Compiling ArgumentParser CompletionKind.swift
[25/65] Compiling ArgumentParser Errors.swift
[26/65] Compiling ArgumentParser Flag.swift
[27/65] Compiling ArgumentParser NameSpecification.swift
[28/65] Compiling ArgumentParser Option.swift
[29/65] Compiling ArgumentParser OptionGroup.swift
[30/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[31/65] Compiling ArgumentParser CodingKeyValidator.swift
[32/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[33/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[35/65] Compiling ArgumentParser UniqueNamesValidator.swift
[36/65] Compiling ArgumentParser Mutex.swift
[37/65] Compiling ArgumentParser Platform.swift
[38/65] Compiling ArgumentParser SequenceExtensions.swift
[39/65] Compiling ArgumentParser StringExtensions.swift
[40/65] Compiling ArgumentParser SwiftExtensions.swift
[41/65] Compiling ArgumentParser Tree.swift
[42/65] Compiling ArgumentParser ParentCommand.swift
[43/65] Compiling ArgumentParser AsyncParsableCommand.swift
[44/65] Compiling ArgumentParser CommandConfiguration.swift
[45/65] Compiling ArgumentParser CommandGroup.swift
[46/65] Compiling ArgumentParser EnumerableFlag.swift
[47/65] Compiling ArgumentParser ExpressibleByArgument.swift
[48/65] Compiling ArgumentParser ParsableArguments.swift
[49/65] Compiling ArgumentParser HelpCommand.swift
[50/65] Compiling ArgumentParser HelpGenerator.swift
[51/65] Compiling ArgumentParser MessageInfo.swift
[52/65] Compiling ArgumentParser UsageGenerator.swift
[53/65] Compiling ArgumentParser CollectionExtensions.swift
[54/65] Compiling ArgumentParser Foundation.swift
[55/65] Compiling ArgumentParser ParsableCommand.swift
[56/65] Compiling ArgumentParser ArgumentDecoder.swift
[57/65] Compiling ArgumentParser ArgumentDefinition.swift
[58/65] Compiling ArgumentParser ArgumentSet.swift
[59/65] Compiling ArgumentParser CommandParser.swift
[60/65] Compiling ArgumentParser InputKey.swift
[61/65] Compiling ArgumentParser InputOrigin.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-utils.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-error.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
[1/1] Compiling plugin CudaBuild
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/412] Write sources
[10/412] Compiling _NumericsShims _NumericsShims.c
[11/412] Compiling gemm_nax.cpp
[12/412] Write sources
[23/412] Compiling version.cpp
[24/412] Write swift-version-272D24FF697CF451.txt
[25/423] Compiling utils.cpp
[27/424] Emitting module ArgumentParserToolInfo
[28/425] Compiling scheduler.cpp
[30/425] Compiling RealModule ElementaryFunctions.swift
[31/425] Compiling RealModule Float+Real.swift
[32/425] Compiling RealModule Float16+Real.swift
[32/426] Wrapping AST for ArgumentParserToolInfo for debugging
[34/426] Compiling RealModule RelaxedArithmetic.swift
[34/426] Wrapping AST for encuda for debugging
[35/426] Wrapping AST for ArgumentParser for debugging
[37/426] Compiling RealModule RealFunctions.swift
[38/426] Compiling RealModule Real.swift
[39/426] Compiling RealModule Float80+Real.swift
[39/426] Compiling string.cpp
[40/426] Write Objects.LinkFileList
[42/426] Compiling RealModule AlgebraicField.swift
[43/426] Compiling RealModule ApproximateEquality.swift
[44/426] Compiling RealModule AugmentedArithmetic.swift
[45/426] Compiling RealModule Double+Real.swift
[46/426] Emitting module RealModule
[46/427] Compiling stream.cpp
[48/427] Linking encuda-tool
[49/427] Compiling transforms.cpp
[50/427] Compiling transforms_impl.cpp
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x7caf43406d71... done ***
*** Program crashed: Illegal instruction at 0x00007caf43406d71 ***
Platform: x86_64 Linux (Ubuntu 24.04.5 LTS)
Thread 0 "encuda-tool" crashed:
0 0x00007caf43406d71 _assertionFailure(_:_:file:line:flags:) + 225 in libswiftCore.so
1 [ra] 0x000056f8e3f2b988 Encuda.Compile.run() + 1415 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda-compile.swift:55:21
2 [ra] [thunk] 0x000056f8e3f2776d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda-tool at //<compiler-generated>
3 [ra] 0x000056f8e3eca325 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] 0x000056f8e3ecac57 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] 0x000056f8e3f3903e static Encuda.$main() + 29 in encuda-tool at //<compiler-generated>
6 [ra] [system] 0x000056f8e3f39149 encuda_main + 8 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda.swift
7 [ra] 0x00007caf41c671ca <unknown> in libc.so.6
8 [ra] 0x00007caf41c6728b <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000001 1
rbx 0x000000056f90594a 23346567498
rsi 0x8000646e756f6620 9223482462434190880
rdi 0x000056f90594afa0 00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 ········1·······
rbp 0x00007ffe0e198c50 10 99 19 0e fe 7f 00 00 88 b9 f2 e3 f8 56 00 00 ····þ····¹òãøV··
rsp 0x00007ffe0e198be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000056f905938010 07 00 01 00 07 00 06 00 07 00 03 00 04 00 05 00 ················
r9 0x0000000000000007 7
r10 0x000056f90594afb0 4a 59 90 6f 05 00 00 00 fd 0a 62 cb 30 79 d2 5d JY·o····ý·bË0yÒ]
r11 0x5dd27930cb620afd 6760599241114127101
r12 0x0000000000000000 0
r13 0x00007ffe0e199608 e0 59 19 0e fe 7f 00 00 00 00 00 00 00 00 00 00 àY··þ···········
r14 0x000056f8e3f87b50 98 64 f9 e3 f8 56 00 00 f0 77 f9 e3 f8 56 00 00 ·dùãøV··ðwùãøV··
r15 0x00007caf438a2000 e0 32 8a 43 af 7c 00 00 16 00 00 00 00 00 00 00 à2·C¯|··········
rip 0x00007caf43406d71 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):
0x000056f8e3dda000–0x000056f8e3f85e10 06e67a695c81b62edd5d56c45c083860483b7940 encuda-tool /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/encuda-tool
0x00007caf41c3d000–0x00007caf41ded039 a4a7992a8e66555c8141ab2a08a8465ff6e0ea65 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007caf4310e000–0x00007caf436e1470 7338a3c81c5415f0377dee2eec7895c59ddff670 libswiftCore.so /root/.local/share/swiftly/toolchains/6.3.2/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.06s
[51/427] Compiling ternary.cu to ternary.cpp
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x7f1da99b3d71... done ***
*** Program crashed: Illegal instruction at 0x00007f1da99b3d71 ***
Platform: x86_64 Linux (Ubuntu 24.04.5 LTS)
Thread 0 "encuda-tool" crashed:
0 0x00007f1da99b3d71 _assertionFailure(_:_:file:line:flags:) + 225 in libswiftCore.so
1 [ra] 0x000058e54b161988 Encuda.Compile.run() + 1415 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda-compile.swift:55:21
2 [ra] [thunk] 0x000058e54b15d76d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda-tool at //<compiler-generated>
3 [ra] 0x000058e54b100325 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] 0x000058e54b100c57 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] 0x000058e54b16f03e static Encuda.$main() + 29 in encuda-tool at //<compiler-generated>
6 [ra] [system] 0x000058e54b16f149 encuda_main + 8 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda.swift
7 [ra] 0x00007f1da82141ca <unknown> in libc.so.6
8 [ra] 0x00007f1da821428b <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000001 1
rbx 0x000000058e5788f5 23862937845
rsi 0x8000646e756f6620 9223482462434190880
rdi 0x000058e5788f5fa0 00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 ········1·······
rbp 0x00007ffc78803780 40 44 80 78 fc 7f 00 00 88 19 16 4b e5 58 00 00 @D·xü······KåX··
rsp 0x00007ffc78803710 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000058e5788e3010 07 00 01 00 07 00 06 00 07 00 03 00 04 00 05 00 ················
r9 0x0000000000000007 7
r10 0x000058e5788f5fb0 f5 88 57 8e 05 00 00 00 40 55 10 4c fe 3f 40 e3 õ·W·····@U·Lþ?@ã
r11 0xe3403ffe4c105540 16375158606549505344
r12 0x0000000000000000 0
r13 0x00007ffc78804138 10 05 80 78 fc 7f 00 00 00 00 00 00 00 00 00 00 ···xü···········
r14 0x000058e54b1bdb50 98 c4 1c 4b e5 58 00 00 f0 d7 1c 4b e5 58 00 00 ·Ä·KåX··ð×·KåX··
r15 0x00007f1da9e4f000 e0 02 e5 a9 1d 7f 00 00 16 00 00 00 00 00 00 00 à·å©············
rip 0x00007f1da99b3d71 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):
0x000058e54b010000–0x000058e54b1bbe10 06e67a695c81b62edd5d56c45c083860483b7940 encuda-tool /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/encuda-tool
0x00007f1da81ea000–0x00007f1da839a039 a4a7992a8e66555c8141ab2a08a8465ff6e0ea65 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f1da96bb000–0x00007f1da9c8e470 7338a3c81c5415f0377dee2eec7895c59ddff670 libswiftCore.so /root/.local/share/swiftly/toolchains/6.3.2/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.04s
[51/427] Compiling tanh.cu to tanh.cpp
[51/427] Compiling linalg.cpp
[51/427] Compiling primitives.cpp
[51/427] Compiling ops.cpp
[51/427] Compiling random.cpp
[51/427] Compiling transforms.cpp
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x769bf02b5d71... done ***
*** Program crashed: Illegal instruction at 0x0000769bf02b5d71 ***
Platform: x86_64 Linux (Ubuntu 24.04.5 LTS)
Thread 0 "encuda-tool" crashed:
0 0x0000769bf02b5d71 _assertionFailure(_:_:file:line:flags:) + 225 in libswiftCore.so
1 [ra] 0x0000640890d10988 Encuda.Compile.run() + 1415 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda-compile.swift:55:21
2 [ra] [thunk] 0x0000640890d0c76d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda-tool at //<compiler-generated>
3 [ra] 0x0000640890caf325 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] 0x0000640890cafc57 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] 0x0000640890d1e03e static Encuda.$main() + 29 in encuda-tool at //<compiler-generated>
6 [ra] [system] 0x0000640890d1e149 encuda_main + 8 in encuda-tool at /host/spi-builder-workspace/Source/Encuda/encuda.swift
7 [ra] 0x0000769beeb161ca <unknown> in libc.so.6
8 [ra] 0x0000769beeb1628b <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000002 2
rcx 0x0000000000000001 1
rbx 0x000000064089ecea 26852584682
rsi 0x8000646e756f6620 9223482462434190880
rdi 0x000064089eceafa0 00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 ········1·······
rbp 0x00007fffaf4421c0 80 2e 44 af ff 7f 00 00 88 09 d1 90 08 64 00 00 ·.D¯ÿ·····Ñ··d··
rsp 0x00007fffaf442150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000064089ecd8010 07 00 01 00 07 00 06 00 07 00 03 00 04 00 05 00 ················
r9 0x0000000000000007 7
r10 0x000064089eceafb0 ea ec 89 40 06 00 00 00 34 ea 9e 8b 5c 22 e9 e7 êì·@····4ê··\"éç
r11 0xe7e9225c8b9eea34 16710925673209719348
r12 0x0000000000000000 0
r13 0x00007fffaf442b78 50 ef 43 af ff 7f 00 00 00 00 00 00 00 00 00 00 PïC¯ÿ···········
r14 0x0000640890d6cb50 98 b4 d7 90 08 64 00 00 f0 c7 d7 90 08 64 00 00 ·´×··d··ðÇ×··d··
r15 0x0000769bf0751000 e0 22 75 f0 9b 76 00 00 16 00 00 00 00 00 00 00 à"uð·v··········
rip 0x0000769bf02b5d71 0f 0b 48 83 ec 08 48 8d 05 c2 be 30 00 48 8d 3d ··H·ì·H··Â¾0·H·=
rflags 0x0000000000010206 PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (18 omitted):
0x0000640890bbf000–0x0000640890d6ae10 06e67a695c81b62edd5d56c45c083860483b7940 encuda-tool /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/encuda-tool
0x0000769beeaec000–0x0000769beec9c039 a4a7992a8e66555c8141ab2a08a8465ff6e0ea65 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
0x0000769beffbd000–0x0000769bf0590470 7338a3c81c5415f0377dee2eec7895c59ddff670 libswiftCore.so /root/.local/share/swiftly/toolchains/6.3.2/usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.04s
[51/427] Compiling tan.cu to tan.cpp
BUILD FAILURE 6.3 android