rustowl: Failed to install
Bug Description
I tried to install directly from crates.io and it doesnt work.
cargo install rustowl with or without --locked.
It compiles most dependencies but it stops when it reaches.
...
Compiling tower-lsp v0.20.0
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustowl-0.3.0/src/bin/rustowlc.rs:5:1
|
5 | #![feature(rustc_private)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `rustowl` (bin "rustowlc") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `rustowl v0.3.0`, intermediate artifacts can be found at `/tmp/cargo-installSGRZJx`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Maybe it’s expecting to be using the nightly channel to compile, so, not sure the point in having it in crates.io
Edit:
I suppose it would be beneficial to have the binary (already compiled) in binstall https://github.com/cargo-bins/cargo-binstall that way there wouldnt be any need to do it manually in every user machine.
This would make it possible to auto update based on releases. Rather than having to do it manually.
Environment
OS: Arch Linux RustOwl Version: 0.3.0
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 18 (4 by maintainers)
With that command, it works.
Wait now it doesnt work for me also. I will investigate.
Worked with
cargo +nightly-2025-04-08 install rustowlNot needing to clone the project, before the cargo install, this was enough
rustup toolchain install nightly-2025-04-08 --component llvm-tools,rustc-devI will leave the issue open so you see the
binstallsuggestion.Feel free to close the issue, after.
Edit:
I guess if you suggested the simple way, it would perhaps be better.
Edit2:
Another way that would make these commands always work.