From 783d724a0d13b3b6167fe89498a7be31ed6120b3 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 28 Jan 2021 01:35:27 -0800 Subject: [PATCH] ci/semver.sh: Pass --locked when installing semverver We don't, in general, want our CI to be the testbed for building semverver with newer versions of its dependencies. Pass --locked to use the checked-in Cargo.lock instead. This works around https://github.com/rust-lang/cargo/issues/9101 . --- ci/semver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/semver.sh b/ci/semver.sh index ebfe767c0634e..6d6dfd17d88bd 100644 --- a/ci/semver.sh +++ b/ci/semver.sh @@ -16,7 +16,7 @@ fi rustup component add rustc-dev llvm-tools-preview # Should update the nightly version in bors CI config if we touch this. -cargo install --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4 +cargo install --locked --git https://github.com/rust-lang/rust-semverver --rev 71c340ff867d2f79613cfe02c6714f1d2ef00bc4 TARGETS= case "${OS}" in