[INFO] cloning repository https://github.com/McAJBen/advent_of_code_2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McAJBen/advent_of_code_2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcAJBen%2Fadvent_of_code_2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcAJBen%2Fadvent_of_code_2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd66ff22f99992ea24b0b2cca3d9cfda58f6f2e9 [INFO] checking McAJBen/advent_of_code_2021/dd66ff22f99992ea24b0b2cca3d9cfda58f6f2e9 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%2FMcAJBen%2Fadvent_of_code_2021" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McAJBen/advent_of_code_2021 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/McAJBen/advent_of_code_2021 [INFO] finished tweaking git repo https://github.com/McAJBen/advent_of_code_2021 [INFO] tweaked toml for git repo https://github.com/McAJBen/advent_of_code_2021 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/McAJBen/advent_of_code_2021 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 62463b46d8878ae6a55e8363580ba57bb920f5b5e1504b6237e106bd129f4dc0 [INFO] running `Command { std: "docker" "start" "-a" "62463b46d8878ae6a55e8363580ba57bb920f5b5e1504b6237e106bd129f4dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62463b46d8878ae6a55e8363580ba57bb920f5b5e1504b6237e106bd129f4dc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62463b46d8878ae6a55e8363580ba57bb920f5b5e1504b6237e106bd129f4dc0", kill_on_drop: false }` [INFO] [stdout] 62463b46d8878ae6a55e8363580ba57bb920f5b5e1504b6237e106bd129f4dc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2f6beca1a592f27b1e4b3ad0ce0acf77ea231fe5de1c3c8bbe01eb2259740ba8 [INFO] running `Command { std: "docker" "start" "-a" "2f6beca1a592f27b1e4b3ad0ce0acf77ea231fe5de1c3c8bbe01eb2259740ba8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.4.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking enum-iterator v2.1.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [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/solvers/year2021/day09.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | let nearby_heights = self.get_nearby_heights(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | / nearby_heights [INFO] [stdout] 94 | | .into_iter() [INFO] [stdout] 95 | | .filter_map(|(center, nearby)| { [INFO] [stdout] 96 | | let center = self.z_heights[center.y][center.x]; [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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/solvers/year2021/day09.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | let nearby_heights = self.get_nearby_heights(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | / nearby_heights [INFO] [stdout] 112 | | .into_iter() [INFO] [stdout] 113 | | .filter_map(|(center_point, nearby)| { [INFO] [stdout] 114 | | let center = self.z_heights[center_point.y][center_point.x]; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solvers/year2022/day03.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 19 | let c1: HashSet = c1.iter().copied().collect(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let c2: HashSet = c2.iter().copied().collect(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let intersection: HashSet = c1.intersection(&c2).copied().collect(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | intersection.into_iter().map(|u8| u8 as u32).sum::() [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: 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.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | input: read_to_string(path.join("input.txt")).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] [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.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | output: read_to_string(path.join(format!("output{part}.txt"))).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] [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.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 70 | fn zip_with_next(self) -> ZipWithNext [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | iter: self.peekable(), [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (lib) due to 7 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/solvers/year2021/day09.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | let nearby_heights = self.get_nearby_heights(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | / nearby_heights [INFO] [stdout] 94 | | .into_iter() [INFO] [stdout] 95 | | .filter_map(|(center, nearby)| { [INFO] [stdout] 96 | | let center = self.z_heights[center.y][center.x]; [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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/solvers/year2021/day09.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | let nearby_heights = self.get_nearby_heights(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | / nearby_heights [INFO] [stdout] 112 | | .into_iter() [INFO] [stdout] 113 | | .filter_map(|(center_point, nearby)| { [INFO] [stdout] 114 | | let center = self.z_heights[center_point.y][center_point.x]; [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/solvers/year2022/day03.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 19 | let c1: HashSet = c1.iter().copied().collect(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let c2: HashSet = c2.iter().copied().collect(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let intersection: HashSet = c1.intersection(&c2).copied().collect(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | intersection.into_iter().map(|u8| u8 as u32).sum::() [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: 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.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | input: read_to_string(path.join("input.txt")).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] [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.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | output: read_to_string(path.join(format!("output{part}.txt"))).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] [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.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 70 | fn zip_with_next(self) -> ZipWithNext [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | iter: self.peekable(), [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "2f6beca1a592f27b1e4b3ad0ce0acf77ea231fe5de1c3c8bbe01eb2259740ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6beca1a592f27b1e4b3ad0ce0acf77ea231fe5de1c3c8bbe01eb2259740ba8", kill_on_drop: false }` [INFO] [stdout] 2f6beca1a592f27b1e4b3ad0ce0acf77ea231fe5de1c3c8bbe01eb2259740ba8