[INFO] cloning repository https://github.com/moamedosama931/advent_of_code_2022_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moamedosama931/advent_of_code_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f2556497e914fefecb98f2671994f5ac4859260 [INFO] building moamedosama931/advent_of_code_2022_rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoamedosama931%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/moamedosama931/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/moamedosama931/advent_of_code_2022_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/moamedosama931/advent_of_code_2022_rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/moamedosama931/advent_of_code_2022_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 968a55d50cab4cc53bf362c6e2623b6fde19cd7464e2300376352fdf6117d758 [INFO] running `Command { std: "docker" "start" "-a" "968a55d50cab4cc53bf362c6e2623b6fde19cd7464e2300376352fdf6117d758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "968a55d50cab4cc53bf362c6e2623b6fde19cd7464e2300376352fdf6117d758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968a55d50cab4cc53bf362c6e2623b6fde19cd7464e2300376352fdf6117d758", kill_on_drop: false }` [INFO] [stdout] 968a55d50cab4cc53bf362c6e2623b6fde19cd7464e2300376352fdf6117d758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1384bf43d1dcbb7b5e2d371c4ce4b1bdc27de464c8f2caadf11a87a73340f83f [INFO] running `Command { std: "docker" "start" "-a" "1384bf43d1dcbb7b5e2d371c4ce4b1bdc27de464c8f2caadf11a87a73340f83f", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day2/day2a.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | result += (total_score as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - result += (total_score as usize); [INFO] [stdout] 23 + result += total_score as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day2/day2b.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | result += (total_score as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - result += (total_score as usize); [INFO] [stdout] 21 + result += total_score as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day1/day1a.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day1/day1b.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day2/day2a.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/day2/day2a.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "1384bf43d1dcbb7b5e2d371c4ce4b1bdc27de464c8f2caadf11a87a73340f83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1384bf43d1dcbb7b5e2d371c4ce4b1bdc27de464c8f2caadf11a87a73340f83f", kill_on_drop: false }` [INFO] [stdout] 1384bf43d1dcbb7b5e2d371c4ce4b1bdc27de464c8f2caadf11a87a73340f83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebe5dc82bc560a6c269e2412cd76b2fcd1bd747c33679ce9fe0800ec5daf7a1b [INFO] running `Command { std: "docker" "start" "-a" "ebe5dc82bc560a6c269e2412cd76b2fcd1bd747c33679ce9fe0800ec5daf7a1b", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day2/day2a.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | result += (total_score as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - result += (total_score as usize); [INFO] [stdout] 23 + result += total_score as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/day2/day2b.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | result += (total_score as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - result += (total_score as usize); [INFO] [stdout] 21 + result += total_score as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day1/day1a.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day1/day1b.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solution` is never used [INFO] [stdout] --> src/day2/day2a.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solution() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/day2/day2a.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn read_lines(filename: &str) -> io::Lines> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "ebe5dc82bc560a6c269e2412cd76b2fcd1bd747c33679ce9fe0800ec5daf7a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe5dc82bc560a6c269e2412cd76b2fcd1bd747c33679ce9fe0800ec5daf7a1b", kill_on_drop: false }` [INFO] [stdout] ebe5dc82bc560a6c269e2412cd76b2fcd1bd747c33679ce9fe0800ec5daf7a1b