[INFO] cloning repository https://github.com/Lynxens/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/Lynxens/advent_of_code_2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxens%2Fadvent_of_code_2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxens%2Fadvent_of_code_2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f07c8e1110d2c849407ae549f5b9766024690e1f [INFO] checking Lynxens/advent_of_code_2023/f07c8e1110d2c849407ae549f5b9766024690e1f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLynxens%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/Lynxens/advent_of_code_2023 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lynxens/advent_of_code_2023 [INFO] finished tweaking git repo https://github.com/Lynxens/advent_of_code_2023 [INFO] tweaked toml for git repo https://github.com/Lynxens/advent_of_code_2023 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lynxens/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84217b4c3e76f646ab960d9ae1ff10827f69fc3b8a0520176b0d707e22307e1 [INFO] running `Command { std: "docker" "start" "-a" "f84217b4c3e76f646ab960d9ae1ff10827f69fc3b8a0520176b0d707e22307e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84217b4c3e76f646ab960d9ae1ff10827f69fc3b8a0520176b0d707e22307e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84217b4c3e76f646ab960d9ae1ff10827f69fc3b8a0520176b0d707e22307e1", kill_on_drop: false }` [INFO] [stdout] f84217b4c3e76f646ab960d9ae1ff10827f69fc3b8a0520176b0d707e22307e1 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ecfc4e1f98f433793f370865753cfa03a001bc2d81d00868945615c8c019813 [INFO] running `Command { std: "docker" "start" "-a" "8ecfc4e1f98f433793f370865753cfa03a001bc2d81d00868945615c8c019813", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Compiling z3-sys v0.8.1 [INFO] [stderr] Checking z3 v0.12.1 [INFO] [stderr] Checking advent_of_code_2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_boundary_coordinates` [INFO] [stdout] --> src/bin/day16.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use advent_of_code_2023::{Coordinate, Direction, get_boundary_coordinates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/day21.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | .filter(|&(c, &steps)| steps % 2 == 0 && steps > offset_in_corners) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/day21.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | .filter(|&(c, &steps)| steps % 2 == 1 && steps > offset_in_corners) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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/bin/day1.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | let re = Regex::new(r"\D*(?:(?P\d).*(?P\d)\D*|(?P\d)\D*)").unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | / re [INFO] [stdout] 46 | | .captures_iter(data) [INFO] [stdout] 47 | | .map(|c| { [INFO] [stdout] 48 | | let single = c.name("single"); [INFO] [stdout] ... | [INFO] [stdout] 52 | | format!("{first}{last}").parse::().unwrap() [INFO] [stdout] 53 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2023` (bin "day1" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/bin/day3.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | let symbol_indices: HashSet = HashSet::from_iter( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Regex::new(r"\d+") [INFO] [stdout] 34 | | .unwrap() [INFO] [stdout] 35 | | .find_iter(grid) [INFO] [stdout] 36 | | .filter(|m| { [INFO] [stdout] ... | [INFO] [stdout] 53 | | }) [INFO] [stdout] 54 | | .map(|m| m.as_str().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/day3.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 79 | let part_numbers: HashSet<&i32> = HashSet::from_iter( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | / part_numbers [INFO] [stdout] 100 | | .into_iter() [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2023` (bin "day3" test) due to 3 previous errors [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/bin/day3.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | let symbol_indices: HashSet = HashSet::from_iter( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Regex::new(r"\d+") [INFO] [stdout] 34 | | .unwrap() [INFO] [stdout] 35 | | .find_iter(grid) [INFO] [stdout] 36 | | .filter(|m| { [INFO] [stdout] ... | [INFO] [stdout] 53 | | }) [INFO] [stdout] 54 | | .map(|m| m.as_str().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bin/day3.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 79 | let part_numbers: HashSet<&i32> = HashSet::from_iter( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | / part_numbers [INFO] [stdout] 100 | | .into_iter() [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cost` is never used [INFO] [stdout] --> src/bin/day23.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl DistanceMap { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn get_cost(&self, path: &Path) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2023` (bin "day3") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8ecfc4e1f98f433793f370865753cfa03a001bc2d81d00868945615c8c019813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ecfc4e1f98f433793f370865753cfa03a001bc2d81d00868945615c8c019813", kill_on_drop: false }` [INFO] [stdout] 8ecfc4e1f98f433793f370865753cfa03a001bc2d81d00868945615c8c019813