diff --git a/scripts/build-on-all-workspaces.sh b/scripts/build-on-all-workspaces.sh index 9d7943ed8..c74fa25f3 100755 --- a/scripts/build-on-all-workspaces.sh +++ b/scripts/build-on-all-workspaces.sh @@ -5,7 +5,7 @@ WORKSPACES="benches common protocols roles utils" for workspace in $WORKSPACES; do echo "Executing build on: $workspace" - cargo build --manifest-path="$workspace/Cargo.toml" -- + cargo +1.75.0 build --manifest-path="$workspace/Cargo.toml" -- if [ $? -ne 0 ]; then echo "Build found some errors in: $workspace" exit 1 diff --git a/scripts/clippy-fmt-and-test.sh b/scripts/clippy-fmt-and-test.sh index 185ad63ea..db1fcbadf 100755 --- a/scripts/clippy-fmt-and-test.sh +++ b/scripts/clippy-fmt-and-test.sh @@ -4,14 +4,14 @@ WORKSPACES="benches common protocols roles utils" for workspace in $WORKSPACES; do echo "Executing clippy on: $workspace" - cargo clippy --manifest-path="$workspace/Cargo.toml" -- -D warnings -A dead-code + cargo +1.75.0 clippy --manifest-path="$workspace/Cargo.toml" -- -D warnings -A dead-code if [ $? -ne 0 ]; then echo "Clippy found some errors in: $workspace" exit 1 fi echo "Running tests on: $workspace" - cargo test --manifest-path="$workspace/Cargo.toml" + cargo +1.75 test --manifest-path="$workspace/Cargo.toml" if [ $? -ne 0 ]; then echo "Tests failed in: $workspace" exit 1 diff --git a/scripts/code-coverage-report.sh b/scripts/code-coverage-report.sh index f54828ce0..e99622195 100755 --- a/scripts/code-coverage-report.sh +++ b/scripts/code-coverage-report.sh @@ -1,4 +1,4 @@ #! /bin/sh cd roles -RUST_LOG=debug cargo llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report +RUST_LOG=debug cargo +1.75.0 llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report diff --git a/scripts/message-generator-tests.sh b/scripts/message-generator-tests.sh index 01b3e919e..a7897a07d 100755 --- a/scripts/message-generator-tests.sh +++ b/scripts/message-generator-tests.sh @@ -13,5 +13,5 @@ for entry in `ls $search_dir`; do done cd roles -RUST_LOG=debug cargo llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report +RUST_LOG=debug cargo +1.75.0 llvm-cov --ignore-filename-regex "utils/message-generator/|experimental/|protocols/" --cobertura --output-path "target/mg_coverage.xml" report