hundreds-breakfast-49010
01/05/2021, 10:00 PMcargo clippy invocation, when making changes on a clean master that don't touch rust at allwitty-crayon-22786
01/05/2021, 10:02 PMhundreds-breakfast-49010
01/05/2021, 10:17 PMhundreds-breakfast-49010
01/05/2021, 10:17 PM--opt options in constraints.txt files erroring (#11407)witty-crayon-22786
01/05/2021, 10:19 PM./cargo clippy … my system rust install is 1.48, but i’m updating to confirm that that isn’t leakingwitty-crayon-22786
01/05/2021, 10:20 PM1.48 for pantsbuild/pants.witty-crayon-22786
01/05/2021, 10:20 PMhundreds-breakfast-49010
01/05/2021, 10:21 PMhundreds-breakfast-49010
01/05/2021, 10:21 PM./cargo clippy --all on masterhundreds-breakfast-49010
01/05/2021, 10:22 PM./cargo --version reports 1.47 for mewitty-crayon-22786
01/05/2021, 10:25 PMrust-toolchain file in the root of the repository is there?witty-crayon-22786
01/05/2021, 10:25 PMhundreds-breakfast-49010
01/05/2021, 10:26 PMrust-toolchain says 1.48hundreds-breakfast-49010
01/05/2021, 10:26 PMhundreds-breakfast-49010
01/05/2021, 10:26 PMhundreds-breakfast-49010
01/05/2021, 10:26 PMwitty-crayon-22786
01/05/2021, 10:26 PMenv ?hundreds-breakfast-49010
01/05/2021, 10:26 PMwitty-crayon-22786
01/05/2021, 10:26 PM1.47 bit is definitely the issue. inside the repo i see 1.48, and outside i see 1.49 (as expected)hundreds-breakfast-49010
01/05/2021, 10:26 PMCARGO_ env varswitty-crayon-22786
01/05/2021, 10:27 PMRUSTUP_ …?hundreds-breakfast-49010
01/05/2021, 10:27 PMhundreds-breakfast-49010
01/05/2021, 10:28 PMat 14:28:09 ➤ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/gregs/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
1.37.0-x86_64-unknown-linux-gnu
1.38.0-x86_64-unknown-linux-gnu
1.39.0-x86_64-unknown-linux-gnu
1.42.0-x86_64-unknown-linux-gnu
1.43.1-x86_64-unknown-linux-gnu
1.44.0-x86_64-unknown-linux-gnu
1.44.1-x86_64-unknown-linux-gnu
1.45.0-x86_64-unknown-linux-gnu
1.45.2-x86_64-unknown-linux-gnu
1.46.0-x86_64-unknown-linux-gnu
1.47.0-x86_64-unknown-linux-gnu
active toolchain
----------------
1.47.0-x86_64-unknown-linux-gnu (directory override for '/home/gregs/code/pants')
rustc 1.47.0 (18bf6b4f0 2020-10-07)witty-crayon-22786
01/05/2021, 10:28 PMhundreds-breakfast-49010
01/05/2021, 10:29 PMat 14:28:50 ➤ cat rust-toolchain
1.48.0witty-crayon-22786
01/05/2021, 10:29 PMhundreds-breakfast-49010
01/05/2021, 10:29 PMhundreds-breakfast-49010
01/05/2021, 10:29 PMat 14:28:51 ➤ rustup --version
rustup 1.23.0 (2020-11-27)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.47.0 (18bf6b4f0 2020-10-07)`witty-crayon-22786
01/05/2021, 10:29 PMrustup --self update …?witty-crayon-22786
01/05/2021, 10:29 PMwitty-crayon-22786
01/05/2021, 10:30 PMhundreds-breakfast-49010
01/05/2021, 10:30 PMwitty-crayon-22786
01/05/2021, 10:30 PMactive toolchain
----------------
1.48.0-x86_64-apple-darwin (overridden by '/Users/stuhood/src/pants/rust-toolchain')
rustc 1.48.0 (7eac88abb 2020-11-16)witty-crayon-22786
01/05/2021, 10:30 PM/Users/stuhood/src/pants/rust-toolchainwitty-crayon-22786
01/05/2021, 10:30 PMhundreds-breakfast-49010
01/05/2021, 10:30 PMwitty-crayon-22786
01/05/2021, 10:30 PMTo remove the override and use the default toolchain again, `rustup override unset`.hundreds-breakfast-49010
01/05/2021, 10:31 PMhundreds-breakfast-49010
01/05/2021, 10:31 PMwitty-crayon-22786
01/05/2021, 10:31 PMhundreds-breakfast-49010
01/05/2021, 10:31 PM