[INFO] cloning repository https://github.com/mtrefilek/advent-of-code-2021-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtrefilek/advent-of-code-2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrefilek%2Fadvent-of-code-2021-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrefilek%2Fadvent-of-code-2021-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8219da128ec0198e0194280f9378899feb3e0f5 [INFO] checking mtrefilek/advent-of-code-2021-rust/b8219da128ec0198e0194280f9378899feb3e0f5 against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtrefilek%2Fadvent-of-code-2021-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtrefilek/advent-of-code-2021-rust on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mtrefilek/advent-of-code-2021-rust [INFO] finished tweaking git repo https://github.com/mtrefilek/advent-of-code-2021-rust [INFO] tweaked toml for git repo https://github.com/mtrefilek/advent-of-code-2021-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mtrefilek/advent-of-code-2021-rust 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie_store v0.15.1 [INFO] [stderr] Downloaded publicsuffix v2.1.1 [INFO] [stderr] Downloaded psl-types v2.0.9 [INFO] [stderr] Downloaded reqwest v0.11.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3abe73c0ee5904ef10a5899e002bf355507293d2d017c3d0e09eff580018363b [INFO] running `Command { std: "docker" "start" "-a" "3abe73c0ee5904ef10a5899e002bf355507293d2d017c3d0e09eff580018363b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3abe73c0ee5904ef10a5899e002bf355507293d2d017c3d0e09eff580018363b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abe73c0ee5904ef10a5899e002bf355507293d2d017c3d0e09eff580018363b", kill_on_drop: false }` [INFO] [stdout] 3abe73c0ee5904ef10a5899e002bf355507293d2d017c3d0e09eff580018363b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2acdbc7bb96756fb94be36d6825f84c77fe8c113e158fe9122a4f8b6d653e5 [INFO] running `Command { std: "docker" "start" "-a" "5b2acdbc7bb96756fb94be36d6825f84c77fe8c113e158fe9122a4f8b6d653e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking psl-types v2.0.9 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `max_grad` is never read [INFO] [stdout] --> src/main.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | max_grad = height - h; [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: unused variable: `i` [INFO] [stdout] --> src/main.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:467:26 [INFO] [stdout] | [INFO] [stdout] 467 | Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | Some(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:500:34 [INFO] [stdout] | [INFO] [stdout] 500 | ... Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/main.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut found:char = 'z'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | for (i, char2) in &key { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:528:18 [INFO] [stdout] | [INFO] [stdout] 528 | for (i, char2) in &key { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut found:char = 'z'; [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: `l` [INFO] [stdout] --> src/main.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let l:Vec<&str> = v[0].split(" ").collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let mut until = if b.len() % 2 == 0 { 2 } else { 1 }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | for i in 0 .. 7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | for i in 0 .. 9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | Err(err) => {println!("Error: {}", s); vec[3] += 1;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let x = vec[mod_i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:703:9 [INFO] [stdout] | [INFO] [stdout] 703 | for i in 0 .. 7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | for i in 0 .. 9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | Err(err) => {println!("Error: {}", s); vec[3] += 1;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | let x = vec[mod_i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | let mut lines = resp.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | let mut lines = resp.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_num` is assigned to, but never used [INFO] [stdout] --> src/main.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | let mut last_num = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_num` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index2` is assigned to, but never used [INFO] [stdout] --> src/main.rs:894:25 [INFO] [stdout] | [INFO] [stdout] 894 | let mut index2 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_num` is never read [INFO] [stdout] --> src/main.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 942 | last_num = num_i; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `solved` is never read [INFO] [stdout] --> src/main.rs:943:17 [INFO] [stdout] | [INFO] [stdout] 943 | solved = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 859 | let mut board: Vec> = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:867:21 [INFO] [stdout] | [INFO] [stdout] 867 | let mut tup = (num, false); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:882:13 [INFO] [stdout] | [INFO] [stdout] 882 | for mut board in boards.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | for mut row in board.iter_mut() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_num` is assigned to, but never used [INFO] [stdout] --> src/main.rs:989:13 [INFO] [stdout] | [INFO] [stdout] 989 | let mut last_num = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_num` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index2` is assigned to, but never used [INFO] [stdout] --> src/main.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | let mut index2 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_num` is never read [INFO] [stdout] --> src/main.rs:1055:17 [INFO] [stdout] | [INFO] [stdout] 1055 | last_num = num_i; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `solved` is never read [INFO] [stdout] --> src/main.rs:1056:17 [INFO] [stdout] | [INFO] [stdout] 1056 | solved = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 972 | let mut board: Vec> = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:980:21 [INFO] [stdout] | [INFO] [stdout] 980 | let mut tup = (num, false); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:995:13 [INFO] [stdout] | [INFO] [stdout] 995 | for mut board in boards.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1006:17 [INFO] [stdout] | [INFO] [stdout] 1006 | for mut row in board.iter_mut() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_grad` is never read [INFO] [stdout] --> src/main.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | max_grad = height - h; [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: unused variable: `i` [INFO] [stdout] --> src/main.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:467:26 [INFO] [stdout] | [INFO] [stdout] 467 | Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | Some(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:500:34 [INFO] [stdout] | [INFO] [stdout] 500 | ... Some(i) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> src/main.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | let mut found:char = 'z'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_found` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | for (i, char2) in &key { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:528:18 [INFO] [stdout] | [INFO] [stdout] 528 | for (i, char2) in &key { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut found:char = 'z'; [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: `l` [INFO] [stdout] --> src/main.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let l:Vec<&str> = v[0].split(" ").collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | let mut until = if b.len() % 2 == 0 { 2 } else { 1 }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | for i in 0 .. 7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | for i in 0 .. 9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | Err(err) => {println!("Error: {}", s); vec[3] += 1;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let x = vec[mod_i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:703:9 [INFO] [stdout] | [INFO] [stdout] 703 | for i in 0 .. 7 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | for i in 0 .. 9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | Err(err) => {println!("Error: {}", s); vec[3] += 1;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | let x = vec[mod_i]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | let mut lines = resp.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | let mut lines = resp.lines(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_num` is assigned to, but never used [INFO] [stdout] --> src/main.rs:876:13 [INFO] [stdout] | [INFO] [stdout] 876 | let mut last_num = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_num` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index2` is assigned to, but never used [INFO] [stdout] --> src/main.rs:894:25 [INFO] [stdout] | [INFO] [stdout] 894 | let mut index2 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_num` is never read [INFO] [stdout] --> src/main.rs:942:17 [INFO] [stdout] | [INFO] [stdout] 942 | last_num = num_i; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `solved` is never read [INFO] [stdout] --> src/main.rs:943:17 [INFO] [stdout] | [INFO] [stdout] 943 | solved = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:859:17 [INFO] [stdout] | [INFO] [stdout] 859 | let mut board: Vec> = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:867:21 [INFO] [stdout] | [INFO] [stdout] 867 | let mut tup = (num, false); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:882:13 [INFO] [stdout] | [INFO] [stdout] 882 | for mut board in boards.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:893:17 [INFO] [stdout] | [INFO] [stdout] 893 | for mut row in board.iter_mut() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_num` is assigned to, but never used [INFO] [stdout] --> src/main.rs:989:13 [INFO] [stdout] | [INFO] [stdout] 989 | let mut last_num = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_num` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `index2` is assigned to, but never used [INFO] [stdout] --> src/main.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | let mut index2 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_index2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_num` is never read [INFO] [stdout] --> src/main.rs:1055:17 [INFO] [stdout] | [INFO] [stdout] 1055 | last_num = num_i; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `solved` is never read [INFO] [stdout] --> src/main.rs:1056:17 [INFO] [stdout] | [INFO] [stdout] 1056 | solved = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:972:17 [INFO] [stdout] | [INFO] [stdout] 972 | let mut board: Vec> = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:980:21 [INFO] [stdout] | [INFO] [stdout] 980 | let mut tup = (num, false); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:995:13 [INFO] [stdout] | [INFO] [stdout] 995 | for mut board in boards.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1006:17 [INFO] [stdout] | [INFO] [stdout] 1006 | for mut row in board.iter_mut() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.37s [INFO] running `Command { std: "docker" "inspect" "5b2acdbc7bb96756fb94be36d6825f84c77fe8c113e158fe9122a4f8b6d653e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2acdbc7bb96756fb94be36d6825f84c77fe8c113e158fe9122a4f8b6d653e5", kill_on_drop: false }` [INFO] [stdout] 5b2acdbc7bb96756fb94be36d6825f84c77fe8c113e158fe9122a4f8b6d653e5