Bump serde from 1.0.177 to 1.0.183 (#75) #56
release.yml
on: push
Push Docker image to multiple registries
2m 12s
Annotations
1 error and 3 warnings
Push Docker image to multiple registries
buildx failed with: ERROR: failed to solve: process "/bin/sh -c /root/.cargo/bin/cargo build --release" did not complete successfully: exit code: 101
|
single-character string constant used as pattern:
src/main.rs#L103
warning: single-character string constant used as pattern
--> src/main.rs:103:94
|
103 | let split: Vec<String> = std::env::var("ENABLE_MODULES").unwrap_or("".to_string()).split(",").map(|s| s.to_string()).collect();
| ^^^ help: try using a `char` instead: `','`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
|
casting integer literal to `f64` is unnecessary:
src/docker/mod.rs#L102
warning: casting integer literal to `f64` is unnecessary
--> src/docker/mod.rs:102:166
|
102 | ...cpu_stats.online_cpus.unwrap_or_default() as f64 * 100 as f64,
| ^^^^^^^^^^ help: try: `100_f64`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
single-character string constant used as pattern:
src/docker/mod.rs#L68
warning: single-character string constant used as pattern
--> src/docker/mod.rs:68:87
|
68 | let container_name = &container.names.as_ref().unwrap()[0].trim_start_matches("/");
| ^^^ help: try using a `char` instead: `'/'`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
= note: `#[warn(clippy::single_char_pattern)]` on by default
|