[INFO] cloning repository https://github.com/janglada/advent-of-code2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janglada/advent-of-code2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanglada%2Fadvent-of-code2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanglada%2Fadvent-of-code2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f952573fef2deaa80000e27ff81705eae85e773 [INFO] checking janglada/advent-of-code2020 against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanglada%2Fadvent-of-code2020" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janglada/advent-of-code2020 on toolchain 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janglada/advent-of-code2020 [INFO] finished tweaking git repo https://github.com/janglada/advent-of-code2020 [INFO] tweaked toml for git repo https://github.com/janglada/advent-of-code2020 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/janglada/advent-of-code2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "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] fd9a335aa2456dc2a1fbc73fc251231c01e832d91fa095a4c21677a11e0340cb [INFO] running `Command { std: "docker" "start" "-a" "fd9a335aa2456dc2a1fbc73fc251231c01e832d91fa095a4c21677a11e0340cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9a335aa2456dc2a1fbc73fc251231c01e832d91fa095a4c21677a11e0340cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9a335aa2456dc2a1fbc73fc251231c01e832d91fa095a4c21677a11e0340cb", kill_on_drop: false }` [INFO] [stdout] fd9a335aa2456dc2a1fbc73fc251231c01e832d91fa095a4c21677a11e0340cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c5929e0d7c3999999f5c1fe0f0e04b8c3d63973bfdcc3f0409ff57a811f444e [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" "6c5929e0d7c3999999f5c1fe0f0e04b8c3d63973bfdcc3f0409ff57a811f444e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking advent_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day4.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `ErrorKind`, `Read` [INFO] [stdout] --> src/day4.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/day4.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/day4.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/day4.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `ErrorKind`, `Read` [INFO] [stdout] --> src/day4.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/day4.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day6.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | count.iter().filter(|&(c, n)| *n == num_person).count() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/day4.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, Error, ErrorKind, Read}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/day6.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | count.iter().filter(|&(c, n)| *n == num_person).count() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_iyr` [INFO] [stdout] --> src/day4.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn validate_iyr(text: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport1` [INFO] [stdout] --> src/day4.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn validate_passport1(text: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_six` [INFO] [stdout] --> src/day6.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day_six() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_answers` [INFO] [stdout] --> src/day6.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn count_answers(question: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_iyr` [INFO] [stdout] --> src/day4.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn validate_iyr(text: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_passport1` [INFO] [stdout] --> src/day4.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn validate_passport1(text: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day_six` [INFO] [stdout] --> src/day6.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn day_six() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | day4::day_four(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `byr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | static ref byr_present: Regex = Regex::new(r"\bbyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `BYR_PRESENT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iyr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | static ref iyr_present: Regex = Regex::new(r"\biyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `IYR_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `eyr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | static ref eyr_present: Regex = Regex::new(r"\beyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EYR_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hgt_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | static ref hgt_present: Regex = Regex::new(r"\bhgt\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `HGT_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hcl_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | static ref hcl_present: Regex = Regex::new(r"\bhcl\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `HCL_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ecl_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | static ref ecl_present: Regex = Regex::new(r"\becl\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ECL_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pid_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | static ref pid_present: Regex = Regex::new(r"\bpid\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PID_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `byr` should have an upper case name [INFO] [stdout] --> src/day4.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | static ref byr: Regex = Regex::new(r"\bbyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `BYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iyr` should have an upper case name [INFO] [stdout] --> src/day4.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | static ref iyr: Regex = Regex::new(r"\biyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `IYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `eyr` should have an upper case name [INFO] [stdout] --> src/day4.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | static ref eyr: Regex = Regex::new(r"\beyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hgt` should have an upper case name [INFO] [stdout] --> src/day4.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | static ref hgt: Regex = Regex::new(r"\bhgt\s*:\s*(\d+)(in|cm)\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `HGT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hcl` should have an upper case name [INFO] [stdout] --> src/day4.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | static ref hcl: Regex = Regex::new(r"\bhcl\s*:\s*(#[0-9a-f]{6})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `HCL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ecl` should have an upper case name [INFO] [stdout] --> src/day4.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | static ref ecl: Regex = Regex::new(r"\becl\s*:\s*(amb|blu|brn|gry|grn|hzl|oth)\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ECL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pid` should have an upper case name [INFO] [stdout] --> src/day4.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | static ref pid: Regex = Regex::new(r"\bpid\s*:\s*(\d{9})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `PID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | day4::day_four(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `byr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | static ref byr_present: Regex = Regex::new(r"\bbyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `BYR_PRESENT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iyr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | static ref iyr_present: Regex = Regex::new(r"\biyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `IYR_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `eyr_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | static ref eyr_present: Regex = Regex::new(r"\beyr\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `EYR_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hgt_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | static ref hgt_present: Regex = Regex::new(r"\bhgt\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `HGT_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hcl_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | static ref hcl_present: Regex = Regex::new(r"\bhcl\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `HCL_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ecl_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | static ref ecl_present: Regex = Regex::new(r"\becl\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ECL_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pid_present` should have an upper case name [INFO] [stdout] --> src/day4.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | static ref pid_present: Regex = Regex::new(r"\bpid\s*:").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PID_PRESENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `byr` should have an upper case name [INFO] [stdout] --> src/day4.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | static ref byr: Regex = Regex::new(r"\bbyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `BYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `iyr` should have an upper case name [INFO] [stdout] --> src/day4.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | static ref iyr: Regex = Regex::new(r"\biyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `IYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `eyr` should have an upper case name [INFO] [stdout] --> src/day4.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | static ref eyr: Regex = Regex::new(r"\beyr\s*:\s*(\d{4})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `EYR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hgt` should have an upper case name [INFO] [stdout] --> src/day4.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | static ref hgt: Regex = Regex::new(r"\bhgt\s*:\s*(\d+)(in|cm)\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `HGT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `hcl` should have an upper case name [INFO] [stdout] --> src/day4.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | static ref hcl: Regex = Regex::new(r"\bhcl\s*:\s*(#[0-9a-f]{6})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `HCL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `ecl` should have an upper case name [INFO] [stdout] --> src/day4.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | static ref ecl: Regex = Regex::new(r"\becl\s*:\s*(amb|blu|brn|gry|grn|hzl|oth)\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `ECL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `pid` should have an upper case name [INFO] [stdout] --> src/day4.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | static ref pid: Regex = Regex::new(r"\bpid\s*:\s*(\d{9})\b").unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `PID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "6c5929e0d7c3999999f5c1fe0f0e04b8c3d63973bfdcc3f0409ff57a811f444e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c5929e0d7c3999999f5c1fe0f0e04b8c3d63973bfdcc3f0409ff57a811f444e", kill_on_drop: false }` [INFO] [stdout] 6c5929e0d7c3999999f5c1fe0f0e04b8c3d63973bfdcc3f0409ff57a811f444e