Task #72403 - added.err

back to task #72403
download
Error: CLIPPY_WARNING:
crates/lib/src/install.rs:2209:5: warning: the `dbg!` macro is intended as a debugging tool
#       |
#  2209 |     dbg!(&stateroots);
#       |     ^^^^^^^^^^^^^^^^^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
#       = note: requested on the command line with `-D clippy::dbg-macro`
#  help: remove the invocation before committing it to a version control system
#       |
#  2209 -     dbg!(&stateroots);
#  2209 +     &stateroots;
#       |

Error: CLIPPY_WARNING:
crates/ostree-ext/src/sysroot.rs:107:5: warning: this `let...else` may be rewritten with the `?` operator
#      |
#  107 | /     let Some(statename) = name.strip_prefix(AUTO_STATEROOT_PREFIX) else {
#  108 | |         return None;
#  109 | |     };
#      | |______^ help: replace it with: `let statename = name.strip_prefix(AUTO_STATEROOT_PREFIX)?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
#      = note: `#[warn(clippy::question_mark)]` on by default

Error: CLIPPY_WARNING:
crates/ostree-ext/src/sysroot.rs:110:5: warning: this `let...else` may be rewritten with the `?` operator
#      |
#  110 | /     let Some((year, serial)) = statename.split_once("-") else {
#  111 | |         return None;
#  112 | |     };
#      | |______^ help: replace it with: `let (year, serial) = statename.split_once("-")?;`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark