[INFO] cloning repository https://github.com/tweedegolf/hashcode2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tweedegolf/hashcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweedegolf%2Fhashcode2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweedegolf%2Fhashcode2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ced22fcb20c61fb2b3f7f863402f13b6666c404c
[INFO] checking tweedegolf/hashcode2021 against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftweedegolf%2Fhashcode2021" "/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/tweedegolf/hashcode2021
[INFO] finished tweaking git repo https://github.com/tweedegolf/hashcode2021
[INFO] tweaked toml for git repo https://github.com/tweedegolf/hashcode2021 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tweedegolf/hashcode2021 on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tweedegolf/hashcode2021 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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b744dfdc523e533092466e1e444958227bebf98dab0ef32707ec1eeec3056909
[INFO] running `Command { std: "docker" "start" "-a" "b744dfdc523e533092466e1e444958227bebf98dab0ef32707ec1eeec3056909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b744dfdc523e533092466e1e444958227bebf98dab0ef32707ec1eeec3056909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b744dfdc523e533092466e1e444958227bebf98dab0ef32707ec1eeec3056909", kill_on_drop: false }`
[INFO] [stdout] b744dfdc523e533092466e1e444958227bebf98dab0ef32707ec1eeec3056909
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 023fa9af9af5441e563936e0b876c8a1c6501b0a9cd9e94c24a2efc6dee015bd
[INFO] running `Command { std: "docker" "start" "-a" "023fa9af9af5441e563936e0b876c8a1c6501b0a9cd9e94c24a2efc6dee015bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking rand_core v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.3
[INFO] [stderr]     Checking hashcode2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/street_count.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[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: `LightPeriod` and `read_problem`
[INFO] [stdout]  --> src/write_solution.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{read_problem, Problem, Solution, LightPeriod};
[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 import: `rand::seq::IteratorRandom`
[INFO] [stdout]  --> src/street_count.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::seq::IteratorRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/street_count.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/street_count.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom`
[INFO] [stdout]  --> src/street_count.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::seq::IteratorRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/street_count.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/street_count.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/street_count.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/street_count.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut rng = rand::thread_rng();
[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/street_count.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut rng = rand::thread_rng();
[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: `rng`
[INFO] [stdout]  --> src/street_count.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut rng = rand::thread_rng();
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]  --> src/street_count.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut rng = rand::thread_rng();
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `b` is never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Street {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     b: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Street` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/baseline.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/ignore_unused.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score` is never used
[INFO] [stdout]  --> src/score.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn score(problem: &crate::Problem, solution: &crate::Solution) -> usize {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_street` is never used
[INFO] [stdout]   --> src/score.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_active_street(schedule: &Vec<crate::LightPeriod>, current_time: usize) -> Option<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step` is never used
[INFO] [stdout]   --> src/score.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn step(problem: &crate::Problem, solution: &crate::Solution, current_time: usize, queue: &mut Vec<RefCell<VecDeque<(usize, usize)>>>...
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/random.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `b` is never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Street {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     b: usize,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Street` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/baseline.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/ignore_unused.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `score` is never used
[INFO] [stdout]  --> src/score.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn score(problem: &crate::Problem, solution: &crate::Solution) -> usize {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_street` is never used
[INFO] [stdout]   --> src/score.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn get_active_street(schedule: &Vec<crate::LightPeriod>, current_time: usize) -> Option<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `step` is never used
[INFO] [stdout]   --> src/score.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn step(problem: &crate::Problem, solution: &crate::Solution, current_time: usize, queue: &mut Vec<RefCell<VecDeque<(usize, usize)>>>...
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve` is never used
[INFO] [stdout]  --> src/random.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn solve(problem: &Problem) -> Solution {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "023fa9af9af5441e563936e0b876c8a1c6501b0a9cd9e94c24a2efc6dee015bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "023fa9af9af5441e563936e0b876c8a1c6501b0a9cd9e94c24a2efc6dee015bd", kill_on_drop: false }`
[INFO] [stdout] 023fa9af9af5441e563936e0b876c8a1c6501b0a9cd9e94c24a2efc6dee015bd
