[INFO] cloning repository https://github.com/philippfriese/Advent-of-Code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philippfriese/Advent-of-Code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippfriese%2FAdvent-of-Code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippfriese%2FAdvent-of-Code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6da0d9b098df058e37c27fed2f2a4717b35f3ada [INFO] checking philippfriese/Advent-of-Code-2023 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippfriese%2FAdvent-of-Code-2023" "/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/philippfriese/Advent-of-Code-2023 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philippfriese/Advent-of-Code-2023 [INFO] finished tweaking git repo https://github.com/philippfriese/Advent-of-Code-2023 [INFO] tweaked toml for git repo https://github.com/philippfriese/Advent-of-Code-2023 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/philippfriese/Advent-of-Code-2023 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 097f747749928e9d70b59cc8acb9b09c1c86117f0fddab67ddfd093ee3ac9656 [INFO] running `Command { std: "docker" "start" "-a" "097f747749928e9d70b59cc8acb9b09c1c86117f0fddab67ddfd093ee3ac9656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "097f747749928e9d70b59cc8acb9b09c1c86117f0fddab67ddfd093ee3ac9656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097f747749928e9d70b59cc8acb9b09c1c86117f0fddab67ddfd093ee3ac9656", kill_on_drop: false }` [INFO] [stdout] 097f747749928e9d70b59cc8acb9b09c1c86117f0fddab67ddfd093ee3ac9656 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de07da1c80e09592dc584e86f032dd8ab9248617edfceec284fbaaac0f64c943 [INFO] running `Command { std: "docker" "start" "-a" "de07da1c80e09592dc584e86f032dd8ab9248617edfceec284fbaaac0f64c943", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/task_01/task_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/task_02/task_02.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] 79 + game.sets.iter().for_each(|set| r &= *set <= constraint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/task_01/task_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/task_02/task_02.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] 79 + game.sets.iter().for_each(|set| r &= *set <= constraint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/task_01/task_01.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut local_line = line.to_string(); [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/task_01/task_01.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut local_line = line.to_string(); [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: unused variable: `valid` [INFO] [stdout] --> src/task_03/task_03.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let valid = grid_base.as_mut_slice(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_01/task_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/task_01/task_01.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(line: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_01/task_01.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge` and `power` are never used [INFO] [stdout] --> src/task_02/task_02.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 45 | fn merge(&self, other: &Set) -> Set { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `sets` are never read [INFO] [stdout] --> src/task_02/task_02.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 60 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub sets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_02/task_02.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_02/task_02.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/task_03/task_03.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let valid = grid_base.as_mut_slice(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_01/task_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/task_01/task_01.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(line: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_01/task_01.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge` and `power` are never used [INFO] [stdout] --> src/task_02/task_02.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 45 | fn merge(&self, other: &Set) -> Set { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `sets` are never read [INFO] [stdout] --> src/task_02/task_02.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 60 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub sets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_02/task_02.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_02/task_02.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "de07da1c80e09592dc584e86f032dd8ab9248617edfceec284fbaaac0f64c943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de07da1c80e09592dc584e86f032dd8ab9248617edfceec284fbaaac0f64c943", kill_on_drop: false }` [INFO] [stdout] de07da1c80e09592dc584e86f032dd8ab9248617edfceec284fbaaac0f64c943 [INFO] checking philippfriese/Advent-of-Code-2023 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippfriese%2FAdvent-of-Code-2023" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philippfriese/Advent-of-Code-2023 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philippfriese/Advent-of-Code-2023 [INFO] finished tweaking git repo https://github.com/philippfriese/Advent-of-Code-2023 [INFO] tweaked toml for git repo https://github.com/philippfriese/Advent-of-Code-2023 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/philippfriese/Advent-of-Code-2023 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af314203d0bbacc2f12f7d49314b87e1444fe2ab701f7548afb88f01aab84ea [INFO] running `Command { std: "docker" "start" "-a" "6af314203d0bbacc2f12f7d49314b87e1444fe2ab701f7548afb88f01aab84ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af314203d0bbacc2f12f7d49314b87e1444fe2ab701f7548afb88f01aab84ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af314203d0bbacc2f12f7d49314b87e1444fe2ab701f7548afb88f01aab84ea", kill_on_drop: false }` [INFO] [stdout] 6af314203d0bbacc2f12f7d49314b87e1444fe2ab701f7548afb88f01aab84ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 195c6d8424ee2c6c071482895f64adba7c3fea8edeafc76da01e71952ab0e36b [INFO] running `Command { std: "docker" "start" "-a" "195c6d8424ee2c6c071482895f64adba7c3fea8edeafc76da01e71952ab0e36b", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/task_01/task_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/task_01/task_01.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/task_02/task_02.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] 79 + game.sets.iter().for_each(|set| r &= *set <= constraint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/task_02/task_02.rs:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - game.sets.iter().for_each(|set| r &= (*set <= constraint)); [INFO] [stdout] 79 + game.sets.iter().for_each(|set| r &= *set <= constraint); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/task_01/task_01.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut local_line = line.to_string(); [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/task_01/task_01.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut local_line = line.to_string(); [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: unused variable: `valid` [INFO] [stdout] --> src/task_03/task_03.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let valid = grid_base.as_mut_slice(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valid` [INFO] [stdout] --> src/task_03/task_03.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let valid = grid_base.as_mut_slice(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_valid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_01/task_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/task_01/task_01.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(line: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_01/task_01.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge` and `power` are never used [INFO] [stdout] --> src/task_02/task_02.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 45 | fn merge(&self, other: &Set) -> Set { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `sets` are never read [INFO] [stdout] --> src/task_02/task_02.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 60 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub sets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_02/task_02.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_02/task_02.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_01/task_01.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/util.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|x| x.parse::().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/task_01/task_01.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn replace(line: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_01/task_01.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge` and `power` are never used [INFO] [stdout] --> src/task_02/task_02.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Set { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 45 | fn merge(&self, other: &Set) -> Set { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn power(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `sets` are never read [INFO] [stdout] --> src/task_02/task_02.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 60 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | pub sets: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> src/task_02/task_02.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn first(test: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> src/task_02/task_02.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn second(test: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/util.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|x| x.parse::().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "195c6d8424ee2c6c071482895f64adba7c3fea8edeafc76da01e71952ab0e36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195c6d8424ee2c6c071482895f64adba7c3fea8edeafc76da01e71952ab0e36b", kill_on_drop: false }` [INFO] [stdout] 195c6d8424ee2c6c071482895f64adba7c3fea8edeafc76da01e71952ab0e36b