[INFO] fetching crate napi_ext 0.4.0... [INFO] checking napi_ext-0.4.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate napi_ext 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate napi_ext 0.4.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate napi_ext 0.4.0 [INFO] finished tweaking crates.io crate napi_ext 0.4.0 [INFO] tweaked toml for crates.io crate napi_ext 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c38342d7890e49919209d5c522b0c8afaf4c3543fbcdd9be69772556fc721c3b [INFO] running `Command { std: "docker" "start" "-a" "c38342d7890e49919209d5c522b0c8afaf4c3543fbcdd9be69772556fc721c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c38342d7890e49919209d5c522b0c8afaf4c3543fbcdd9be69772556fc721c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38342d7890e49919209d5c522b0c8afaf4c3543fbcdd9be69772556fc721c3b", kill_on_drop: false }` [INFO] [stdout] c38342d7890e49919209d5c522b0c8afaf4c3543fbcdd9be69772556fc721c3b [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b2e77e48091ee0b825c8a5e105357bdcc917708680154682a288028d832d820 [INFO] running `Command { std: "docker" "start" "-a" "1b2e77e48091ee0b825c8a5e105357bdcc917708680154682a288028d832d820", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling napi_ext_macros v0.4.0 [INFO] [stderr] Checking napi v2.16.11 [INFO] [stderr] Checking napi_ext v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/executor/local_pool.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 206 | future: FutureObj<'static, ()>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | ) -> Result<(), SpawnError> { [INFO] [stdout] 208 | if let Some(incoming) = self.incoming.upgrade() { [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 `Option>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/executor/local_pool.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 228 | future: LocalFutureObj<'static, ()>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | ) -> Result<(), SpawnError> { [INFO] [stdout] 230 | if let Some(incoming) = self.incoming.upgrade() { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/waker.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 53 | let thread_notify = ThreadNotify::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let mut handle = None::; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | [INFO] [stdout] 56 | while let Ok(event) = rx.recv() { [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 `Option>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/executor/local_pool.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 206 | future: FutureObj<'static, ()>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | ) -> Result<(), SpawnError> { [INFO] [stdout] 208 | if let Some(incoming) = self.incoming.upgrade() { [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 `Option>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/executor/local_pool.rs:230:29 [INFO] [stdout] | [INFO] [stdout] 228 | future: LocalFutureObj<'static, ()>, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | ) -> Result<(), SpawnError> { [INFO] [stdout] 230 | if let Some(incoming) = self.incoming.upgrade() { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/runtime/waker.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 53 | let thread_notify = ThreadNotify::new(); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | let mut handle = None::; [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | [INFO] [stdout] 56 | while let Ok(event) = rx.recv() { [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] warning: variant `Object` is never constructed [INFO] [stdout] --> src/js_rc/root.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum RootObjectType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 17 | Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/js_rc/root.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RootRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | pub raw_ref: sys::napi_ref, [INFO] [stdout] 23 | pub count: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_object`, `clone`, and `get` are never used [INFO] [stdout] --> src/js_rc/root.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl RootRef { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_object(env: &Env) -> napi::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn clone( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Object` is never constructed [INFO] [stdout] --> src/js_rc/root.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum RootObjectType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 17 | Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `napi_ext` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/js_rc/root.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RootRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 22 | pub raw_ref: sys::napi_ref, [INFO] [stdout] 23 | pub count: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `new_object`, `clone`, and `get` are never used [INFO] [stdout] --> src/js_rc/root.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl RootRef { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_object(env: &Env) -> napi::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn clone( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get( [INFO] [stdout] | ^^^ [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 `napi_ext` (lib) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b2e77e48091ee0b825c8a5e105357bdcc917708680154682a288028d832d820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b2e77e48091ee0b825c8a5e105357bdcc917708680154682a288028d832d820", kill_on_drop: false }` [INFO] [stdout] 1b2e77e48091ee0b825c8a5e105357bdcc917708680154682a288028d832d820