Skip to content

moss: Add --check option to moss inspect command #2006

moss: Add --check option to moss inspect command

moss: Add --check option to moss inspect command #2006

Re-run triggered July 29, 2025 09:55
Status Success
Total duration 1m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

on: pull_request
Build & Test Project
1m 22s
Build & Test Project
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Build & Test Project: boulder/src/build.rs#L333
[clippy] reported by reviewdog 🐶 warning: this method chain can be written more clearly with `if .. else ..` --> boulder/src/build.rs:333:19 | 333 | let pgo = is_pgo.then_some("│").unwrap_or_default().dim(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if is_pgo { "│" } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default Raw Output: boulder/src/build.rs:333:19:w:warning: this method chain can be written more clearly with `if .. else ..` --> boulder/src/build.rs:333:19 | 333 | let pgo = is_pgo.then_some("│").unwrap_or_default().dim(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if is_pgo { "│" } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default __END__
Build & Test Project: moss/src/cli/search_file.rs#L45
[clippy] reported by reviewdog 🐶 warning: variables can be used directly in the `format!` string --> moss/src/cli/search_file.rs:45:21 | 45 | println!("/usr/{} from {}", file, name.to_string().bold()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: requested on the command line with `-W clippy::uninlined-format-args` help: change this to | 45 - println!("/usr/{} from {}", file, name.to_string().bold()); 45 + println!("/usr/{file} from {}", name.to_string().bold()); | Raw Output: moss/src/cli/search_file.rs:45:21:w:warning: variables can be used directly in the `format!` string --> moss/src/cli/search_file.rs:45:21 | 45 | println!("/usr/{} from {}", file, name.to_string().bold()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: requested on the command line with `-W clippy::uninlined-format-args` help: change this to | 45 - println!("/usr/{} from {}", file, name.to_string().bold()); 45 + println!("/usr/{file} from {}", name.to_string().bold()); | __END__
Build & Test Project: moss/src/cli/search_file.rs#L5
[clippy] reported by reviewdog 🐶 warning: unused imports: `Write` and `self` --> moss/src/cli/search_file.rs:5:15 | 5 | use std::io::{self, Write}; | ^^^^ ^^^^^ | = note: `#[warn(unused_imports)]` on by default Raw Output: moss/src/cli/search_file.rs:5:15:w:warning: unused imports: `Write` and `self` --> moss/src/cli/search_file.rs:5:15 | 5 | use std::io::{self, Write}; | ^^^^ ^^^^^ | = note: `#[warn(unused_imports)]` on by default __END__
Build & Test Project: crates/stone/src/write.rs#L307
[clippy] reported by reviewdog 🐶 warning: this method chain can be written more clearly with `if .. else ..` --> crates/stone/src/write.rs:307:47 | 307 | num_payloads: payloads.len() as u16 + content.is_some().then_some(1).unwrap_or_default(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if content.is_some() { 1 } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default Raw Output: crates/stone/src/write.rs:307:47:w:warning: this method chain can be written more clearly with `if .. else ..` --> crates/stone/src/write.rs:307:47 | 307 | num_payloads: payloads.len() as u16 + content.is_some().then_some(1).unwrap_or_default(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if content.is_some() { 1 } else { Default::default() }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#obfuscated_if_else = note: `#[warn(clippy::obfuscated_if_else)]` on by default __END__