Open
Description
Problem
After running cargo install
, if it reports a future incompatibility, it will print a message such as:
warning: the following packages contain code that will be rejected by a future version of Rust: winapi v0.2.8
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
However, running the cargo report
command will not work. The target directory has been deleted, and there is nothing for the cargo report
command to reference.
Steps
cargo install [email protected] --locked
Possible Solution(s)
Two options I've thought of:
- Store the report somewhere in $CARGO_HOME, and adjust the
cargo report
command to be able to look in that directory (possibly needing a different CLI flag?) - Just print the report immediately.
I'm not particularly happy with either option, though.
Notes
No response
Version
cargo 1.64.0-nightly (b1dd22e66 2022-07-09)
release: 1.64.0-nightly
commit-hash: b1dd22e668af5279e13a071ad4b17435bd6bfa4c
commit-date: 2022-07-09
host: x86_64-pc-windows-msvc
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:Schannel)
os: Windows 10.0.19043 (Windows 10 Pro) [64-bit]