I have a fresh install of Debian 10 on a Linode server. I ran the install with:
sudo cargo install wireguard-vanity-address
It compiles several packages until package 57/69, clap v2.33.4.
Compiling clap v2.33.4
error[E0658]: if is not allowed in a const fn
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.33.4/src/app/settings.rs:7:1
7
/ bitflags! {
8
struct Flags: u64 {
9
const SC_NEGATE_REQS = 1;
10
const SC_REQUIRED = 1 << 1;
...
51
}
52
}
_^
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: if is not allowed in a const fn
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.33.4/src/args/settings.rs:6:1
6
/ bitflags! {
7
struct Flags: u32 {
8
const REQUIRED = 1;
9
const MULTIPLE = 1 << 1;
...
28
}
29
}
_^
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 2 previous errors
For more information about this error, try rustc --explain E0658.
error: failed to compile wireguard-vanity-address v0.4.0, intermediate artifacts can be found at /tmp/cargo-installFBAhlU
Caused by:
could not compile clap.
Below is the tail end of output with cargo --verbose install wireguard-vanity-address
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: if is not allowed in a const fn
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.33.4/src/args/settings.rs:6:1
6
/ bitflags! {
7
struct Flags: u32 {
8
const REQUIRED = 1;
9
const MULTIPLE = 1 << 1;
...
28
}
29
}
_^
= note: for more information, see https://github.com/rust-lang/rust/issues/49146
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 2 previous errors
For more information about this error, try rustc --explain E0658.
error: failed to compile wireguard-vanity-address v0.4.0, intermediate artifacts can be found at /tmp/cargo-installlsgmPX
I have a fresh install of Debian 10 on a Linode server. I ran the install with:
sudo cargo install wireguard-vanity-address
It compiles several packages until package 57/69, clap v2.33.4.
Below is the tail end of output with
cargo --verbose install wireguard-vanity-address