[INFO] cloning repository https://github.com/jcowgill/aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcowgill/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3fe6a91f0aba0fd8e721ad2683e5f853b69bd5f [INFO] checking jcowgill/aoc against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcowgill%2Faoc" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcowgill/aoc on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcowgill/aoc [INFO] finished tweaking git repo https://github.com/jcowgill/aoc [INFO] tweaked toml for git repo https://github.com/jcowgill/aoc written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jcowgill/aoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40a97ae56816ab7d43432f64a469317cb554b326813f5493e189db2f24f6d424 [INFO] running `Command { std: "docker" "start" "-a" "40a97ae56816ab7d43432f64a469317cb554b326813f5493e189db2f24f6d424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40a97ae56816ab7d43432f64a469317cb554b326813f5493e189db2f24f6d424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a97ae56816ab7d43432f64a469317cb554b326813f5493e189db2f24f6d424", kill_on_drop: false }` [INFO] [stdout] 40a97ae56816ab7d43432f64a469317cb554b326813f5493e189db2f24f6d424 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e18b4bde5c0590f4affed6dfd1da0c6d924daae1b484257ca6b0789a6a05dc8e [INFO] running `Command { std: "docker" "start" "-a" "e18b4bde5c0590f4affed6dfd1da0c6d924daae1b484257ca6b0789a6a05dc8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/yr2017/day19.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | 'A'...'Z' => CellValue::Letter(c as u8 - 'A' as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/yr2017/day19.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | 'A'...'Z' => CellValue::Letter(c as u8 - 'A' as u8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/yr2017/day7.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/yr2017/day7.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/yr2017/day7.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/yr2017/day7.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | let weight = name_weight[1].trim_right().trim_right_matches(')').trim(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/yr2017/day16.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | (left.parse().unwrap(), right.trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/yr2017/day16.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | (left.parse().unwrap(), right.trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `guard_re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | static ref guard_re: Regex = Regex::new(r"^Guard #([0-9]*) begins shift$").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `GUARD_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | static ref re: Regex = Regex::new(r"^\s*\[([0-9-]* [0-9]*):([0-9]*)\]\s*(.*)$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day7.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | static ref re: Regex = Regex::new("^Step ([A-Z]) must be finished before step ([A-Z]) can begin.$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day9.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | static ref re: Regex = Regex::new("^([0-9]+) players; last marble is worth ([0-9]+) points$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day10.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | static ref re: Regex = [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `guard_re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | static ref guard_re: Regex = Regex::new(r"^Guard #([0-9]*) begins shift$").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `GUARD_RE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day4.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | static ref re: Regex = Regex::new(r"^\s*\[([0-9-]* [0-9]*):([0-9]*)\]\s*(.*)$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day7.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | static ref re: Regex = Regex::new("^Step ([A-Z]) must be finished before step ([A-Z]) can begin.$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day9.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | static ref re: Regex = Regex::new("^([0-9]+) players; last marble is worth ([0-9]+) points$").unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re` should have an upper case name [INFO] [stdout] --> src/yr2018/day10.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | static ref re: Regex = [INFO] [stdout] | ^^ help: convert the identifier to upper case: `RE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | ... println!("{}", stars[index].1(stdin.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | ... println!("{}", stars[index].1(stdin.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> tests/main.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(output_data.trim(), func(input_data.trim_right())); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.73s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e18b4bde5c0590f4affed6dfd1da0c6d924daae1b484257ca6b0789a6a05dc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18b4bde5c0590f4affed6dfd1da0c6d924daae1b484257ca6b0789a6a05dc8e", kill_on_drop: false }` [INFO] [stdout] e18b4bde5c0590f4affed6dfd1da0c6d924daae1b484257ca6b0789a6a05dc8e