[pbs-devel] Issue: Proxmox-sys-0.5.5 compile

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Jun 12 14:40:47 CEST 2024


On June 12, 2024 2:03 pm, Turkijan wrote:
> I faced issue during build current proxmox-backup-server source code.
> error[E0599]: no method named `is_terminal` found for struct `Stdin` in the
> current scope
>   --> /usr/share/cargo/registry/proxmox-sys-0.5.5/src/linux/tty.rs:96:15
>    |
> 96 |     if !input.is_terminal() {
>    |               ^^^^^^^^^^^ method not found in `Stdin`
> 
> Some errors have detailed explanations: E0432, E0599, E0658.
> For more information about an error, try `rustc --explain E0432`.
> error: could not compile `proxmox-sys` due to 14 previous errors
> 
> My current rust version is 1.65.0.
> It seems I haven't downloaded latest version of proxmox backup debian
> registry.

that is too old. please ensure you have rustc (and the rest of the
toolchain) from our devel repository installed (it's also where all the
librust-* packages needed are, so you need that anyway).

see https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=README.rst
for more details




More information about the pbs-devel mailing list