[INFO] fetching crate anytest 0.1.0... [INFO] checking anytest-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate anytest 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate anytest 0.1.0 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 crates.io crate anytest 0.1.0 [INFO] finished tweaking crates.io crate anytest 0.1.0 [INFO] tweaked toml for crates.io crate anytest 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate anytest 0.1.0 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-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] 298cd418c045f0c24bb92740bf045f692d6ce132b6b44f92e0c1961bd88d3693 [INFO] running `Command { std: "docker" "start" "-a" "298cd418c045f0c24bb92740bf045f692d6ce132b6b44f92e0c1961bd88d3693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "298cd418c045f0c24bb92740bf045f692d6ce132b6b44f92e0c1961bd88d3693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298cd418c045f0c24bb92740bf045f692d6ce132b6b44f92e0c1961bd88d3693", kill_on_drop: false }` [INFO] [stdout] 298cd418c045f0c24bb92740bf045f692d6ce132b6b44f92e0c1961bd88d3693 [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] e223d86917f9500c54fa08cc21404957d13ecfa8f2bd2f78e0afbf89a1cac051 [INFO] running `Command { std: "docker" "start" "-a" "e223d86917f9500c54fa08cc21404957d13ecfa8f2bd2f78e0afbf89a1cac051", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rev_buf_reader v0.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling anytest-derive v0.1.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking anytest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/language.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Language { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `language`, `language_name`, and `name` are never used [INFO] [stdout] --> src/test_framework.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait TestFrameworkMeta { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 8 | fn language(&self) -> &dyn Language; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn language_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn name(&self) -> &str; [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/context.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 191 | range: impl ops::RangeBounds, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | ) -> Nearest { [INFO] [stdout] 193 | / Context::new(Some("tests/fixtures/folder"), "file.rb", None, None) [INFO] [stdout] 194 | | .unwrap() [INFO] [stdout] 195 | | .find_nearest(test_patterns, namespace_patters, range) [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/rel_path.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 205 | range: impl ops::RangeBounds, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let mut buffer = self.open(numbers.forward_to())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | let lines: Box>> = if numbers.is_desc() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let position = buffer.stream_position()?; [INFO] [stdout] 212 | let mut rev_reader = RevBufReader::new(buffer.into_inner()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(Box::new(lines.map(Result::unwrap_or_default).zip(numbers))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/language.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Language { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anytest` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `language`, `language_name`, and `name` are never used [INFO] [stdout] --> src/test_framework.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait TestFrameworkMeta { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 8 | fn language(&self) -> &dyn Language; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn language_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn name(&self) -> &str; [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/rel_path.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 205 | range: impl ops::RangeBounds, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let mut buffer = self.open(numbers.forward_to())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | [INFO] [stdout] 210 | let lines: Box>> = if numbers.is_desc() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 211 | let position = buffer.stream_position()?; [INFO] [stdout] 212 | let mut rev_reader = RevBufReader::new(buffer.into_inner()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(Box::new(lines.map(Result::unwrap_or_default).zip(numbers))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anytest` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e223d86917f9500c54fa08cc21404957d13ecfa8f2bd2f78e0afbf89a1cac051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e223d86917f9500c54fa08cc21404957d13ecfa8f2bd2f78e0afbf89a1cac051", kill_on_drop: false }` [INFO] [stdout] e223d86917f9500c54fa08cc21404957d13ecfa8f2bd2f78e0afbf89a1cac051