[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 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falocquet%2Faoc-2018" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alocquet/aoc-2018 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79fcc8896f3daac6396add6345324c66ba8ee1f431ffe09a78c113ff21887b11 [INFO] running `Command { std: "docker" "start" "-a" "79fcc8896f3daac6396add6345324c66ba8ee1f431ffe09a78c113ff21887b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fcc8896f3daac6396add6345324c66ba8ee1f431ffe09a78c113ff21887b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fcc8896f3daac6396add6345324c66ba8ee1f431ffe09a78c113ff21887b11", kill_on_drop: false }` [INFO] [stdout] 79fcc8896f3daac6396add6345324c66ba8ee1f431ffe09a78c113ff21887b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a78ed88fd6b653109b825a044a9fdfa62a177ad8282dd1207725c9fbb422fdbd [INFO] running `Command { std: "docker" "start" "-a" "a78ed88fd6b653109b825a044a9fdfa62a177ad8282dd1207725c9fbb422fdbd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.8 [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 atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [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: `docsrs`, `feature`, and `test` and 31 more [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: 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/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)]` (part of `#[warn(unused)]`) 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: 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)].ex... [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)].ex... [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)].ex... [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)].ex... [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: `docsrs`, `feature`, and `test` and 31 more [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: 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/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)]` (part of `#[warn(unused)]`) 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: 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)].ex... [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)].ex... [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)].ex... [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)].ex... [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_left_matches('.').trim_right_matches('.')); [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_right_matches('.')); [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_left_matches('.').trim_right_matches('.')); [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_right_matches('.')); [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day03.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse(value: &str) -> Captures { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn parse(value: &str) -> Captures<'_> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 72 - static ref regex: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] 72 + static ref REGEX: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day04.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(value: &str) -> Captures { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(value: &str) -> Captures<'_> { [INFO] [stdout] | ++++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [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] 77 + static ref REGEX: Regex = Regex::new(r"^\[.*? (\d\d):(\d\d)\] (Guard #(\d+) begins shift|wakes up|falls asleep)$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day07.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_node(&self) -> Ref> { self.node.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn get_node(&self) -> Ref<'_, Option> { self.node.borrow() } [INFO] [stdout] | +++ [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: 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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - static ref regex: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] 11 + static ref REGEX: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static ref regex: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] 29 + static ref REGEX: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day03.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse(value: &str) -> Captures { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn parse(value: &str) -> Captures<'_> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 72 - static ref regex: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] 72 + static ref REGEX: Regex = Regex::new(r"^#(\d+?) @ (\d+?),(\d+?): (\d+?)x(\d+?)$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day04.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(value: &str) -> Captures { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | fn parse(value: &str) -> Captures<'_> { [INFO] [stdout] | ++++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [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] 77 + static ref REGEX: Regex = Regex::new(r"^\[.*? (\d\d):(\d\d)\] (Guard #(\d+) begins shift|wakes up|falls asleep)$").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algos/day07.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_node(&self) -> Ref> { self.node.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | fn get_node(&self) -> Ref<'_, Option> { self.node.borrow() } [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 11 - static ref regex: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] 11 + static ref REGEX: Regex = Regex::new(r"^(?:Before|After):\s*\[(.*), (.*), (.*), (.*)\]$").expect("Malformed regex"); [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 29 - static ref regex: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] 29 + static ref REGEX: Regex = Regex::new(r"^pos=<(.*?)>, r=(\d*)$").expect("Malformed regex"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.51s [INFO] running `Command { std: "docker" "inspect" "a78ed88fd6b653109b825a044a9fdfa62a177ad8282dd1207725c9fbb422fdbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a78ed88fd6b653109b825a044a9fdfa62a177ad8282dd1207725c9fbb422fdbd", kill_on_drop: false }` [INFO] [stdout] a78ed88fd6b653109b825a044a9fdfa62a177ad8282dd1207725c9fbb422fdbd