cli
cli copied to clipboard
cargo install. cannot compile.
installing from crate.io and github result in the same compile error. Can anyone confirm that it's not just me who’s having this problem.
error[E0592]: duplicate definitions with name `is_soa`
--> /Users/kbeilen/.cargo/registry/src/github.com-1ecc6299db9ec823/trust-dns-proto-0.22.0/src/rr/record_data.rs:55:17
|
55 | #[derive(Debug, EnumAsInner, PartialEq, Clone, Eq)]
| ^^^^^^^^^^^ duplicate definitions for `is_soa`
...
994 | pub fn is_soa(&self) -> bool {
| ---------------------------- other definition for `is_soa`
|
= note: this error originates in the derive macro `EnumAsInner` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0592`.
error: could not compile `trust-dns-proto` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.3.2`, intermediate artifacts can be found at `/var/folders/cp/850mcmtd2472j3tymrskhdl80000gn/T/cargo-install8XbWxA`
Yep, this is breaking lots of stuff: https://github.com/bluejekyll/trust-dns/issues/1946
I’d expect it to be resolved soon.
You should use cargo install --locked dioxus-cli
, then the installation works.
Maybe the --locked
option should be added to the README?