[INFO] cloning repository https://github.com/Dockheas23/AdventOfCode2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dockheas23/AdventOfCode2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDockheas23%2FAdventOfCode2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDockheas23%2FAdventOfCode2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7ca06e8fda415fdb8090c4755689aa7cef9aae7 [INFO] checking Dockheas23/AdventOfCode2022/d7ca06e8fda415fdb8090c4755689aa7cef9aae7 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDockheas23%2FAdventOfCode2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dockheas23/AdventOfCode2022 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dockheas23/AdventOfCode2022 [INFO] finished tweaking git repo https://github.com/Dockheas23/AdventOfCode2022 [INFO] tweaked toml for git repo https://github.com/Dockheas23/AdventOfCode2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dockheas23/AdventOfCode2022 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acff2d946519ce39ba5f4bdf444031f409f48f3956a6d641a031c6046f2e140c [INFO] running `Command { std: "docker" "start" "-a" "acff2d946519ce39ba5f4bdf444031f409f48f3956a6d641a031c6046f2e140c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acff2d946519ce39ba5f4bdf444031f409f48f3956a6d641a031c6046f2e140c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acff2d946519ce39ba5f4bdf444031f409f48f3956a6d641a031c6046f2e140c", kill_on_drop: false }` [INFO] [stdout] acff2d946519ce39ba5f4bdf444031f409f48f3956a6d641a031c6046f2e140c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b85bdd305310aa3c65d3cff152c64a95b297e389ee8935e999bb09b91d0d63e1 [INFO] running `Command { std: "docker" "start" "-a" "b85bdd305310aa3c65d3cff152c64a95b297e389ee8935e999bb09b91d0d63e1", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/q12.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut start_vertex = &mut map[start.0][start.1]; [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/q12.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut end_vertex = &mut map[goal.0][goal.1]; [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/q12.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut neighbour_vertex = &mut map[neighbour.0][neighbour.1]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `HashSet<&str>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/q16.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 65 | fn do_part_1(input: Input) -> usize { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | &HashSet::new(), [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: variable does not need to be mutable [INFO] [stdout] --> src/q12.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut start_vertex = &mut map[start.0][start.1]; [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/q12.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut end_vertex = &mut map[goal.0][goal.1]; [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/q12.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let mut neighbour_vertex = &mut map[neighbour.0][neighbour.1]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/q07.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | File(usize, String, u32), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | File(usize, (), u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/q16.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | struct Edge(String, String, usize); [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 | struct Edge((), String, ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/q19/strategy.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Strategy { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 6 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `HashSet<&str>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/q16.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 65 | fn do_part_1(input: Input) -> usize { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | &HashSet::new(), [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2022` (bin "advent_of_code_2022") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/q07.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | File(usize, String, u32), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | File(usize, (), u32), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `2` are never read [INFO] [stdout] --> src/q16.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | struct Edge(String, String, usize); [INFO] [stdout] | ---- ^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 12 | struct Edge((), String, ()); [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/q19/strategy.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Strategy { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 6 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2022` (bin "advent_of_code_2022" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b85bdd305310aa3c65d3cff152c64a95b297e389ee8935e999bb09b91d0d63e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85bdd305310aa3c65d3cff152c64a95b297e389ee8935e999bb09b91d0d63e1", kill_on_drop: false }` [INFO] [stdout] b85bdd305310aa3c65d3cff152c64a95b297e389ee8935e999bb09b91d0d63e1