[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc2018-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc2018-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0e8cd7663f872045920b6a58cc181c8c6573c6d5f92dae58a22aa4c2489fd65 [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" "e0e8cd7663f872045920b6a58cc181c8c6573c6d5f92dae58a22aa4c2489fd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0e8cd7663f872045920b6a58cc181c8c6573c6d5f92dae58a22aa4c2489fd65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0e8cd7663f872045920b6a58cc181c8c6573c6d5f92dae58a22aa4c2489fd65", kill_on_drop: false }` [INFO] [stdout] e0e8cd7663f872045920b6a58cc181c8c6573c6d5f92dae58a22aa4c2489fd65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f284e674fc0488c4745508890aaad5e55d713ba4adbd54fe0be79138fa3f9d3 [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" "5f284e674fc0488c4745508890aaad5e55d713ba4adbd54fe0be79138fa3f9d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [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] [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] [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] [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] [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] [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] [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 12.14s [INFO] running `Command { std: "docker" "inspect" "5f284e674fc0488c4745508890aaad5e55d713ba4adbd54fe0be79138fa3f9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f284e674fc0488c4745508890aaad5e55d713ba4adbd54fe0be79138fa3f9d3", kill_on_drop: false }` [INFO] [stdout] 5f284e674fc0488c4745508890aaad5e55d713ba4adbd54fe0be79138fa3f9d3