rust-lang / cargo-bisect-rustc

Bisects rustc, either nightlies or CI artifacts
https://rust-lang.github.io/cargo-bisect-rustc/
Apache License 2.0
177 stars 55 forks source link

Generated toolchains not working #102

Open AminArria opened 4 years ago

AminArria commented 4 years ago

So I recently had to reinstall and the generated toolchains by cargo-bisect-rustc are not working. It feels has if they are not been found so the stable (my default and only other toolchain I have right now) is used instead.

Output of a recent run:

 > cargo bisect-rustc --preserve --prompt --end 2020-05-08 -- version
installing nightly-2020-05-08
std for x86_64-apple-darwin: 14.50 MB / 14.50 MB [========================================================================] 100.00 % 6.26 MB/s testing...
cargo 1.45.0 (744bd1fbb 2020-06-15)

Instead if I install the nightly, link it, and run the same command it works as expected:

 > rustup install nightly-2020-05-08
...
 > rustup toolchain link bisector-nightly-2020-05-08-x86_64-apple-darwin ~/.rustup/toolchains/nightly-2020-05-08-x86_64-apple-darwin
...
 > cargo bisect-rustc --preserve --prompt --end 2020-05-08 -- version
installing nightly-2020-05-08
testing...
cargo 1.45.0-nightly (f534844c2 2020-05-06)

Versions:

 > cargo bisect-rustc --version
cargo-bisect-rustc 0.5.2

 > rustup --version
rustup 1.22.1 (b01adbbc3 2020-07-08)