wofferl / proxmox-backup-arm64

Script for building Proxmox Backup Server 3.x (Bookworm) for Armbian64
151 stars 12 forks source link

failed to load source for dependency `clap` #14

Closed jimnordb closed 2 years ago

jimnordb commented 2 years ago
error: failed to get `clap` as a dependency of package `termproxy v4.16.0 (/home/pi/proxmox-backup-arm64/sources/pve-xtermjs)`

Caused by:
  failed to load source for dependency `clap`

Caused by:
  Unable to update registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to update replaced source registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to parse manifest at `/home/pi/proxmox-backup-arm64/sources/pve-xtermjs/vendor/bumpalo/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make[1]: *** [debian/rules:4: binary] Error 101
make[1]: Leaving directory '/home/pi/proxmox-backup-arm64/sources/pve-xtermjs'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make: *** [Makefile:66: pve-xtermjs_4.16.0-1_arm64.deb] Error 2
wofferl commented 2 years ago

Your cargo version seems too old. Which rust/cargo version is installed on your system?

jimnordb commented 2 years ago

Yea. First thing i started diving into. As Bumpalo is edition 2021 on its configuration

image

my rustc and cargo versions is dated July-August 2022