[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc2018-rs" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc2018-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-107/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 027f3963982fa1a802b4256c728e6bad25445c3da21580de05d40042e8ace2fe [INFO] running `Command { std: "docker" "start" "-a" "027f3963982fa1a802b4256c728e6bad25445c3da21580de05d40042e8ace2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "027f3963982fa1a802b4256c728e6bad25445c3da21580de05d40042e8ace2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "027f3963982fa1a802b4256c728e6bad25445c3da21580de05d40042e8ace2fe", kill_on_drop: false }` [INFO] [stdout] 027f3963982fa1a802b4256c728e6bad25445c3da21580de05d40042e8ace2fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c42b52606c39fdba2224a19046bfcd9b001ea437f40d0e8ba204450663df3a4 [INFO] running `Command { std: "docker" "start" "-a" "2c42b52606c39fdba2224a19046bfcd9b001ea437f40d0e8ba204450663df3a4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/day16/ops.rs (1 fix) [INFO] [stderr] Fixed src/utils/mod.rs (1 fix) [INFO] [stderr] Fixed src/day19/ops.rs (1 fix) [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: 18 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.09s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking y2018 v0.1.0 (/tmp/fixit) [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: 18 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "2c42b52606c39fdba2224a19046bfcd9b001ea437f40d0e8ba204450663df3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c42b52606c39fdba2224a19046bfcd9b001ea437f40d0e8ba204450663df3a4", kill_on_drop: false }` [INFO] [stdout] 2c42b52606c39fdba2224a19046bfcd9b001ea437f40d0e8ba204450663df3a4