[INFO] fetching crate mun_language_server 0.4.0... [INFO] checking mun_language_server-0.4.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mun_language_server 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate mun_language_server 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 mun_language_server 0.4.0 [INFO] finished tweaking crates.io crate mun_language_server 0.4.0 [INFO] tweaked toml for crates.io crate mun_language_server 0.4.0 written to /workspace/builds/worker-5-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 133 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding inotify v0.9.6 (available: v0.11.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding lsp-server v0.6.0 (available: v0.7.7) [INFO] [stderr] Adding lsp-types v0.93.2 (available: v0.97.0) [INFO] [stderr] Adding mio v0.8.11 (available: v1.0.2) [INFO] [stderr] Adding notify v5.2.0 (available: v6.1.1) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding ra_ap_text_edit v0.0.142 (available: v0.0.236) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding smol_str v0.1.24 (available: v0.3.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (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.42.2 (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.42.2 (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.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [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] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f53e1e291629d20a39ec58236d0b8ddf63331bb59ab5a8693b71c9d44ae49561 [INFO] running `Command { std: "docker" "start" "-a" "f53e1e291629d20a39ec58236d0b8ddf63331bb59ab5a8693b71c9d44ae49561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f53e1e291629d20a39ec58236d0b8ddf63331bb59ab5a8693b71c9d44ae49561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53e1e291629d20a39ec58236d0b8ddf63331bb59ab5a8693b71c9d44ae49561", kill_on_drop: false }` [INFO] [stdout] f53e1e291629d20a39ec58236d0b8ddf63331bb59ab5a8693b71c9d44ae49561 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f48dbf34f5f6cf92f081a3e643d60d7fd87f793bfdaf28711ff9b5a46871f00 [INFO] running `Command { std: "docker" "start" "-a" "0f48dbf34f5f6cf92f081a3e643d60d7fd87f793bfdaf28711ff9b5a46871f00", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking relative-path v1.9.3 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking extendhash v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling mun_target v0.4.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking mun_paths v0.4.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking ena v0.14.3 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Checking mun_abi v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mun_vfs v0.4.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking ra_ap_text_edit v0.0.142 [INFO] [stderr] Checking rowan v0.15.16 [INFO] [stderr] Checking mun_project v0.4.0 [INFO] [stderr] Checking mun_syntax v0.4.0 [INFO] [stderr] Checking lsp-server v0.6.0 [INFO] [stderr] Checking lsp-types v0.93.2 [INFO] [stderr] Checking mun_hir v0.4.0 [INFO] [stderr] Checking mun_diagnostics v0.4.0 [INFO] [stderr] Checking mun_language_server v0.4.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/completion/context.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 77 | file_with_fake_ident: SyntaxNode, [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | if let Some(name_ref) = find_node_at_offset::(&file_with_fake_ident, offset) { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/completion/context.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn classify_name_ref(&mut self, original_file: &SyntaxNode, name_ref: ast::NameRef) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | if let Some(field_expr) = ast::FieldExpr::cast(parent) { [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 `Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/completion/render.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 101 | let name = field.name(self.ctx.db()); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | .detail(field.ty(self.ctx.db()).display(self.ctx.db()).to_string()) [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 `TokenText<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file_structure.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 68 | let name = node.name()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | label: name.text().to_string(), [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/completion/context.rs:81:33 [INFO] [stdout] | [INFO] [stdout] 77 | file_with_fake_ident: SyntaxNode, [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | if let Some(name_ref) = find_node_at_offset::(&file_with_fake_ident, offset) { [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 `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/completion/context.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn classify_name_ref(&mut self, original_file: &SyntaxNode, name_ref: ast::NameRef) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | if let Some(field_expr) = ast::FieldExpr::cast(parent) { [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] [stdout] error: this value of type `Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/completion/render.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 101 | let name = field.name(self.ctx.db()); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | .detail(field.ty(self.ctx.db()).display(self.ctx.db()).to_string()) [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] [stderr] error: could not compile `mun_language_server` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `TokenText<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/file_structure.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 68 | let name = node.name()?; [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | label: name.text().to_string(), [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: field `files` is never read [INFO] [stdout] --> src/change_fixture.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChangeFixture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub file_position: Option<(mun_hir::FileId, RangeOrOffset)>, [INFO] [stdout] 12 | pub files: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mun_language_server` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0f48dbf34f5f6cf92f081a3e643d60d7fd87f793bfdaf28711ff9b5a46871f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f48dbf34f5f6cf92f081a3e643d60d7fd87f793bfdaf28711ff9b5a46871f00", kill_on_drop: false }` [INFO] [stdout] 0f48dbf34f5f6cf92f081a3e643d60d7fd87f793bfdaf28711ff9b5a46871f00