[INFO] cloning repository https://github.com/yiuminghuynh/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yiuminghuynh/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b2f246321e01cff6ba88ffff72573609cce47ce [INFO] checking yiuminghuynh/aoc2022 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyiuminghuynh%2Faoc2022" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yiuminghuynh/aoc2022 on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] finished tweaking git repo https://github.com/yiuminghuynh/aoc2022 [INFO] tweaked toml for git repo https://github.com/yiuminghuynh/aoc2022 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yiuminghuynh/aoc2022 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e6db594f5a815c436ac06b5202d7638f32465d962fc4edd3c69d11f30f5117 [INFO] running `Command { std: "docker" "start" "-a" "35e6db594f5a815c436ac06b5202d7638f32465d962fc4edd3c69d11f30f5117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e6db594f5a815c436ac06b5202d7638f32465d962fc4edd3c69d11f30f5117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e6db594f5a815c436ac06b5202d7638f32465d962fc4edd3c69d11f30f5117", kill_on_drop: false }` [INFO] [stdout] 35e6db594f5a815c436ac06b5202d7638f32465d962fc4edd3c69d11f30f5117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4c81415a7b3edba8c7f5de7939c0ed97a3954309897519aace0ae7e8b4dd2cd [INFO] running `Command { std: "docker" "start" "-a" "c4c81415a7b3edba8c7f5de7939c0ed97a3954309897519aace0ae7e8b4dd2cd", kill_on_drop: false }` [INFO] [stderr] Checking aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `run_aoc` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn run_aoc() -> Result<(i32, i32), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn process_lines(lines: Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_calorie` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_top_calorie(results: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_three_calorie_total` is never used [INFO] [stdout] --> src/aocs/aoc1.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_top_three_calorie_total(results: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RPS` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum RPS { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Outcome { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_aoc` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn run_aoc() -> Result<(i32, i32), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn process_lines(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_line` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn process_line(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_lines_v2` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn process_lines_v2(lines: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_line_v2` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn process_line_v2(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_char_vec` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn process_char_vec(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn determine_outcome(opponent: RPS, me: RPS) -> Outcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_letter_as_move` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn process_letter_as_move(letter: char) -> RPS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_letter_as_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn process_letter_as_outcome(letter: char) -> Outcome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_move_from_outcome` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn determine_move_from_outcome(opponent: RPS, outcome: Outcome) -> RPS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_move_value` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn determine_move_value(rps: RPS) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_outcome_value` is never used [INFO] [stdout] --> src/aocs/aoc2.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn determine_outcome_value(outcome: Outcome) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/utils.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn read_file(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "c4c81415a7b3edba8c7f5de7939c0ed97a3954309897519aace0ae7e8b4dd2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c81415a7b3edba8c7f5de7939c0ed97a3954309897519aace0ae7e8b4dd2cd", kill_on_drop: false }` [INFO] [stdout] c4c81415a7b3edba8c7f5de7939c0ed97a3954309897519aace0ae7e8b4dd2cd