[INFO] fetching crate nu-plugin 0.98.0... [INFO] checking nu-plugin-0.98.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nu-plugin 0.98.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate nu-plugin 0.98.0 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 nu-plugin 0.98.0 [INFO] finished tweaking crates.io crate nu-plugin 0.98.0 [INFO] tweaked toml for crates.io crate nu-plugin 0.98.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding brotli v5.0.0 (available: v6.0.0) [INFO] [stderr] Adding bytecheck v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding lscolors v0.17.0 (available: v0.19.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rend v0.4.2 (available: v0.5.1) [INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rkyv_derive v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.30.13 (available: v0.31.4) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding vte v0.11.1 (available: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows v0.54.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.54.0 (available: v0.58.0) [INFO] [stderr] Adding windows-result v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4665cdc3e9c4ac5a1d9c28e6585715733f8a1f9e7c2a2b491e5d42b883358cc9 [INFO] running `Command { std: "docker" "start" "-a" "4665cdc3e9c4ac5a1d9c28e6585715733f8a1f9e7c2a2b491e5d42b883358cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4665cdc3e9c4ac5a1d9c28e6585715733f8a1f9e7c2a2b491e5d42b883358cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4665cdc3e9c4ac5a1d9c28e6585715733f8a1f9e7c2a2b491e5d42b883358cc9", kill_on_drop: false }` [INFO] [stdout] 4665cdc3e9c4ac5a1d9c28e6585715733f8a1f9e7c2a2b491e5d42b883358cc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7da69539c7d3c8d2f4b7bada7d6629e42dc86a5624c2ec0f1f7effea96e62f4a [INFO] running `Command { std: "docker" "start" "-a" "7da69539c7d3c8d2f4b7bada7d6629e42dc86a5624c2ec0f1f7effea96e62f4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking pure-rust-locales v0.8.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lscolors v0.17.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Compiling nu-derive-value v0.98.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Checking nu-glob v0.98.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking pwd v1.4.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking interprocess v2.2.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking nu-path v0.98.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking nu-utils v0.98.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking nu-system v0.98.0 [INFO] [stderr] Checking nu-protocol v0.98.0 [INFO] [stderr] Checking nu-plugin-protocol v0.98.0 [INFO] [stderr] Checking nu-engine v0.98.0 [INFO] [stderr] Checking nu-plugin-core v0.98.0 [INFO] [stderr] Checking nu-plugin v0.98.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::option::Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/mod.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 182 | response: EngineCallResponse, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | if let Some(sender) = self.engine_call_subscriptions.remove(&id) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/mod.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 439 | let (error_tx, error_rx) = mpsc::channel(); [INFO] [stdout] | -------- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | let mut commands: HashMap = HashMap::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | if let Ok(err) = error_rx.try_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 `ReceivedPluginCall` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/tests.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 321 | let mut manager = TestCase::new().engine(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let rx = manager [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 330 | match rx.try_recv().expect("call was not forwarded to receiver") { [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 `ReceivedPluginCall` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/tests.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 341 | let mut manager = TestCase::new().engine(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let rx = manager [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | match rx.try_recv().expect("call was not forwarded to receiver") { [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 `ReceivedPluginCall` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/tests.rs:384:11 [INFO] [stdout] | [INFO] [stdout] 364 | let rx = manager [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | match rx.try_recv().expect("call was not forwarded to receiver") { [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 `ReceivedPluginCall` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/tests.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 398 | let rx = manager [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | match rx.try_recv().expect("call was not forwarded to receiver") { [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 `ReceivedPluginCall` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/tests.rs:468:11 [INFO] [stdout] | [INFO] [stdout] 440 | let rx = manager [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | match rx.try_recv().expect("call was not forwarded to receiver") { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-plugin` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::option::Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin/interface/mod.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 182 | response: EngineCallResponse, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | if let Some(sender) = self.engine_call_subscriptions.remove(&id) { [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/plugin/mod.rs:582:22 [INFO] [stdout] | [INFO] [stdout] 439 | let (error_tx, error_rx) = mpsc::channel(); [INFO] [stdout] | -------- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | let mut commands: HashMap = HashMap::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | if let Ok(err) = error_rx.try_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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-plugin` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "7da69539c7d3c8d2f4b7bada7d6629e42dc86a5624c2ec0f1f7effea96e62f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da69539c7d3c8d2f4b7bada7d6629e42dc86a5624c2ec0f1f7effea96e62f4a", kill_on_drop: false }` [INFO] [stdout] 7da69539c7d3c8d2f4b7bada7d6629e42dc86a5624c2ec0f1f7effea96e62f4a