Task #102107 - added.err

back to task #102107
download
Error: CLIPPY_WARNING:
crates/lib/src/container_export.rs:246:1: warning: this function has too many arguments (8/7)
#      |
#  246 | / fn add_file_to_tar_from_walk<W: Write>(
#  247 | |     tar_builder: &mut tar::Builder<W>,
#  248 | |     dir: &cap_std_ext::cap_std::fs::Dir,
#  249 | |     filename: &std::ffi::OsStr,
#  ...   |
#  254 | |     hardlinks: &mut HashMap<u64, std::path::PathBuf>,
#  255 | | ) -> Result<()> {
#      | |_______________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#too_many_arguments

Error: CLIPPY_WARNING:
crates/tests-integration/src/anaconda.rs:728:26: warning: needless call to `as_bytes`
#      |
#  728 |     let mut end = (idx + pattern.as_bytes().len() + 200).min(content.as_bytes().len());
#      |                          ^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `pattern.len()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#needless_as_bytes
#      = note: `#[warn(clippy::needless_as_bytes)]` on by default

Error: CLIPPY_WARNING:
crates/tests-integration/src/anaconda.rs:728:62: warning: needless call to `as_bytes`
#      |
#  728 |     let mut end = (idx + pattern.as_bytes().len() + 200).min(content.as_bytes().len());
#      |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `content.len()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#needless_as_bytes

Error: CLIPPY_WARNING:
crates/tests-integration/src/anaconda.rs:729:17: warning: needless call to `as_bytes`
#      |
#  729 |     while end < content.as_bytes().len() && !content.is_char_boundary(end) {
#      |                 ^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `content.len()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#needless_as_bytes