[INFO] cloning repository https://github.com/alocquet/aoc-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alocquet/aoc-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falocquet%2Faoc-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falocquet%2Faoc-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56e5ca5ee1fa6166609fa623f56962b7c59d26f7 [INFO] checking alocquet/aoc-2018/56e5ca5ee1fa6166609fa623f56962b7c59d26f7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falocquet%2Faoc-2018" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alocquet/aoc-2018 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alocquet/aoc-2018 [INFO] finished tweaking git repo https://github.com/alocquet/aoc-2018 [INFO] tweaked toml for git repo https://github.com/alocquet/aoc-2018 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alocquet/aoc-2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e1e551b94bd657b5e044f54d9d8a74867c16d2c4f98c02fe45792a77ee7c4a [INFO] running `Command { std: "docker" "start" "-a" "a7e1e551b94bd657b5e044f54d9d8a74867c16d2c4f98c02fe45792a77ee7c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e1e551b94bd657b5e044f54d9d8a74867c16d2c4f98c02fe45792a77ee7c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e1e551b94bd657b5e044f54d9d8a74867c16d2c4f98c02fe45792a77ee7c4a", kill_on_drop: false }` [INFO] [stdout] a7e1e551b94bd657b5e044f54d9d8a74867c16d2c4f98c02fe45792a77ee7c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 569713a3d0cb426b551acd1b0bdfb94d48b7e8cc7e5710ca7ce602d022ad8fe8 [INFO] running `Command { std: "docker" "start" "-a" "569713a3d0cb426b551acd1b0bdfb94d48b7e8cc7e5710ca7ce602d022ad8fe8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memchr v2.1.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking aoc-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day03.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day04.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day04.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day05.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] 21 + let coord = areas[(x - min.x)][y - min.y]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] 21 + let coord = areas[x - min.x][(y - min.y)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] 60 + areas[(x - min.x)][y - min.y] = Some(min_dist_node); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] 60 + areas[x - min.x][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day09.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day11.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day11.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day21.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day21.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day22.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][point.x].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[point.y - 1][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:118 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][point.x - 1].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:107 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[point.y][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day03.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day04.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day04.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day05.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] 21 + let coord = areas[(x - min.x)][y - min.y]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - let coord = areas[(x - min.x)][(y - min.y)]; [INFO] [stdout] 21 + let coord = areas[x - min.x][(y - min.y)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] 60 + areas[(x - min.x)][y - min.y] = Some(min_dist_node); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day06.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - areas[(x - min.x)][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] 60 + areas[x - min.x][(y - min.y)] = Some(min_dist_node); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day09.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day11.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day11.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day21.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day21.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/algos/day22.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][point.x].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[point.y - 1][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:118 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][point.x - 1].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/algos/day22.rs:28:107 [INFO] [stdout] | [INFO] [stdout] 28 | ... erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect(... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[(point.y)][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] 28 + erosion_levels[(point.y - 1)][(point.x)].expect("previous erosion not computed") * erosion_levels[point.y][(point.x - 1)].expect("previous erosion not computed") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/algos/day12.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_right_matches('.')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_start_matches('.').trim_right_matches('.')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/algos/day12.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_right_matches('.')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_end_matches('.')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/algos/day12.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_right_matches('.')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_start_matches('.').trim_right_matches('.')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/algos/day12.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_right_matches('.')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 28 | tmp.push_str(current_state.trim_left_matches('.').trim_end_matches('.')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day03.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | for (idx1, mut claim1) in claims.iter().enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day03.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | for (_idx2, mut claim2) in claims[idx1 + 1..].iter().enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day04.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut minutes = &minutes_by_guard[&night.guard]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day06.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut sum: usize = coordinates [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day03.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | for (idx1, mut claim1) in claims.iter().enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day03.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | for (_idx2, mut claim2) in claims[idx1 + 1..].iter().enumerate() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day04.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut minutes = &minutes_by_guard[&night.guard]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algos/day06.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut sum: usize = coordinates [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hour` is never read [INFO] [stdout] --> src/algos/day04.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Period { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 63 | hour: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/algos/day07.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constellation` is never constructed [INFO] [stdout] --> src/algos/day25.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Constellation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day03.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | static ref regex: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day04.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | static ref regex: Regex = Regex::new(r"^\[.*? (\d\d):(\d\d)\] (Guard #(\d+) begins shift|wakes up|falls asleep)$").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day16/model.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | static ref regex: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day23/model.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | static ref regex: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hour` is never read [INFO] [stdout] --> src/algos/day04.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Period { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 63 | hour: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Period` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/algos/day07.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 123 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constellation` is never constructed [INFO] [stdout] --> src/algos/day25.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Constellation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day03.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | static ref regex: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day04.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | static ref regex: Regex = Regex::new(r"^\[.*? (\d\d):(\d\d)\] (Guard #(\d+) begins shift|wakes up|falls asleep)$").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day16/model.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | static ref regex: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `regex` should have an upper case name [INFO] [stdout] --> src/algos/day23/model.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | static ref regex: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `REGEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.22s [INFO] running `Command { std: "docker" "inspect" "569713a3d0cb426b551acd1b0bdfb94d48b7e8cc7e5710ca7ce602d022ad8fe8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "569713a3d0cb426b551acd1b0bdfb94d48b7e8cc7e5710ca7ce602d022ad8fe8", kill_on_drop: false }` [INFO] [stdout] 569713a3d0cb426b551acd1b0bdfb94d48b7e8cc7e5710ca7ce602d022ad8fe8