[INFO] cloning repository https://github.com/migerh/aoc2018-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/migerh/aoc2018-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc2018-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc2018-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 566d81609c521a1a5658005f490fde85a9d5bda3 [INFO] checking migerh/aoc2018-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc2018-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc2018-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/migerh/aoc2018-rs [INFO] finished tweaking git repo https://github.com/migerh/aoc2018-rs [INFO] tweaked toml for git repo https://github.com/migerh/aoc2018-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/migerh/aoc2018-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d8a6163616808397ed98111860cce1134b2bf44f1dac8abedd00eaba7fa24472 [INFO] running `Command { std: "docker" "start" "-a" "d8a6163616808397ed98111860cce1134b2bf44f1dac8abedd00eaba7fa24472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8a6163616808397ed98111860cce1134b2bf44f1dac8abedd00eaba7fa24472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a6163616808397ed98111860cce1134b2bf44f1dac8abedd00eaba7fa24472", kill_on_drop: false }` [INFO] [stdout] d8a6163616808397ed98111860cce1134b2bf44f1dac8abedd00eaba7fa24472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2c6061867fd94eee4120f41e96fe4d0bfe61eceb6187ac15041fc84a371896d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f2c6061867fd94eee4120f41e96fe4d0bfe61eceb6187ac15041fc84a371896d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking y2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day16/ops.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn op_map() -> BTreeMap<&'static str, &'static Fn(State, i32, i32, i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(State, i32, i32, i32) -> Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day19/ops.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn op_map() -> BTreeMap<&'static str, &'static Fn(State, i128, i128, i128) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(State, i128, i128, i128) -> Option` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/mod.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day16/ops.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn op_map() -> BTreeMap<&'static str, &'static Fn(State, i32, i32, i32) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(State, i32, i32, i32) -> Option` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/day19/ops.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn op_map() -> BTreeMap<&'static str, &'static Fn(State, i128, i128, i128) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(State, i128, i128, i128) -> Option` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utils/mod.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [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: static variable `REFallsAsleep` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | static ref REFallsAsleep: Regex = Regex::new(r"falls asleep").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `REFALLS_ASLEEP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REWakesUp` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | static ref REWakesUp: Regex = Regex::new(r"wakes up").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `REWAKES_UP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REStarts` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | static ref REStarts: Regex = Regex::new(r"Guard \#(\d+) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RESTARTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REEdge` should have an upper case name [INFO] [stdout] --> src/day7/common.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | static ref REEdge: Regex = Regex::new(r"Step (.) must be finished before step (.) can begin\.").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `REEDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_state` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | static ref RE_state: Regex = Regex::new(r"\[(\d+), (\d+), (\d+), (\d+)\]").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_STATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | static ref RE_instruction: Regex = Regex::new(r"(\d+) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_before` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | static ref RE_before: Regex = Regex::new(r"Before:").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_BEFORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_x` should have an upper case name [INFO] [stdout] --> src/day17/mod.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | static ref RE_x: Regex = Regex::new(r"x=(\d+)(\.\.)?(\d+)?").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case (notice the capitalization): `RE_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_y` should have an upper case name [INFO] [stdout] --> src/day17/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | static ref RE_y: Regex = Regex::new(r"y=(\d+)(\.\.)?(\d+)?").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case (notice the capitalization): `RE_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_ip` should have an upper case name [INFO] [stdout] --> src/day19/problems.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | static ref RE_ip: Regex = Regex::new(r"#ip (\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RE_IP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day19/problems.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | static ref RE_instruction: Regex = Regex::new(r"([a-z]{4}) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_ip` should have an upper case name [INFO] [stdout] --> src/day21/problems.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | static ref RE_ip: Regex = Regex::new(r"#ip (\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RE_IP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day21/problems.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | static ref RE_instruction: Regex = Regex::new(r"([a-z]{4}) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_bot` should have an upper case name [INFO] [stdout] --> src/day23/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | static ref RE_bot: Regex = Regex::new(r"pos=<(-?\d+),(-?\d+),(-?\d+)>, r=(\d+)").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RE_BOT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_weak` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | static ref RE_weak: Regex = Regex::new(r"weak to (\w+),?\s?(\w+)?,?\s?(\w+)?,?\s?(\w+)?").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RE_WEAK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_immune` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | static ref RE_immune: Regex = Regex::new(r"immune to (\w+),?\s?(\w+)?,?\s?(\w+)?,?\s?(\w+)?").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_IMMUNE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_group` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | static ref RE_group: Regex = Regex::new(r"(\d+) units each with (\d+) hit points (\(.*\))? with an attack that does (\d+) (\w+) damag... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_GROUP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_group_nospecial` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | static ref RE_group_nospecial: Regex = Regex::new(r"(\d+) units each with (\d+) hit points (with) an attack that does (\d+) (\w+) dam... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_GROUP_NOSPECIAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REFallsAsleep` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | static ref REFallsAsleep: Regex = Regex::new(r"falls asleep").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `REFALLS_ASLEEP` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REWakesUp` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | static ref REWakesUp: Regex = Regex::new(r"wakes up").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `REWAKES_UP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REStarts` should have an upper case name [INFO] [stdout] --> src/day4/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | static ref REStarts: Regex = Regex::new(r"Guard \#(\d+) begins shift").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RESTARTS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `REEdge` should have an upper case name [INFO] [stdout] --> src/day7/common.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | static ref REEdge: Regex = Regex::new(r"Step (.) must be finished before step (.) can begin\.").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `REEDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_state` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | static ref RE_state: Regex = Regex::new(r"\[(\d+), (\d+), (\d+), (\d+)\]").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_STATE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | static ref RE_instruction: Regex = Regex::new(r"(\d+) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_before` should have an upper case name [INFO] [stdout] --> src/day16/problems.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | static ref RE_before: Regex = Regex::new(r"Before:").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_BEFORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_x` should have an upper case name [INFO] [stdout] --> src/day17/mod.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | static ref RE_x: Regex = Regex::new(r"x=(\d+)(\.\.)?(\d+)?").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case (notice the capitalization): `RE_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_y` should have an upper case name [INFO] [stdout] --> src/day17/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | static ref RE_y: Regex = Regex::new(r"y=(\d+)(\.\.)?(\d+)?").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case (notice the capitalization): `RE_Y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_ip` should have an upper case name [INFO] [stdout] --> src/day19/problems.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | static ref RE_ip: Regex = Regex::new(r"#ip (\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RE_IP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day19/problems.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | static ref RE_instruction: Regex = Regex::new(r"([a-z]{4}) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_ip` should have an upper case name [INFO] [stdout] --> src/day21/problems.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | static ref RE_ip: Regex = Regex::new(r"#ip (\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RE_IP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_instruction` should have an upper case name [INFO] [stdout] --> src/day21/problems.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | static ref RE_instruction: Regex = Regex::new(r"([a-z]{4}) (\d+) (\d+) (\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_INSTRUCTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_bot` should have an upper case name [INFO] [stdout] --> src/day23/mod.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | static ref RE_bot: Regex = Regex::new(r"pos=<(-?\d+),(-?\d+),(-?\d+)>, r=(\d+)").unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `RE_BOT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_weak` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | static ref RE_weak: Regex = Regex::new(r"weak to (\w+),?\s?(\w+)?,?\s?(\w+)?,?\s?(\w+)?").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RE_WEAK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_immune` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | static ref RE_immune: Regex = Regex::new(r"immune to (\w+),?\s?(\w+)?,?\s?(\w+)?,?\s?(\w+)?").unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_IMMUNE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_group` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | static ref RE_group: Regex = Regex::new(r"(\d+) units each with (\d+) hit points (\(.*\))? with an attack that does (\d+) (\w+) damag... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_GROUP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `RE_group_nospecial` should have an upper case name [INFO] [stdout] --> src/day24/parse.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | static ref RE_group_nospecial: Regex = Regex::new(r"(\d+) units each with (\d+) hit points (with) an attack that does (\d+) (\w+) dam... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_GROUP_NOSPECIAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "f2c6061867fd94eee4120f41e96fe4d0bfe61eceb6187ac15041fc84a371896d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2c6061867fd94eee4120f41e96fe4d0bfe61eceb6187ac15041fc84a371896d", kill_on_drop: false }` [INFO] [stdout] f2c6061867fd94eee4120f41e96fe4d0bfe61eceb6187ac15041fc84a371896d