[INFO] cloning repository https://github.com/JamesWP/aoc2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesWP/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesWP%2Faoc2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesWP%2Faoc2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f15a33151e0d5e42abf8e419ff85caa2e7f215ae
[INFO] checking JamesWP/aoc2020 against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesWP%2Faoc2020" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JamesWP/aoc2020
[INFO] finished tweaking git repo https://github.com/JamesWP/aoc2020
[INFO] tweaked toml for git repo https://github.com/JamesWP/aoc2020 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JamesWP/aoc2020 on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JamesWP/aoc2020 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 004e54d4fe00ee72912839892129323e779a33ba9ba07b947bace1f585b9f77a
[INFO] running `Command { std: "docker" "start" "-a" "004e54d4fe00ee72912839892129323e779a33ba9ba07b947bace1f585b9f77a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "004e54d4fe00ee72912839892129323e779a33ba9ba07b947bace1f585b9f77a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "004e54d4fe00ee72912839892129323e779a33ba9ba07b947bace1f585b9f77a", kill_on_drop: false }`
[INFO] [stdout] 004e54d4fe00ee72912839892129323e779a33ba9ba07b947bace1f585b9f77a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cbd13bf477e4515e441b332662d25ad58d9c4cf906c9f7610701e3f32ed22e76
[INFO] running `Command { std: "docker" "start" "-a" "cbd13bf477e4515e441b332662d25ad58d9c4cf906c9f7610701e3f32ed22e76", kill_on_drop: false }`
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking aoc2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]  --> src/day19.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, fs};
[INFO] [stdout]   |                                 ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day19.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut rule_map: HashMap<i32, &str> = rules.split("\n").map(|rule| {
[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 `compute_regex` is never used
[INFO] [stdout]  --> src/day19.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn compute_regex<'a>(rule: i32, rule_map: &HashMap<i32, &'a str>) -> 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 `create_regex` is never used
[INFO] [stdout]   --> src/day19.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn create_regex(rules: &str, start: i32) -> Regex {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/day19.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut rule_map: HashMap<i32, &str> = rules.split("\n").map(|rule| {
[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: `input`
[INFO] [stdout]   --> src/day19.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let (rules, input) = contents.split("\n\n").collect_tuple().unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `regex`
[INFO] [stdout]   --> src/day19.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let regex = create_regex(rules, 8);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `regex`
[INFO] [stdout]   --> src/day19.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let regex = create_regex(rules, 11);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_regex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] running `Command { std: "docker" "inspect" "cbd13bf477e4515e441b332662d25ad58d9c4cf906c9f7610701e3f32ed22e76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbd13bf477e4515e441b332662d25ad58d9c4cf906c9f7610701e3f32ed22e76", kill_on_drop: false }`
[INFO] [stdout] cbd13bf477e4515e441b332662d25ad58d9c4cf906c9f7610701e3f32ed22e76
