[INFO] cloning repository https://github.com/semeniuta/aoc2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/semeniuta/aoc2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemeniuta%2Faoc2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemeniuta%2Faoc2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c84309cbeb1c89c99422bbdce2efcfa57c46fee [INFO] linting semeniuta/aoc2024 against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemeniuta%2Faoc2024" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/semeniuta/aoc2024 [INFO] finished tweaking git repo https://github.com/semeniuta/aoc2024 [INFO] tweaked toml for git repo https://github.com/semeniuta/aoc2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/semeniuta/aoc2024 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/semeniuta/aoc2024 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 797a076cad2d4c41fc9de2896bd300f6003c970391d379216485cb2604f3a0e4 [INFO] running `Command { std: "docker" "start" "-a" "797a076cad2d4c41fc9de2896bd300f6003c970391d379216485cb2604f3a0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "797a076cad2d4c41fc9de2896bd300f6003c970391d379216485cb2604f3a0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797a076cad2d4c41fc9de2896bd300f6003c970391d379216485cb2604f3a0e4", kill_on_drop: false }` [INFO] [stdout] 797a076cad2d4c41fc9de2896bd300f6003c970391d379216485cb2604f3a0e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49a7f98fb15cab6cb097b0d2f1967ebca7862a7f1c0e58ab9fef435498ebbb3c [INFO] running `Command { std: "docker" "start" "-a" "49a7f98fb15cab6cb097b0d2f1967ebca7862a7f1c0e58ab9fef435498ebbb3c", kill_on_drop: false }` [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking array2d v0.3.2 [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | return lines; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 22 ~ lines [INFO] [stdout] 23 | } [INFO] [stdout] ... [INFO] [stdout] 27 | } [INFO] [stdout] 28 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | return Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 26 ~ Vec::new() [INFO] [stdout] 27 | } [INFO] [stdout] 28 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> common/src/lib.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 31 - pub fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] 31 + pub fn lines_to_grid_of_chars(lines: &[String]) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/lib.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | return lines; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 22 ~ lines [INFO] [stdout] 23 | } [INFO] [stdout] ... [INFO] [stdout] 27 | } [INFO] [stdout] 28 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> common/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | return Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 26 ~ Vec::new() [INFO] [stdout] 27 | } [INFO] [stdout] 28 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> common/src/lib.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 31 - pub fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] 31 + pub fn lines_to_grid_of_chars(lines: &[String]) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_02 v0.1.0 (/opt/rustwide/workdir/day_02) [INFO] [stderr] Checking day_07 v0.1.0 (/opt/rustwide/workdir/day_07) [INFO] [stderr] Checking day_05 v0.1.0 (/opt/rustwide/workdir/day_05) [INFO] [stderr] Checking day_03 v0.1.0 (/opt/rustwide/workdir/day_03) [INFO] [stderr] Checking day_01 v0.1.0 (/opt/rustwide/workdir/day_01) [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_05/src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn from_lines(lines: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 17 - fn from_lines(lines: &Vec) -> Self { [INFO] [stdout] 17 + fn from_lines(lines: &[String]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let nums: Vec = parse_numbers(&line, "|"); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(s) = rules.get_mut(&a) { [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | s.insert(b.clone()); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | rules.insert(a.clone(), HashSet::from([b.clone()])); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | rules.insert(a.clone(), HashSet::from([b.clone()])); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | sequences.push(parse_numbers(&line, ",")); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | if is_good(&seq, &data.rules) { [INFO] [stdout] | ^^^^ help: change this to: `seq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_05/src/main.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_good(nums: &Vec, rules: &HashMap>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 60 - fn is_good(nums: &Vec, rules: &HashMap>) -> bool { [INFO] [stdout] 60 + fn is_good(nums: &[i32], rules: &HashMap>) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_02/src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn count_safe(lines: &Vec, is_safe_predicate: F) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 11 - fn count_safe(lines: &Vec, is_safe_predicate: F) -> i32 [INFO] [stdout] 11 + fn count_safe(lines: &[String], is_safe_predicate: F) -> i32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_02/src/main.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let levels = parse_line(&line); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_02/src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 43 - fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] 43 + fn is_safe(levels: &[i32]) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> day_02/src/main.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_02/src/main.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|(_, value)| value.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try dereferencing it: `*value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match can be simplified with `.unwrap_or_default()` [INFO] [stdout] --> day_07/src/main.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | Operator::Multiply => match a.checked_mul(b) { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 25 | | Some(val) => val, [INFO] [stdout] 26 | | None => 0, [INFO] [stdout] 27 | | }, [INFO] [stdout] | |_________^ help: replace it with: `a.checked_mul(b).unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | components: &Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 33 - components: &Vec, [INFO] [stdout] 33 + components: &[i64], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `op_sequences` [INFO] [stdout] --> day_07/src/main.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | for i in 0..op_sequences.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 41 - for i in 0..op_sequences.len() { [INFO] [stdout] 41 + for in &op_sequences { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 30 - fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 30 + fn find_similarity_score(numbers_1: &[i32], numbers_2: &Vec) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_op(seq: &Vec>, index: usize) -> Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 56 - fn get_op(seq: &Vec>, index: usize) -> Operator { [INFO] [stdout] 56 + fn get_op(seq: &[Option], index: usize) -> Operator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 30 - fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 30 + fn find_similarity_score(numbers_1: &Vec, numbers_2: &[i32]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | fn put_value(v: &mut Vec>, op: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 85 - fn put_value(v: &mut Vec>, op: Operator) { [INFO] [stdout] 85 + fn put_value(v: &mut [Option], op: Operator) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `v` [INFO] [stdout] --> day_07/src/main.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | for i in 0..v.len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 86 - for i in 0..v.len() { [INFO] [stdout] 86 + for in &mut v { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day_04 v0.1.0 (/opt/rustwide/workdir/day_04) [INFO] [stderr] Checking day_06 v0.1.0 (/opt/rustwide/workdir/day_06) [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_02/src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | fn count_safe(lines: &Vec, is_safe_predicate: F) -> i32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 11 - fn count_safe(lines: &Vec, is_safe_predicate: F) -> i32 [INFO] [stdout] 11 + fn count_safe(lines: &[String], is_safe_predicate: F) -> i32 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_02/src/main.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | let levels = parse_line(&line); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_01/src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(count) = frequencies.get(&number) { [INFO] [stdout] | ^^^^^^^ help: change this to: `number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_01/src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(count) = frequencies.get(&number) { [INFO] [stdout] | ^^^^^^^ help: change this to: `number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 52 - fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 52 + fn find_total_distance(numbers_1: &[i32], numbers_2: &Vec) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 52 - fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 52 + fn find_total_distance(numbers_1: &Vec, numbers_2: &[i32]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_02/src/main.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 43 - fn is_safe(levels: &Vec) -> bool { [INFO] [stdout] 43 + fn is_safe(levels: &[i32]) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 30 - fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 30 + fn find_similarity_score(numbers_1: &[i32], numbers_2: &Vec) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> day_02/src/main.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_02/src/main.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | .map(|(_, value)| value.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: try dereferencing it: `*value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:30:59 [INFO] [stdout] | [INFO] [stdout] 30 | fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 30 - fn find_similarity_score(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 30 + fn find_similarity_score(numbers_1: &Vec, numbers_2: &[i32]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_01/src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | if let Some(count) = frequencies.get(&number) { [INFO] [stdout] | ^^^^^^^ help: change this to: `number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_01/src/main.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(count) = frequencies.get(&number) { [INFO] [stdout] | ^^^^^^^ help: change this to: `number` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_05/src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn from_lines(lines: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 17 - fn from_lines(lines: &Vec) -> Self { [INFO] [stdout] 17 + fn from_lines(lines: &[String]) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | let nums: Vec = parse_numbers(&line, "|"); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(s) = rules.get_mut(&a) { [INFO] [stdout] | ^^ help: change this to: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | s.insert(b.clone()); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | rules.insert(a.clone(), HashSet::from([b.clone()])); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `i32` which implements the `Copy` trait [INFO] [stdout] --> day_05/src/main.rs:36:60 [INFO] [stdout] | [INFO] [stdout] 36 | rules.insert(a.clone(), HashSet::from([b.clone()])); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | sequences.push(parse_numbers(&line, ",")); [INFO] [stdout] | ^^^^^ help: change this to: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_05/src/main.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | if is_good(&seq, &data.rules) { [INFO] [stdout] | ^^^^ help: change this to: `seq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 52 - fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 52 + fn find_total_distance(numbers_1: &[i32], numbers_2: &Vec) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_01/src/main.rs:52:57 [INFO] [stdout] | [INFO] [stdout] 52 | fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 52 - fn find_total_distance(numbers_1: &Vec, numbers_2: &Vec) -> i32 { [INFO] [stdout] 52 + fn find_total_distance(numbers_1: &Vec, numbers_2: &[i32]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_05/src/main.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn is_good(nums: &Vec, rules: &HashMap>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 60 - fn is_good(nums: &Vec, rules: &HashMap>) -> bool { [INFO] [stdout] 60 + fn is_good(nums: &[i32], rules: &HashMap>) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match can be simplified with `.unwrap_or_default()` [INFO] [stdout] --> day_07/src/main.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | Operator::Multiply => match a.checked_mul(b) { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 25 | | Some(val) => val, [INFO] [stdout] 26 | | None => 0, [INFO] [stdout] 27 | | }, [INFO] [stdout] | |_________^ help: replace it with: `a.checked_mul(b).unwrap_or_default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default [INFO] [stdout] = note: `#[warn(clippy::manual_unwrap_or_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> day_03/src/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if !fancy || (fancy && enabled) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 50 - if !fancy || (fancy && enabled) { [INFO] [stdout] 50 + if !(fancy && !enabled) { [INFO] [stdout] | [INFO] [stdout] 50 - if !fancy || (fancy && enabled) { [INFO] [stdout] 50 + if !fancy || enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | components: &Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 33 - components: &Vec, [INFO] [stdout] 33 + components: &[i64], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `op_sequences` [INFO] [stdout] --> day_07/src/main.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | for i in 0..op_sequences.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 41 - for i in 0..op_sequences.len() { [INFO] [stdout] 41 + for in &op_sequences { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_op(seq: &Vec>, index: usize) -> Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 56 - fn get_op(seq: &Vec>, index: usize) -> Operator { [INFO] [stdout] 56 + fn get_op(seq: &[Option], index: usize) -> Operator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> day_03/src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(_) = re_do.captures(p) { [INFO] [stdout] | -------^^^^^^^-------------------- help: try: `if re_do.captures(p).is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> day_03/src/main.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(_) = re_dont.captures(p) { [INFO] [stdout] | -------^^^^^^^---------------------- help: try: `if re_dont.captures(p).is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&mut Vec` instead of `&mut [_]` involves a new object where a slice will do [INFO] [stdout] --> day_07/src/main.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | fn put_value(v: &mut Vec>, op: Operator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 85 - fn put_value(v: &mut Vec>, op: Operator) { [INFO] [stdout] 85 + fn put_value(v: &mut [Option], op: Operator) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `v` [INFO] [stdout] --> day_07/src/main.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | for i in 0..v.len() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 86 - for i in 0..v.len() { [INFO] [stdout] 86 + for in &mut v { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> day_03/src/main.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if !fancy || (fancy && enabled) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 50 - if !fancy || (fancy && enabled) { [INFO] [stdout] 50 + if !(fancy && !enabled) { [INFO] [stdout] | [INFO] [stdout] 50 - if !fancy || (fancy && enabled) { [INFO] [stdout] 50 + if !fancy || enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> day_03/src/main.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(_) = re_do.captures(p) { [INFO] [stdout] | -------^^^^^^^-------------------- help: try: `if re_do.captures(p).is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] = note: `#[warn(clippy::redundant_pattern_matching)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant pattern matching, consider using `is_some()` [INFO] [stdout] --> day_03/src/main.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(_) = re_dont.captures(p) { [INFO] [stdout] | -------^^^^^^^---------------------- help: try: `if re_dont.captures(p).is_some()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | obstacle_map: obstacle_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `obstacle_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | visited_map: visited_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `visited_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | obstacle_map: obstacle_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `obstacle_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> day_06/src/main.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | visited_map: visited_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `visited_map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> day_06/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 92 | let res = i >= 0 && i < n_rows && j >= 0 && j < n_cols; [INFO] [stdout] | ------------------------------------------------------- unnecessary `let` binding [INFO] [stdout] 93 | [INFO] [stdout] 94 | res [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 92 ~ [INFO] [stdout] 93 | [INFO] [stdout] 94 ~ i >= 0 && i < n_rows && j >= 0 && j < n_cols [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> day_04/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `usize::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> day_06/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 92 | let res = i >= 0 && i < n_rows && j >= 0 && j < n_cols; [INFO] [stdout] | ------------------------------------------------------- unnecessary `let` binding [INFO] [stdout] 93 | [INFO] [stdout] 94 | res [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 92 ~ [INFO] [stdout] 93 | [INFO] [stdout] 94 ~ i >= 0 && i < n_rows && j >= 0 && j < n_cols [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let mut current_i = i.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut current_j = j.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let mut current_i = i.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let mut current_j = j.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_04/src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | let count_seq = count_xmas(&seq); [INFO] [stdout] | ^^^^ help: change this to: `seq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_04/src/main.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | fn count_xmas(seq: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 88 - fn count_xmas(seq: &Vec) -> i32 { [INFO] [stdout] 88 + fn count_xmas(seq: &[char]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_04/src/main.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 97 - fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] 97 + fn lines_to_grid_of_chars(lines: &[String]) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: importing legacy numeric constants [INFO] [stdout] --> day_04/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import [INFO] [stdout] = note: then `usize::` will resolve to the respective associated constant [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let mut current_i = i.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut current_j = j.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | let mut current_i = i.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let mut current_j = j.clone(); [INFO] [stdout] | ^^^^^^^^^ help: try dereferencing it: `*j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `usize` which implements the `Copy` trait [INFO] [stdout] --> day_04/src/main.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | seq.push(grid[(current_i.clone(), current_j.clone())]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `current_j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> day_04/src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | let count_seq = count_xmas(&seq); [INFO] [stdout] | ^^^^ help: change this to: `seq` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_04/src/main.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | fn count_xmas(seq: &Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 88 - fn count_xmas(seq: &Vec) -> i32 { [INFO] [stdout] 88 + fn count_xmas(seq: &[char]) -> i32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do [INFO] [stdout] --> day_04/src/main.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 97 - fn lines_to_grid_of_chars(lines: &Vec) -> Vec> { [INFO] [stdout] 97 + fn lines_to_grid_of_chars(lines: &[String]) -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "49a7f98fb15cab6cb097b0d2f1967ebca7862a7f1c0e58ab9fef435498ebbb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a7f98fb15cab6cb097b0d2f1967ebca7862a7f1c0e58ab9fef435498ebbb3c", kill_on_drop: false }` [INFO] [stdout] 49a7f98fb15cab6cb097b0d2f1967ebca7862a7f1c0e58ab9fef435498ebbb3c