[INFO] fetching crate xot 0.25.0... [INFO] checking xot-0.25.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate xot 0.25.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xot 0.25.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 xot 0.25.0 [INFO] finished tweaking crates.io crate xot 0.25.0 [INFO] tweaked toml for crates.io crate xot 0.25.0 written to /workspace/builds/worker-4-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] 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 151 packages to latest compatible versions [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 encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding proc-macro-error v0.4.12 (available: v1.0.4) [INFO] [stderr] Adding proc-macro-error-attr v0.4.12 (available: v1.0.4) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding regex-automata v0.2.0 (available: v0.4.7) [INFO] [stderr] Adding rstest v0.16.0 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.16.0 (available: v0.22.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding syn-mid v0.5.4 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7c1927393dc295fdf5395b0b3ed221d64c5c7d4ff647348d75c9773051bc861d [INFO] running `Command { std: "docker" "start" "-a" "7c1927393dc295fdf5395b0b3ed221d64c5c7d4ff647348d75c9773051bc861d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c1927393dc295fdf5395b0b3ed221d64c5c7d4ff647348d75c9773051bc861d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1927393dc295fdf5395b0b3ed221d64c5c7d4ff647348d75c9773051bc861d", kill_on_drop: false }` [INFO] [stdout] 7c1927393dc295fdf5395b0b3ed221d64c5c7d4ff647348d75c9773051bc861d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5c1dba525082ce876b8fed03ee0aa56f575969f06ce2a688d99311c9d9f8f50a [INFO] running `Command { std: "docker" "start" "-a" "5c1dba525082ce876b8fed03ee0aa56f575969f06ce2a688d99311c9d9f8f50a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking xhtmlchardet v2.2.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rstest_macros v0.16.0 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indextree-macros v0.1.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking genawaiter v0.99.1 [INFO] [stderr] Checking indextree v4.7.2 [INFO] [stderr] Checking xot v0.25.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nodemap/core.rs:212:66 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a, K, V, A: ValueAdapter> MutableNodeMap<'a, K, V, A> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 212 | fn iter_value(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [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/nodemap/core.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a, K, V, A: ValueAdapter> MutableNodeMap<'a, K, V, A> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn iter(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nodemap/core.rs:229:56 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a, K, V, A: ValueAdapter> MutableNodeMap<'a, K, V, A> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn keys(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/nodemap/core.rs:234:62 [INFO] [stdout] | [INFO] [stdout] 155 | impl<'a, K, V, A: ValueAdapter> MutableNodeMap<'a, K, V, A> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn values(&'a self) -> impl Iterator + '_ { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/serialize.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn tokens<'a, N: Normalizer + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 372 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/serialize.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn pretty_tokens<'a, N: Normalizer + 'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 403 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/nameaccess.rs:852:42 [INFO] [stdout] | [INFO] [stdout] 840 | / gen!({ [INFO] [stdout] 841 | | let mut seen: Vec = Vec::new(); [INFO] [stdout] 842 | | for ancestor in xot.ancestors(node) { [INFO] [stdout] 843 | | let namespaces = xot.namespaces(ancestor); [INFO] [stdout] ... | [INFO] [stdout] 852 | | for (prefix_id, namespace_id) in xot.base_prefixes() { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 858 | | } [INFO] [stdout] 859 | | }) [INFO] [stdout] | |______- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl Iterator + '_` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/serializer.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 38 | / gen!({ [INFO] [stdout] 39 | | for edge in xot.traverse(node) { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | | match edge { [INFO] [stdout] 41 | | NodeEdge::Start(current_node) => { [INFO] [stdout] ... | [INFO] [stdout] 54 | | } [INFO] [stdout] 55 | | }) [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `impl Iterator + '_` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/output/serializer.rs:72:54 [INFO] [stdout] | [INFO] [stdout] 60 | / gen!({ [INFO] [stdout] 61 | | let value = xot.value(node); [INFO] [stdout] 62 | | [INFO] [stdout] 63 | | match value { [INFO] [stdout] ... | [INFO] [stdout] 72 | | for (prefix_id, namespace_id) in xot.namespaces_in_scope(node) { [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | }) [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] | |______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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.16.0 [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xot` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5c1dba525082ce876b8fed03ee0aa56f575969f06ce2a688d99311c9d9f8f50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1dba525082ce876b8fed03ee0aa56f575969f06ce2a688d99311c9d9f8f50a", kill_on_drop: false }` [INFO] [stdout] 5c1dba525082ce876b8fed03ee0aa56f575969f06ce2a688d99311c9d9f8f50a