Error: could not compile `yazi-scheduler` (lib)
aalvarado opened this issue · comments
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
Alacritty
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
output
Unable to compile so this is not possible
Describe the bug
When I try to install Yazi through cargo I get the error below
cargo install yazi-fm
error: could not compile `yazi-scheduler` (lib)
Caused by:
process didn't exit successfully: `/home/local/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name yazi_scheduler --edition=2021 /home/local/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yazi-scheduler-0.2.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=122 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=b3f7718cd094e6cf -C extra-filename=-b3f7718cd094e6cf --out-dir /tmp/cargo-installmpVhjY/release/deps -C strip=debuginfo -L dependency=/tmp/cargo-installmpVhjY/release/deps --extern anyhow=/tmp/cargo-installmpVhjY/release/deps/libanyhow-683791536abda366.rmeta --extern async_priority_channel=/tmp/cargo-installmpVhjY/release/deps/libasync_priority_channel-5e266eaf22490990.rmeta --extern futures=/tmp/cargo-installmpVhjY/release/deps/libfutures-b111675ba1958a12.rmeta --extern libc=/tmp/cargo-installmpVhjY/release/deps/liblibc-c5612f9a5292525b.rmeta --extern parking_lot=/tmp/cargo-installmpVhjY/release/deps/libparking_lot-0b7e8fc7481661d2.rmeta --extern scopeguard=/tmp/cargo-installmpVhjY/release/deps/libscopeguard-fd60753541f4e3e6.rmeta --extern tokio=/tmp/cargo-installmpVhjY/release/deps/libtokio-1cf555e7ceec096c.rmeta --extern tracing=/tmp/cargo-installmpVhjY/release/deps/libtracing-ddf1f15862404f47.rmeta --extern trash=/tmp/cargo-installmpVhjY/release/deps/libtrash-005abac1aa9b49d1.rmeta --extern yazi_config=/tmp/cargo-installmpVhjY/release/deps/libyazi_config-e20e550697f408a9.rmeta --extern yazi_dds=/tmp/cargo-installmpVhjY/release/deps/libyazi_dds-b7ec6f228ae9d3cd.rmeta --extern yazi_plugin=/tmp/cargo-installmpVhjY/release/deps/libyazi_plugin-949bbd50d4d9b265.rmeta --extern yazi_proxy=/tmp/cargo-installmpVhjY/release/deps/libyazi_proxy-7631872547c14cb3.rmeta --extern yazi_shared=/tmp/cargo-installmpVhjY/release/deps/libyazi_shared-ef688195d6c2231a.rmeta --cap-lints allow -L native=/tmp/cargo-installmpVhjY/release/build/mlua-sys-a57100fd54095c20/out/lua-build/lib -L native=/tmp/cargo-installmpVhjY/release/build/onig_sys-3f0c9539f19d0552/out` (signal: 4, SIGILL: illegal instruction)
error: failed to compile `yazi-fm v0.2.5`, intermediate artifacts can be found at `/tmp/cargo-installmpVhjY`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
rustup --version
rustup 1.26.0 (2024-04-01)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.79.0 (129f3b996 2024-06-10)`
Expected Behavior
cargo install completes and installs yazi
To Reproduce
cargo install yazi-fm
Configuration
No response
Anything else?
Ubuntu server 24.04
--locked
and the latest stable Rust toolchain is required, see the full command at https://yazi-rs.github.io/docs/installation#cargo
Thanks will look into it