[INFO] cloning repository https://github.com/tkhaos/aoc_202112
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tkhaos/aoc_202112" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkhaos%2Faoc_202112", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkhaos%2Faoc_202112'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 279fe6427cca90603ad5c75aa5549caa4ae7ae04
[INFO] checking tkhaos/aoc_202112 against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftkhaos%2Faoc_202112" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tkhaos/aoc_202112
[INFO] finished tweaking git repo https://github.com/tkhaos/aoc_202112
[INFO] tweaked toml for git repo https://github.com/tkhaos/aoc_202112 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tkhaos/aoc_202112 on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tkhaos/aoc_202112 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30cfe5161633efb91ce0bffdf281b4aae280298cc7425a5fd0aa9f70c0318fe1
[INFO] running `Command { std: "docker" "start" "-a" "30cfe5161633efb91ce0bffdf281b4aae280298cc7425a5fd0aa9f70c0318fe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30cfe5161633efb91ce0bffdf281b4aae280298cc7425a5fd0aa9f70c0318fe1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30cfe5161633efb91ce0bffdf281b4aae280298cc7425a5fd0aa9f70c0318fe1", kill_on_drop: false }`
[INFO] [stdout] 30cfe5161633efb91ce0bffdf281b4aae280298cc7425a5fd0aa9f70c0318fe1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7dd92dfd54de3aed3f056e831f039f1a6e86fee8c8c74860944f1f5336a684c1
[INFO] running `Command { std: "docker" "start" "-a" "7dd92dfd54de3aed3f056e831f039f1a6e86fee8c8c74860944f1f5336a684c1", kill_on_drop: false }`
[INFO] [stderr]     Checking aoc_202112 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/solutions/day1.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 depths[(index % _magic_num)] = depth;
[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] 14 -                 depths[(index % _magic_num)] = depth;
[INFO] [stdout] 14 +                 depths[index % _magic_num ] = depth;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/solutions/day1.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 depths[(index % _magic_num)] = depth;
[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] 14 -                 depths[(index % _magic_num)] = depth;
[INFO] [stdout] 14 +                 depths[index % _magic_num ] = depth;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/day3.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut data2 = data.to_vec();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/solutions/day3.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut data2 = data.to_vec();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle` is never used
[INFO] [stdout]  --> src/solutions/day2.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn solve_puzzle() -> i32 {
[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 `solve_puzzle_2` is never used
[INFO] [stdout]   --> src/solutions/day2.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn solve_puzzle_2() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/solutions/day2.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle` is never used
[INFO] [stdout]  --> src/solutions/day2.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn solve_puzzle() -> i32 {
[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 `solve_puzzle` is never used
[INFO] [stdout]  --> src/solutions/day3.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn solve_puzzle() -> u32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_2` is never used
[INFO] [stdout]   --> src/solutions/day2.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn solve_puzzle_2() -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_rating` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_rating(mut data: Vec<String>, f: fn(cnt_one: u32, cnt_zero: u32, c: char) -> bool) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/solutions/day2.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oxy_checker` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn oxy_checker(cnt_one: u32, cnt_zero: u32, c: char) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `co2_checker` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn co2_checker(cnt_one: u32, cnt_zero: u32, c: char) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle` is never used
[INFO] [stdout]  --> src/solutions/day3.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn solve_puzzle() -> u32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_2` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn solve_puzzle_2() -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_rating` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_rating(mut data: Vec<String>, f: fn(cnt_one: u32, cnt_zero: u32, c: char) -> bool) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `oxy_checker` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn oxy_checker(cnt_one: u32, cnt_zero: u32, c: char) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `co2_checker` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn co2_checker(cnt_one: u32, cnt_zero: u32, c: char) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_2` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn solve_puzzle_2() -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/solutions/day3.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] running `Command { std: "docker" "inspect" "7dd92dfd54de3aed3f056e831f039f1a6e86fee8c8c74860944f1f5336a684c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dd92dfd54de3aed3f056e831f039f1a6e86fee8c8c74860944f1f5336a684c1", kill_on_drop: false }`
[INFO] [stdout] 7dd92dfd54de3aed3f056e831f039f1a6e86fee8c8c74860944f1f5336a684c1
