[INFO] fetching crate bevy-panic-handler 3.0.0... [INFO] checking bevy-panic-handler-3.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bevy-panic-handler 3.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bevy-panic-handler 3.0.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 bevy-panic-handler 3.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bevy-panic-handler 3.0.0 [INFO] tweaked toml for crates.io crate bevy-panic-handler 3.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate bevy-panic-handler 3.0.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] b60f62eb1366b7708658e06734fbd915d809927f867048c69b3107391275fbbc [INFO] running `Command { std: "docker" "start" "-a" "b60f62eb1366b7708658e06734fbd915d809927f867048c69b3107391275fbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b60f62eb1366b7708658e06734fbd915d809927f867048c69b3107391275fbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60f62eb1366b7708658e06734fbd915d809927f867048c69b3107391275fbbc", kill_on_drop: false }` [INFO] [stdout] b60f62eb1366b7708658e06734fbd915d809927f867048c69b3107391275fbbc [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] a03fd139e9af8781213610829b8d46a81c096351f2163bc48d1b964ca58d24d8 [INFO] running `Command { std: "docker" "start" "-a" "a03fd139e9af8781213610829b8d46a81c096351f2163bc48d1b964ca58d24d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking bevy_ptr v0.14.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling toml_edit v0.22.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking bevy_tasks v0.14.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking erased-serde v0.4.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling bevy_macro_utils v0.14.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.0 [INFO] [stderr] Checking bevy_utils v0.14.0 [INFO] [stderr] Compiling bevy_derive v0.14.0 [INFO] [stderr] Checking versions v5.0.1 [INFO] [stderr] Checking native-dialog v0.7.0 [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_log v0.14.0 [INFO] [stderr] Checking bevy_input 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-panic-handler v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PanicHandleFn: Fn(&std::panic::PanicInfo) -> Res + Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | impl Res + Send + Sync + 'static> PanicHandleFn for T {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | Arc::new(|_: &std::panic::PanicInfo| "Fatal Error".to_owned()) [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/lib.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | PanicHandler { [INFO] [stdout] 25 | custom_title: { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 26 | | self.custom_name.unwrap_or_else(|| { [INFO] [stdout] 27 | | Arc::new(|_: &std::panic::PanicInfo| "Fatal Error".to_owned()) [INFO] [stdout] 28 | | }) [INFO] [stdout] 29 | | }, [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/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | custom_body: { [INFO] [stdout] | __________________________^ [INFO] [stdout] 31 | | self.custom_body.unwrap_or_else(|| { [INFO] [stdout] 32 | | Arc::new(|info| { [INFO] [stdout] 33 | | format!( [INFO] [stdout] ... | [INFO] [stdout] 43 | | }) [INFO] [stdout] 44 | | }, [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/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | custom_hook: { self.custom_hook.unwrap_or_else(|| Arc::new(|_| {})) }, [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy-panic-handler` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait PanicHandleFn: Fn(&std::panic::PanicInfo) -> Res + Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | impl Res + Send + Sync + 'static> PanicHandleFn for T {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/lib.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | Arc::new(|_: &std::panic::PanicInfo| "Fatal Error".to_owned()) [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/lib.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | PanicHandler { [INFO] [stdout] 25 | custom_title: { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 26 | | self.custom_name.unwrap_or_else(|| { [INFO] [stdout] 27 | | Arc::new(|_: &std::panic::PanicInfo| "Fatal Error".to_owned()) [INFO] [stdout] 28 | | }) [INFO] [stdout] 29 | | }, [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/lib.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | custom_body: { [INFO] [stdout] | __________________________^ [INFO] [stdout] 31 | | self.custom_body.unwrap_or_else(|| { [INFO] [stdout] 32 | | Arc::new(|info| { [INFO] [stdout] 33 | | format!( [INFO] [stdout] ... | [INFO] [stdout] 43 | | }) [INFO] [stdout] 44 | | }, [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/lib.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build(self) -> PanicHandler { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | custom_hook: { self.custom_hook.unwrap_or_else(|| Arc::new(|_| {})) }, [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 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bevy-panic-handler` (lib) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a03fd139e9af8781213610829b8d46a81c096351f2163bc48d1b964ca58d24d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03fd139e9af8781213610829b8d46a81c096351f2163bc48d1b964ca58d24d8", kill_on_drop: false }` [INFO] [stdout] a03fd139e9af8781213610829b8d46a81c096351f2163bc48d1b964ca58d24d8