Rust: add Cargo.lock files to all tests with cargo check
#19772
Merged
Cargo.lock files to all tests with cargo check
#19772