From 0719975ceeeab568cbd3a3e88a5c790a91b56709 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Tue, 6 Oct 2026 22:53:17 +0800 Subject: [PATCH] [CI][Rust Frontend] Pass `--locked` to cargo binstall (#60182) Signed-off-by: Bugen Zhao Co-authored-by: Claude Opus 5.5 --- .buildkite/scripts/run-rust-frontend-cargo-ci.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.buildkite/scripts/run-rust-frontend-cargo-ci.sh b/.buildkite/scripts/run-rust-frontend-cargo-ci.sh index fa1cddb95f..aa16302da8 100755 --- a/.buildkite/scripts/run-rust-frontend-cargo-ci.sh +++ b/.buildkite/scripts/run-rust-frontend-cargo-ci.sh @@ -60,12 +60,12 @@ install_cargo_binstall() { install_cargo_sort() { log_section "Installing cargo-sort ${CARGO_SORT_VERSION_REQ}" - cargo binstall --no-confirm --force "cargo-sort@${CARGO_SORT_VERSION_REQ}" + cargo binstall --no-confirm --force --locked "cargo-sort@${CARGO_SORT_VERSION_REQ}" } install_cargo_deny() { log_section "Installing cargo-deny ${CARGO_DENY_VERSION_REQ}" - cargo binstall --no-confirm --force "cargo-deny@${CARGO_DENY_VERSION_REQ}" + cargo binstall --no-confirm --force --locked "cargo-deny@${CARGO_DENY_VERSION_REQ}" } install_cargo_nextest() { @@ -74,6 +74,7 @@ install_cargo_nextest() { --no-confirm \ --force \ --secure \ + --locked \ "cargo-nextest@${CARGO_NEXTEST_VERSION_REQ}" }