Task #70798 - added.err

back to task #70798
download
Error: CLIPPY_WARNING:
crates/ostree-ext/src/container/store.rs:945:5: warning: this function has too many arguments (10/7)
#      |
#  945 | /     fn write_merge_commit_impl(
#  946 | |         repo: &ostree::Repo,
#  947 | |         base_commit: Option<&str>,
#  948 | |         layer_commits: &[String],
#  ...   |
#  955 | |         cancellable: Option<&gio::Cancellable>,
#  956 | |     ) -> Result<Box<LayeredImageState>> {
#      | |_______________________________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
#      = note: `#[warn(clippy::too_many_arguments)]` on by default

Error: CLIPPY_WARNING:
crates/ostree-ext/src/container/store.rs:1044:22: warning: derefed type is same as origin
#       |
#  1044 |         let parent = base_commit.as_deref();
#       |                      ^^^^^^^^^^^^^^^^^^^^^^ help: try: `base_commit`
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_option_as_deref
#       = note: `#[warn(clippy::needless_option_as_deref)]` on by default

Error: CLIPPY_WARNING:
crates/xtask/src/man.rs:291:13: warning: returning the result of a `let` binding from a block
#      |
#  290 |             let path = find_command_path_for_filename(cli_structure, cmd_part);
#      |             ------------------------------------------------------------------- unnecessary `let` binding
#  291 |             path
#      |             ^^^^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
#      = note: `#[warn(clippy::let_and_return)]` on by default
#  help: return the expression directly
#      |
#  290 ~             
#  291 ~             find_command_path_for_filename(cli_structure, cmd_part)
#      |

Error: CLIPPY_WARNING:
crates/xtask/src/man.rs:571:5: warning: empty string literal in `println!`
#      |
#  571 |     println!("");
#      |     ^^^^^^^^^--^
#      |              |
#      |              help: remove the empty string
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
#      = note: `#[warn(clippy::println_empty_string)]` on by default

Error: CLIPPY_WARNING:
crates/xtask/src/man.rs:586:12: warning: this `map_or` can be simplified
#      |
#  586 |           if path
#      |  ____________^
#  587 | |             .extension()
#  588 | |             .and_then(|s| s.to_str())
#  589 | |             .map_or(false, |e| e.chars().all(|c| c.is_numeric()))
#      | |_________________________________________________________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
#      = note: `#[warn(clippy::unnecessary_map_or)]` on by default
#  help: use is_some_and instead
#      |
#  589 -             .map_or(false, |e| e.chars().all(|c| c.is_numeric()))
#  589 +             .is_some_and(|e| e.chars().all(|c| c.is_numeric()))
#      |