DanielKeep / cargo-script

Cargo script subcommand
Other
729 stars 37 forks source link

Impossible to install cargo-script #79

Open dmilith opened 3 years ago

dmilith commented 3 years ago
casie:~/Downloads  ⇢  cargo install --force cargo-script
    Updating crates.io index
  Downloaded cargo-script v0.2.8
  Downloaded 1 crate (50.4 KB) in 1.19s
  Installing cargo-script v0.2.8
error: failed to compile `cargo-script v0.2.8`, intermediate artifacts can be found at `/var/folders/7x/29hsrskd67bdbb0dqwwt4shc0000gp/T/cargo-installOpbo35`

Caused by:
  failed to select a version for the requirement `rustc_version = "^0.1.7"`
  candidate versions found which didn't match: 0.3.3, 0.3.2, 0.3.1, ...
  location searched: crates.io index
  required by package `cargo-script v0.2.8`
MolotovCherry commented 3 years ago

Working fine for me