[INFO] fetching crate df_ls_lexical_analysis 0.3.0-rc.1... [INFO] checking df_ls_lexical_analysis-0.3.0-rc.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate df_ls_lexical_analysis 0.3.0-rc.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate df_ls_lexical_analysis 0.3.0-rc.1 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 df_ls_lexical_analysis 0.3.0-rc.1 [INFO] finished tweaking crates.io crate df_ls_lexical_analysis 0.3.0-rc.1 [INFO] tweaked toml for crates.io crate df_ls_lexical_analysis 0.3.0-rc.1 written to /workspace/builds/worker-2-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 77 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding lsp-types v0.93.2 (available: v0.97.0) [INFO] [stderr] Adding rust-embed v6.8.1 (available: v8.5.0) [INFO] [stderr] Adding rust-embed-impl v6.8.1 (available: v8.5.0) [INFO] [stderr] Adding rust-embed-utils v7.8.1 (available: v8.5.0) [INFO] [stderr] Adding windows-sys v0.48.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] 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cb2e0d4a2edbcf8d0786c1ccfeec444c2c219c6965a1b685334e04204536bf8d [INFO] running `Command { std: "docker" "start" "-a" "cb2e0d4a2edbcf8d0786c1ccfeec444c2c219c6965a1b685334e04204536bf8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb2e0d4a2edbcf8d0786c1ccfeec444c2c219c6965a1b685334e04204536bf8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2e0d4a2edbcf8d0786c1ccfeec444c2c219c6965a1b685334e04204536bf8d", kill_on_drop: false }` [INFO] [stdout] cb2e0d4a2edbcf8d0786c1ccfeec444c2c219c6965a1b685334e04204536bf8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 734ec21e7989401661687970d12b2fcf2ebb26c577199b0ea81b4a9e92cd33c1 [INFO] running `Command { std: "docker" "start" "-a" "734ec21e7989401661687970d12b2fcf2ebb26c577199b0ea81b4a9e92cd33c1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking df_cp437 v1.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rust-embed-utils v7.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Checking rust-embed v6.8.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking lsp-types v0.93.2 [INFO] [stderr] Checking df_ls_diagnostics v0.3.0-rc.1 [INFO] [stderr] Checking df_ls_lexical_analysis v0.3.0-rc.1 (/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/tokenizer/structure/node.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut this = self.clone(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | if let Some(tree) = self.tree.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 `RefMut<'_, HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenizer/structure/tree.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn update_node(&self, k: u64, node_n: DataNode) { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | if let Some(node) = self.nodes.borrow_mut().get_mut(&k) { [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 `node::DataNode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenizer/token.rs:143:45 [INFO] [stdout] | [INFO] [stdout] 136 | let open_bracket = [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | TokenMatchStatus::OkWithPrefixFound(prefix, _result) => { [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/tokenizer/structure/node.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 49 | let mut this = self.clone(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | if let Some(tree) = self.tree.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 `RefMut<'_, HashMap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenizer/structure/tree.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn update_node(&self, k: u64, node_n: DataNode) { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | if let Some(node) = self.nodes.borrow_mut().get_mut(&k) { [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 `node::DataNode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tokenizer/token.rs:143:45 [INFO] [stdout] | [INFO] [stdout] 136 | let open_bracket = [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | TokenMatchStatus::OkWithPrefixFound(prefix, _result) => { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `df_ls_lexical_analysis` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `df_ls_lexical_analysis` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "734ec21e7989401661687970d12b2fcf2ebb26c577199b0ea81b4a9e92cd33c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734ec21e7989401661687970d12b2fcf2ebb26c577199b0ea81b4a9e92cd33c1", kill_on_drop: false }` [INFO] [stdout] 734ec21e7989401661687970d12b2fcf2ebb26c577199b0ea81b4a9e92cd33c1