Task #67877 - bootc-202508261339.gea360d6d09-1/scan-results.err
back to task #67877download
Error: COMPILER_WARNING (CWE-704):
bootc-202508261339.gea360d6d09/vendor/libz-sys/src/smoke.c: scope_hint: In function 'main'
bootc-202508261339.gea360d6d09/vendor/libz-sys/src/smoke.c:4:10: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
# 4 | return (int) adler32;
# | ^
# 2|
# 3| int main() {
# 4|-> return (int) adler32;
# 5| }
Error: CLIPPY_WARNING:
crates/lib/src/deploy.rs:142:1: warning: this function has too many arguments (9/7)
# |
# 142 | / async fn handle_layer_progress_print(
# 143 | | mut layers: tokio::sync::mpsc::Receiver<ostree_container::store::ImportProgress>,
# 144 | | mut layer_bytes: tokio::sync::watch::Receiver<Option<ostree_container::store::LayerProgress>>,
# 145 | | digest: Box<str>,
# ... |
# 151 | | quiet: bool,
# 152 | | ) -> ProgressWriter {
# | |___________________^
# |
# = 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/lib/src/deploy.rs:334:1: warning: large size difference between variants
# |
# 334 | / pub(crate) enum PreparedPullResult {
# 335 | | Ready(PreparedImportMeta),
# | | ------------------------- the largest variant contains at least 288 bytes
# 336 | | AlreadyPresent(Box<ImageState>),
# | | ------------------------------- the second-largest variant contains at least 8 bytes
# 337 | | }
# | |_^ the entire enum is at least 288 bytes
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
# = note: `#[warn(clippy::large_enum_variant)]` on by default
# help: consider boxing the large fields to reduce the total size of the enum
# |
# 335 - Ready(PreparedImportMeta),
# 335 + Ready(Box<PreparedImportMeta>),
# |
Error: CLIPPY_WARNING:
crates/lib/src/spec.rs:101:5: warning: this `let...else` may be rewritten with the `?` operator
# |
# 101 | / let Some(digest) = reference.digest() else {
# 102 | | return None;
# 103 | | };
# | |______^ help: replace it with: `let digest = reference.digest()?;`
# |
# = 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/sysusers/src/lib.rs:132:75: warning: use of a disallowed method `str::len`
# |
# 132 | let idx = s.find(|c: char| c.is_whitespace()).unwrap_or(s.len());
# | ^^^
# |
# = note: use <str>.as_bytes().len() instead
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_methods
# = note: requested on the command line with `-D clippy::disallowed-methods`
Error: CLIPPY_WARNING:
crates/tmpfiles/src/lib.rs:318:1: warning: this function has too many arguments (8/7)
# |
# 318 | / fn convert_path_to_tmpfiles_d_recurse<U: uzers::Users, G: uzers::Groups>(
# 319 | | out_entries: &mut BTreeSet<String>,
# 320 | | out_unsupported: &mut Vec<PathBuf>,
# 321 | | users: &U,
# ... |
# 326 | | readonly: bool,
# 327 | | ) -> Result<()> {
# | |_______________^
# |
# = 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