[INFO] cloning repository https://github.com/onesk/aoc2018
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onesk/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonesk%2Faoc2018", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonesk%2Faoc2018'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6d09c9b38d7e8a6b0653e13a929e2661253ac31
[INFO] checking onesk/aoc2018 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonesk%2Faoc2018" "/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/onesk/aoc2018
[INFO] finished tweaking git repo https://github.com/onesk/aoc2018
[INFO] tweaked toml for git repo https://github.com/onesk/aoc2018 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/onesk/aoc2018 on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/onesk/aoc2018 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f06bb3d3466341ad5e88c57afd8b9d5ddfb7ab58671dbc2579f781e7d23efcb0
[INFO] running `Command { std: "docker" "start" "-a" "f06bb3d3466341ad5e88c57afd8b9d5ddfb7ab58671dbc2579f781e7d23efcb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f06bb3d3466341ad5e88c57afd8b9d5ddfb7ab58671dbc2579f781e7d23efcb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f06bb3d3466341ad5e88c57afd8b9d5ddfb7ab58671dbc2579f781e7d23efcb0", kill_on_drop: false }`
[INFO] [stdout] f06bb3d3466341ad5e88c57afd8b9d5ddfb7ab58671dbc2579f781e7d23efcb0
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eac05f59d4c2a5bcb35855d372fc93cde8193154aaa1210241cac19591a88caf
[INFO] running `Command { std: "docker" "start" "-a" "eac05f59d4c2a5bcb35855d372fc93cde8193154aaa1210241cac19591a88caf", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling ndarray v0.12.1
[INFO] [stderr]     Checking time v0.1.40
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking num-integer v0.1.39
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking aoc2018 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/bin/7.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Some(ch @ 'A'...'Z') => Some(Letter(ch as u8 - 'A' as u8)),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `date` is never read
[INFO] [stdout]   --> src/bin/4.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Span {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 63 |     date: NaiveDate,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Span` has a derived impl for the trait `Debug`, but this is 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: static variable `re_prefix` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     static ref re_prefix: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 18 -     static ref re_prefix: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout] 18 +     static ref RE_PREFIX: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_guard` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     static ref re_guard: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 19 -     static ref re_guard: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout] 19 +     static ref RE_GUARD: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_sleep` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     static ref re_sleep: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 20 -     static ref re_sleep: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout] 20 +     static ref RE_SLEEP: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_awake` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     static ref re_awake: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 -     static ref re_awake: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout] 21 +     static ref RE_AWAKE: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:129:95
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let (best_minute, _) = stats[best_guard_id].freqs.iter().enumerate().max_by_key(|(_, f)| f.clone()).expect("max freq exists");
[INFO] [stdout]     |                                                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:138:104
[INFO] [stdout]     |
[INFO] [stdout] 138 | ...   .map(|(guard_id, Stats{ freqs, .. })| (guard_id, freqs.iter().enumerate().max_by_key(|(_, f)| f.clone()).expect("max freq exi...
[INFO] [stdout]     |                                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |         .max_by_key(|(_, (_, f))| f.clone()).expect("best guard exists");
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/bin/7.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |             Some(ch @ 'A'...'Z') => Some(Letter(ch as u8 - 'A' as u8)),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `date` is never read
[INFO] [stdout]   --> src/bin/4.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct Span {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 63 |     date: NaiveDate,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Span` has a derived impl for the trait `Debug`, but this is 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: static variable `re_prefix` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |     static ref re_prefix: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 18 -     static ref re_prefix: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout] 18 +     static ref RE_PREFIX: Regex = Regex::new(RE_PREFIX).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_guard` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     static ref re_guard: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 19 -     static ref re_guard: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout] 19 +     static ref RE_GUARD: Regex = Regex::new(RE_GUARD).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_sleep` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     static ref re_sleep: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 20 -     static ref re_sleep: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout] 20 +     static ref RE_SLEEP: Regex = Regex::new(RE_SLEEP).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `re_awake` should have an upper case name
[INFO] [stdout]   --> src/bin/4.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |     static ref re_awake: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 -     static ref re_awake: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout] 21 +     static ref RE_AWAKE: Regex = Regex::new(RE_AWAKE).expect("regex should compile");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `line_re` should have an upper case name
[INFO] [stdout]   --> src/bin/7.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     static ref line_re: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 -     static ref line_re: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout] 12 +     static ref LINE_RE: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:129:95
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let (best_minute, _) = stats[best_guard_id].freqs.iter().enumerate().max_by_key(|(_, f)| f.clone()).expect("max freq exists");
[INFO] [stdout]     |                                                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:138:104
[INFO] [stdout]     |
[INFO] [stdout] 138 | ...   .map(|(guard_id, Stats{ freqs, .. })| (guard_id, freqs.iter().enumerate().max_by_key(|(_, f)| f.clone()).expect("max freq exi...
[INFO] [stdout]     |                                                                                                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&usize` instead of cloning the inner type
[INFO] [stdout]    --> src/bin/4.rs:139:36
[INFO] [stdout]     |
[INFO] [stdout] 139 |         .max_by_key(|(_, (_, f))| f.clone()).expect("best guard exists");
[INFO] [stdout]     |                                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `line_re` should have an upper case name
[INFO] [stdout]   --> src/bin/7.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |     static ref line_re: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 -     static ref line_re: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout] 12 +     static ref LINE_RE: Regex = Regex::new("Step (.) must be finished before step (.) can begin.")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s
[INFO] running `Command { std: "docker" "inspect" "eac05f59d4c2a5bcb35855d372fc93cde8193154aaa1210241cac19591a88caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eac05f59d4c2a5bcb35855d372fc93cde8193154aaa1210241cac19591a88caf", kill_on_drop: false }`
[INFO] [stdout] eac05f59d4c2a5bcb35855d372fc93cde8193154aaa1210241cac19591a88caf
