[INFO] fetching crate lang_pt 0.1.2... [INFO] checking lang_pt-0.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate lang_pt 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lang_pt 0.1.2 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 lang_pt 0.1.2 [INFO] finished tweaking crates.io crate lang_pt 0.1.2 [INFO] tweaked toml for crates.io crate lang_pt 0.1.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding config v0.11.0 (available: v0.14.0) [INFO] [stderr] Adding directories v4.0.1 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding lexical-core v0.7.6 (available: v1.0.2) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v4.3.0) [INFO] [stderr] Adding ptree v0.4.0 (available: v0.5.0) [INFO] [stderr] Adding rust-ini v0.13.0 (available: v0.21.1) [INFO] [stderr] Adding serde v0.8.23 (available: v1.0.210) [INFO] [stderr] Adding serde-hjson v0.9.1 (available: v1.1.0) [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] 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e22581dfa97911e1d273a7ea57b54b3fb04a9cb3d70871f6f64d7de6bb349d96 [INFO] running `Command { std: "docker" "start" "-a" "e22581dfa97911e1d273a7ea57b54b3fb04a9cb3d70871f6f64d7de6bb349d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e22581dfa97911e1d273a7ea57b54b3fb04a9cb3d70871f6f64d7de6bb349d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22581dfa97911e1d273a7ea57b54b3fb04a9cb3d70871f6f64d7de6bb349d96", kill_on_drop: false }` [INFO] [stdout] e22581dfa97911e1d273a7ea57b54b3fb04a9cb3d70871f6f64d7de6bb349d96 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93643d0b644a01b922a8aa3384bc0fdfd252491422ea43ad6324be72e2ae45fb [INFO] running `Command { std: "docker" "start" "-a" "93643d0b644a01b922a8aa3384bc0fdfd252491422ea43ad6324be72e2ae45fb", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking ptree v0.4.0 [INFO] [stderr] Checking lang_pt v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast_node.rs:119:74 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn list_tree_with_token<'this>(&'this self, node: &TNode) -> Vec<&ASTNode> { [INFO] [stdout] | ----- lifetime `'this` declared here ^ this elided lifetime gets resolved as `'this` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast_node.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn list_tree<'this, TF: Fn(&ASTNode) -> bool>( [INFO] [stdout] | ----- lifetime `'this` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | ) -> Vec<&ASTNode> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast_node.rs:119:74 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn list_tree_with_token<'this>(&'this self, node: &TNode) -> Vec<&ASTNode> { [INFO] [stdout] | ----- lifetime `'this` declared here ^ this elided lifetime gets resolved as `'this` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/ast_node.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn list_tree<'this, TF: Fn(&ASTNode) -> bool>( [INFO] [stdout] | ----- lifetime `'this` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | ) -> Vec<&ASTNode> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, ProductionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 39 | let mut cached_data: Cache = Cache::root(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 43 | | .root [INFO] [stdout] 44 | | .advance_fltr_ptr(code, index, &filtered_stream, &mut cached_data) [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, ProductionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 146 | let mut cached_data: Cache = Cache::root(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | match self.root.advance_ptr(&code, index, &mut cached_data) { [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/production/terminals/regex_field.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(regex_str: &str, node_value: Option) -> Result { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | match Regex::new(regex_str) { [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lang_pt` (lib) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, ProductionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 39 | let mut cached_data: Cache = Cache::root(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 43 | | .root [INFO] [stdout] 44 | | .advance_fltr_ptr(code, index, &filtered_stream, &mut cached_data) [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, ProductionError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parsing.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 146 | let mut cached_data: Cache = Cache::root(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | match self.root.advance_ptr(&code, index, &mut cached_data) { [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/production/terminals/regex_field.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(regex_str: &str, node_value: Option) -> Result { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | match Regex::new(regex_str) { [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lang_pt` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93643d0b644a01b922a8aa3384bc0fdfd252491422ea43ad6324be72e2ae45fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93643d0b644a01b922a8aa3384bc0fdfd252491422ea43ad6324be72e2ae45fb", kill_on_drop: false }` [INFO] [stdout] 93643d0b644a01b922a8aa3384bc0fdfd252491422ea43ad6324be72e2ae45fb