[INFO] fetching crate bevy_rand 0.7.1... [INFO] checking bevy_rand-0.7.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bevy_rand 0.7.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate bevy_rand 0.7.1 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 bevy_rand 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bevy_rand 0.7.1 [INFO] tweaked toml for crates.io crate bevy_rand 0.7.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate bevy_rand 0.7.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dabdd4407c502f512ce4bf8f0c5da7c1e3fb15de7429eeafa285cf0173d95063 [INFO] running `Command { std: "docker" "start" "-a" "dabdd4407c502f512ce4bf8f0c5da7c1e3fb15de7429eeafa285cf0173d95063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dabdd4407c502f512ce4bf8f0c5da7c1e3fb15de7429eeafa285cf0173d95063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dabdd4407c502f512ce4bf8f0c5da7c1e3fb15de7429eeafa285cf0173d95063", kill_on_drop: false }` [INFO] [stdout] dabdd4407c502f512ce4bf8f0c5da7c1e3fb15de7429eeafa285cf0173d95063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9cf03519351b43b77bf92e059e8d2a2594c7dcef32fa184a696339db820525e4 [INFO] running `Command { std: "docker" "start" "-a" "9cf03519351b43b77bf92e059e8d2a2594c7dcef32fa184a696339db820525e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking bevy_ptr v0.14.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking bevy_tasks v0.14.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Compiling bevy_macro_utils v0.14.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.0 [INFO] [stderr] Compiling bevy_derive v0.14.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wyrand v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bevy_utils v0.14.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking bevy_reflect v0.14.0 [INFO] [stderr] Checking bevy_ecs v0.14.0 [INFO] [stderr] Checking bevy_math v0.14.0 [INFO] [stderr] Checking bevy_app v0.14.0 [INFO] [stderr] Checking bevy_core v0.14.0 [INFO] [stderr] Checking bevy_time v0.14.0 [INFO] [stderr] Checking bevy_a11y v0.14.0 [INFO] [stderr] Checking bevy_input v0.14.0 [INFO] [stderr] Checking bevy_log v0.14.0 [INFO] [stderr] Checking bevy_window v0.14.0 [INFO] [stderr] Checking bevy_hierarchy v0.14.0 [INFO] [stderr] Checking bevy_diagnostic v0.14.0 [INFO] [stderr] Checking bevy_transform v0.14.0 [INFO] [stderr] Checking bevy_internal v0.14.0 [INFO] [stderr] Checking bevy v0.14.0 [INFO] [stderr] Checking bevy_prng v0.7.1 [INFO] [stderr] Checking bevy_rand v0.7.1 (/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/component.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 159 | fn from_seed(seed: Self::Seed) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Self::new(R::from_seed(seed)) [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/plugin.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn with_seed(seed: R::Seed) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Self { seed: Some(seed) } [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/resource.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_seed(seed: Self::Seed) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | Self::new(R::from_seed(seed)) [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/thread_local_entropy.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn access_local_source(&mut self, f: F) -> O [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | SOURCE.with(|source| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | // SAFETY: Constructing `NonNull` from a `&T` is safe as it will never be a [INFO] [stdout] 41 | | // null pointer, and the contents of the reference will always be initialised. [INFO] [stdout] 42 | | let mut ptr = unsafe { NonNull::new_unchecked(source.get()) }; [INFO] [stdout] ... | [INFO] [stdout] 46 | | unsafe { f(ptr.as_mut()) } [INFO] [stdout] 47 | | }) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_rand` (lib) due to 5 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/component.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 159 | fn from_seed(seed: Self::Seed) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | Self::new(R::from_seed(seed)) [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/plugin.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn with_seed(seed: R::Seed) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | Self { seed: Some(seed) } [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/resource.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 124 | fn from_seed(seed: Self::Seed) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | Self::new(R::from_seed(seed)) [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/thread_local_entropy.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn access_local_source(&mut self, f: F) -> O [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | SOURCE.with(|source| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 40 | | // SAFETY: Constructing `NonNull` from a `&T` is safe as it will never be a [INFO] [stdout] 41 | | // null pointer, and the contents of the reference will always be initialised. [INFO] [stdout] 42 | | let mut ptr = unsafe { NonNull::new_unchecked(source.get()) }; [INFO] [stdout] ... | [INFO] [stdout] 46 | | unsafe { f(ptr.as_mut()) } [INFO] [stdout] 47 | | }) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy_rand` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9cf03519351b43b77bf92e059e8d2a2594c7dcef32fa184a696339db820525e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf03519351b43b77bf92e059e8d2a2594c7dcef32fa184a696339db820525e4", kill_on_drop: false }` [INFO] [stdout] 9cf03519351b43b77bf92e059e8d2a2594c7dcef32fa184a696339db820525e4