[INFO] cloning repository https://github.com/tshradheya/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tshradheya/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftshradheya%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftshradheya%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 514a144640f37c185c0fc3db767121202c68c0ba [INFO] checking tshradheya/advent-of-code-2022 against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftshradheya%2Fadvent-of-code-2022" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tshradheya/advent-of-code-2022 on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tshradheya/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/tshradheya/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/tshradheya/advent-of-code-2022 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tshradheya/advent-of-code-2022 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39d3dc993dbcc1b992c1ca93ae97b1ba3f5c3524259148e9385b2df8e03b957a [INFO] running `Command { std: "docker" "start" "-a" "39d3dc993dbcc1b992c1ca93ae97b1ba3f5c3524259148e9385b2df8e03b957a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d3dc993dbcc1b992c1ca93ae97b1ba3f5c3524259148e9385b2df8e03b957a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d3dc993dbcc1b992c1ca93ae97b1ba3f5c3524259148e9385b2df8e03b957a", kill_on_drop: false }` [INFO] [stdout] 39d3dc993dbcc1b992c1ca93ae97b1ba3f5c3524259148e9385b2df8e03b957a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7942590b65a06d4161814b9c511b2b481499493714df9bb51b1a7d1bb901a6dc [INFO] running `Command { std: "docker" "start" "-a" "7942590b65a06d4161814b9c511b2b481499493714df9bb51b1a7d1bb901a6dc", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | for j in 0..2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | for (idx_j,j) in i.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut temp_grid = grid.clone(); [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/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut is_satisfied = left_score * right_score * up_score * down_score; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | for (idx_j,j) in i.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut temp_grid = grid.clone(); [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:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | let mut is_satisfied = is_satisfied_1 || is_satisfied_2 || is_satisfied_3 || is_satisfied_4; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `abd` is never read [INFO] [stdout] --> src/main.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | let mut abd = ""; [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: `j` [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | for j in 0..2 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | for (idx_j,j) in i.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let mut abc = final_path.clone().to_owned(); [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:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | let mut val = hash_map.get(&*abc).unwrap(); [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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut temp_grid = grid.clone(); [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/main.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut is_satisfied = left_score * right_score * up_score * down_score; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | for (idx_j,j) in i.into_iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut temp_grid = grid.clone(); [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:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | let mut is_satisfied = is_satisfied_1 || is_satisfied_2 || is_satisfied_3 || is_satisfied_4; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `abd` is never read [INFO] [stdout] --> src/main.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | let mut abd = ""; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | let mut abc = final_path.clone().to_owned(); [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:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | let mut val = hash_map.get(&*abc).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q8b` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn y2022q8b(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q8` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn y2022q8(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q7` is never used [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn y2022q7(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q5` is never used [INFO] [stdout] --> src/main.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn y2022q5(input: Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q4a` is never used [INFO] [stdout] --> src/main.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn y2022q4a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q3b` is never used [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn y2022q3b() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q3a` is never used [INFO] [stdout] --> src/main.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn y2022q3a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_scored` is never used [INFO] [stdout] --> src/main.rs:455:4 [INFO] [stdout] | [INFO] [stdout] 455 | fn points_scored(opponent: &str, me: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_scoreds2` is never used [INFO] [stdout] --> src/main.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn points_scoreds2(opponent: &str, me: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q2a` is never used [INFO] [stdout] --> src/main.rs:528:4 [INFO] [stdout] | [INFO] [stdout] 528 | fn y2022q2a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q1a` is never used [INFO] [stdout] --> src/main.rs:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | fn y2022q1a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2020` is never used [INFO] [stdout] --> src/main.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | fn y2020() -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q8b` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn y2022q8b(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q8` is never used [INFO] [stdout] --> src/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn y2022q8(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q7` is never used [INFO] [stdout] --> src/main.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn y2022q7(input: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q5` is never used [INFO] [stdout] --> src/main.rs:293:4 [INFO] [stdout] | [INFO] [stdout] 293 | fn y2022q5(input: Vec) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q4a` is never used [INFO] [stdout] --> src/main.rs:338:4 [INFO] [stdout] | [INFO] [stdout] 338 | fn y2022q4a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q3b` is never used [INFO] [stdout] --> src/main.rs:378:4 [INFO] [stdout] | [INFO] [stdout] 378 | fn y2022q3b() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q3a` is never used [INFO] [stdout] --> src/main.rs:421:4 [INFO] [stdout] | [INFO] [stdout] 421 | fn y2022q3a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_scored` is never used [INFO] [stdout] --> src/main.rs:455:4 [INFO] [stdout] | [INFO] [stdout] 455 | fn points_scored(opponent: &str, me: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_scoreds2` is never used [INFO] [stdout] --> src/main.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn points_scoreds2(opponent: &str, me: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q2a` is never used [INFO] [stdout] --> src/main.rs:528:4 [INFO] [stdout] | [INFO] [stdout] 528 | fn y2022q2a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2022q1a` is never used [INFO] [stdout] --> src/main.rs:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | fn y2022q1a() -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `y2020` is never used [INFO] [stdout] --> src/main.rs:591:4 [INFO] [stdout] | [INFO] [stdout] 591 | fn y2020() -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "7942590b65a06d4161814b9c511b2b481499493714df9bb51b1a7d1bb901a6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7942590b65a06d4161814b9c511b2b481499493714df9bb51b1a7d1bb901a6dc", kill_on_drop: false }` [INFO] [stdout] 7942590b65a06d4161814b9c511b2b481499493714df9bb51b1a7d1bb901a6dc