[INFO] cloning repository https://github.com/br0uQ/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/br0uQ/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr0uQ%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr0uQ%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa5260c78e0b884567cc73d818279e54b05c585e [INFO] checking br0uQ/advent_of_code against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbr0uQ%2Fadvent_of_code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/br0uQ/advent_of_code [INFO] finished tweaking git repo https://github.com/br0uQ/advent_of_code [INFO] tweaked toml for git repo https://github.com/br0uQ/advent_of_code written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/br0uQ/advent_of_code on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/br0uQ/advent_of_code 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7de54888153631dc608a2253c1a2a4882e7e6d8b4138760b1c07a98462a9fd [INFO] running `Command { std: "docker" "start" "-a" "ef7de54888153631dc608a2253c1a2a4882e7e6d8b4138760b1c07a98462a9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7de54888153631dc608a2253c1a2a4882e7e6d8b4138760b1c07a98462a9fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7de54888153631dc608a2253c1a2a4882e7e6d8b4138760b1c07a98462a9fd", kill_on_drop: false }` [INFO] [stdout] ef7de54888153631dc608a2253c1a2a4882e7e6d8b4138760b1c07a98462a9fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7408f7c030d88e6437e1b9c1454b1c029bfbc29ac8619aa0e94adf28907f56d0 [INFO] running `Command { std: "docker" "start" "-a" "7408f7c030d88e6437e1b9c1454b1c029bfbc29ac8619aa0e94adf28907f56d0", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, and `rc::Rc` [INFO] [stdout] --> src/day_08.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, time::Instant, rc::Rc, cell::RefCell, borrow::BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, and `rc::Rc` [INFO] [stdout] --> src/day_08.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, time::Instant, rc::Rc, cell::RefCell, borrow::BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zcount` is never read [INFO] [stdout] --> src/day_08.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let mut zcount: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_08.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions = instructions_string.chars(); [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: unused variable: `instructions` [INFO] [stdout] --> src/day_08.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions = instructions_string.chars(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zcount` is never read [INFO] [stdout] --> src/day_08.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let mut zcount: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_08.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions = instructions_string.chars(); [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: unused variable: `instructions` [INFO] [stdout] --> src/day_08.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut instructions = instructions_string.chars(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day_08.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part2(input: String) { [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 `count_z` is never used [INFO] [stdout] --> src/day_08.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn count_z(nodes: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_end_with_z` is never used [INFO] [stdout] --> src/day_08.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn all_end_with_z(nodes: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_first_nodes` is never used [INFO] [stdout] --> src/day_08.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_first_nodes(nodes: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day_08.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn part2(input: String) { [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 `count_z` is never used [INFO] [stdout] --> src/day_08.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn count_z(nodes: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_end_with_z` is never used [INFO] [stdout] --> src/day_08.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn all_end_with_z(nodes: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_first_nodes` is never used [INFO] [stdout] --> src/day_08.rs:283:4 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_first_nodes(nodes: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "7408f7c030d88e6437e1b9c1454b1c029bfbc29ac8619aa0e94adf28907f56d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7408f7c030d88e6437e1b9c1454b1c029bfbc29ac8619aa0e94adf28907f56d0", kill_on_drop: false }` [INFO] [stdout] 7408f7c030d88e6437e1b9c1454b1c029bfbc29ac8619aa0e94adf28907f56d0