[INFO] cloning repository https://github.com/LaurentErreca/adventofcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaurentErreca/adventofcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentErreca%2Fadventofcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentErreca%2Fadventofcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70ddde72ae5c570f95163848d6bea66c21bf34da [INFO] checking LaurentErreca/adventofcode against master#7bdae134cba57426d3c56b5de737a351762445e1 for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentErreca%2Fadventofcode" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaurentErreca/adventofcode on toolchain 7bdae134cba57426d3c56b5de737a351762445e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] finished tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] tweaked toml for git repo https://github.com/LaurentErreca/adventofcode written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LaurentErreca/adventofcode 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" "+7bdae134cba57426d3c56b5de737a351762445e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking LaurentErreca/adventofcode against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentErreca%2Fadventofcode" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaurentErreca/adventofcode on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] finished tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] tweaked toml for git repo https://github.com/LaurentErreca/adventofcode written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LaurentErreca/adventofcode 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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking LaurentErreca/adventofcode against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentErreca%2Fadventofcode" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaurentErreca/adventofcode on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] finished tweaking git repo https://github.com/LaurentErreca/adventofcode [INFO] tweaked toml for git repo https://github.com/LaurentErreca/adventofcode written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LaurentErreca/adventofcode 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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [INFO] [stderr] Downloaded curl v0.4.43 [INFO] [stderr] Downloaded curl-sys v0.4.55+curl-7.83.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c66e4f61f417c7655583a14955a65f31ec48df11d78ae54ea4bd19f7d3fa763 [INFO] running `Command { std: "docker" "start" "-a" "0c66e4f61f417c7655583a14955a65f31ec48df11d78ae54ea4bd19f7d3fa763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c66e4f61f417c7655583a14955a65f31ec48df11d78ae54ea4bd19f7d3fa763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c66e4f61f417c7655583a14955a65f31ec48df11d78ae54ea4bd19f7d3fa763", kill_on_drop: false }` [INFO] [stdout] 0c66e4f61f417c7655583a14955a65f31ec48df11d78ae54ea4bd19f7d3fa763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac8dfde0d288a4196a739cfce052f903fcf033c359b9ffa02a11d25faa1141e9 [INFO] running `Command { std: "docker" "start" "-a" "ac8dfde0d288a4196a739cfce052f903fcf033c359b9ffa02a11d25faa1141e9", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling curl-sys v0.4.55+curl-7.83.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking avent2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/solutions/day8.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut a: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/solutions/day8.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut b: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/solutions/day8.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut c: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/solutions/day8.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut d: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/solutions/day8.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut e: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/solutions/day8.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut f: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zero` is never read [INFO] [stdout] --> src/solutions/day8.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut zero: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `two` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut two: &str = ""; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `five` is never read [INFO] [stdout] --> src/solutions/day8.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut five: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `six` is never read [INFO] [stdout] --> src/solutions/day8.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut six: &str = ""; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nine` is never read [INFO] [stdout] --> src/solutions/day8.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut nine: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> src/solutions/day8.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut a: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/solutions/day8.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut b: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `c` is never read [INFO] [stdout] --> src/solutions/day8.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut c: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/solutions/day8.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut d: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `e` is never read [INFO] [stdout] --> src/solutions/day8.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut e: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/solutions/day8.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut f: char = 'x'; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zero` is never read [INFO] [stdout] --> src/solutions/day8.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut zero: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `two` is never read [INFO] [stdout] --> src/solutions/day8.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut two: &str = ""; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `five` is never read [INFO] [stdout] --> src/solutions/day8.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut five: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `six` is never read [INFO] [stdout] --> src/solutions/day8.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut six: &str = ""; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nine` is never read [INFO] [stdout] --> src/solutions/day8.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut nine: &str = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/solutions/day9.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let result: u32 = indexes.iter().map(|x| data[*x]+1).sum::(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/solutions/day9.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let idx: usize = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/solutions/day9.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | for (key, value) in &basins { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/solutions/day9.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let result: u32 = indexes.iter().map(|x| data[*x]+1).sum::(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/solutions/day9.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let idx: usize = 3; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/solutions/day9.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | for (key, value) in &basins { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/day9.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut start_position: usize = indexes[idx]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solutions/day9.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut start_position: usize = indexes[idx]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_row` [INFO] [stdout] --> src/solutions/day11.rs:15:87 [INFO] [stdout] | [INFO] [stdout] 15 | fn increment_data_at_position(data: &mut Vec, x: usize, y: usize, nb_col: usize, nb_row: usize) -> () { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_row` [INFO] [stdout] --> src/solutions/day11.rs:15:87 [INFO] [stdout] | [INFO] [stdout] 15 | fn increment_data_at_position(data: &mut Vec, x: usize, y: usize, nb_col: usize, nb_row: usize) -> () { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | if code.len() == 2 { one = code.clone(); /* println!("one : {:?}", one); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | if code.len() == 4 { four = code.clone(); /* println!("four : {:?}", four); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | if code.len() == 3 { seven = code.clone(); /* println!("seven : {:?}", seven); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | if code.len() == 7 { eight = code.clone(); /* println!("eight : {:?}", eight); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | if code.len() == 2 { one = code.clone(); /* println!("one : {:?}", one); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | if code.len() == 4 { four = code.clone(); /* println!("four : {:?}", four); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | if code.len() == 3 { seven = code.clone(); /* println!("seven : {:?}", seven); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/solutions/day8.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | if code.len() == 7 { eight = code.clone(); /* println!("eight : {:?}", eight); */ } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.74s [INFO] running `Command { std: "docker" "inspect" "ac8dfde0d288a4196a739cfce052f903fcf033c359b9ffa02a11d25faa1141e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8dfde0d288a4196a739cfce052f903fcf033c359b9ffa02a11d25faa1141e9", kill_on_drop: false }` [INFO] [stdout] ac8dfde0d288a4196a739cfce052f903fcf033c359b9ffa02a11d25faa1141e9