[INFO] fetching crate spo-rhai 1.17.2... [INFO] checking spo-rhai-1.17.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate spo-rhai 1.17.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate spo-rhai 1.17.2 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 crates.io crate spo-rhai 1.17.2 [INFO] finished tweaking crates.io crate spo-rhai 1.17.2 [INFO] tweaked toml for crates.io crate spo-rhai 1.17.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate spo-rhai 1.17.2 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 93a8897dbfef4c3baa903fc5daa03dd75852f04e3fc790ff3295315acaa15497 [INFO] running `Command { std: "docker" "start" "-a" "93a8897dbfef4c3baa903fc5daa03dd75852f04e3fc790ff3295315acaa15497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a8897dbfef4c3baa903fc5daa03dd75852f04e3fc790ff3295315acaa15497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a8897dbfef4c3baa903fc5daa03dd75852f04e3fc790ff3295315acaa15497", kill_on_drop: false }` [INFO] [stdout] 93a8897dbfef4c3baa903fc5daa03dd75852f04e3fc790ff3295315acaa15497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1fda5a60c1748526992ba864d6bfc1b0eda8377c70d1d0e2d02b0caf2bf74e9b [INFO] running `Command { std: "docker" "start" "-a" "1fda5a60c1748526992ba864d6bfc1b0eda8377c70d1d0e2d02b0caf2bf74e9b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking thin-vec v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking const-random v0.1.17 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Compiling spo-rhai_codegen v2.0.0 [INFO] [stderr] Checking spo-rhai v1.17.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `GlobalRuntimeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/call_fn.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 170 | name: impl AsRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut arg_values = StaticVec::new_const(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | &mut GlobalRuntimeState::new(self), [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: this value of type `GlobalRuntimeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/deprecated.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 166 | name: impl AsRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut arg_values = arg_values; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | &mut crate::eval::GlobalRuntimeState::new(self), [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: this value of type `GlobalRuntimeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/call_fn.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 170 | name: impl AsRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let mut arg_values = StaticVec::new_const(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | &mut GlobalRuntimeState::new(self), [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: this value of type `(&Expr, Option<(dynamic::Dynamic, &OpAssignment)>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/chaining.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 357 | let idx_values = &mut FnArgsVec::new_const(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | match (lhs, new_val) { [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: this value of type `(&Expr, Option<(dynamic::Dynamic, &OpAssignment)>, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/chaining.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 546 | new_val: Option<(Dynamic, &OpAssignment)>, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | match (rhs, new_val, target.as_ref().is_map()) { [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: this value of type `GlobalRuntimeState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api/deprecated.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 166 | name: impl AsRef, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut arg_values = arg_values; [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | &mut crate::eval::GlobalRuntimeState::new(self), [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: this value of type `(&Expr, Option<(dynamic::Dynamic, &OpAssignment)>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/chaining.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 357 | let idx_values = &mut FnArgsVec::new_const(); [INFO] [stdout] | ---------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | match (lhs, new_val) { [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: this value of type `(&Expr, Option<(dynamic::Dynamic, &OpAssignment)>, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eval/chaining.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 546 | new_val: Option<(Dynamic, &OpAssignment)>, [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 695 | match (rhs, new_val, target.as_ref().is_map()) { [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: this value of type `Ref<'_, BTreeMap>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/resolvers/file.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn is_cached(&self, path: impl AsRef) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | locked_read(&self.cache).contains_key(path.as_ref()) [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: this value of type `RefMut<'_, BTreeMap>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/resolvers/file.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn clear_cache_for_path(&mut self, path: impl AsRef) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | locked_write(&self.cache) [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: this value of type `Ref<'_, BTreeMap>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/resolvers/file.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn is_cached(&self, path: impl AsRef) -> bool { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | locked_read(&self.cache).contains_key(path.as_ref()) [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: this value of type `RefMut<'_, BTreeMap>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/module/resolvers/file.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn clear_cache_for_path(&mut self, path: impl AsRef) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | locked_write(&self.cache) [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: this value of type `tokenizer::Token` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:913:30 [INFO] [stdout] | [INFO] [stdout] 810 | lhs: Expr, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 898 | let idx_expr = self.parse_expr(input, state, lib, settings.level_up()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 913 | let (token, pos) = input.next().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: this value of type `tokenizer::Token` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:913:30 [INFO] [stdout] | [INFO] [stdout] 810 | lhs: Expr, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 898 | let idx_expr = self.parse_expr(input, state, lib, settings.level_up()?)?; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 913 | let (token, pos) = input.next().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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spo-rhai` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spo-rhai` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "1fda5a60c1748526992ba864d6bfc1b0eda8377c70d1d0e2d02b0caf2bf74e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fda5a60c1748526992ba864d6bfc1b0eda8377c70d1d0e2d02b0caf2bf74e9b", kill_on_drop: false }` [INFO] [stdout] 1fda5a60c1748526992ba864d6bfc1b0eda8377c70d1d0e2d02b0caf2bf74e9b