From 7f8ddca5a38d50356bb57c9ff96507574e36b49a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 3 Jun 2025 09:23:20 +0300 Subject: [PATCH] test: make upgrade tests pass despite warnings For a reason I do not entirely understand, the upgrade test started failing when I removed `rust-toolchain` from the **current** git, even though old releases still have it. The failures are due to warnings. Work around this by removing the `#![deny(...)]` and `#[deny(...)]` lines from the source of the old releases. Signed-off-by: Lars Wirzenius --- ci-broker.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci-broker.md b/ci-broker.md index 98d71930..d7d9fa9a 100644 --- a/ci-broker.md +++ b/ci-broker.md @@ -2442,7 +2442,8 @@ export SRCDIR="$CARGO_MANIFEST_DIR" cd ci-broker # Build source code. - cargo build --all-targets -q + find -name '*.rs' -exec sed -Ei '/\[deny\(/d' '{}' + + cargo build --all-targets (echo "Old CI run lists:" cargo run -q --bin cibtool -- --db "$db" run list 1>&2