[INFO] fetching crate mathcat 0.6.3... [INFO] checking mathcat-0.6.3 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate mathcat 0.6.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mathcat 0.6.3 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 mathcat 0.6.3 [INFO] finished tweaking crates.io crate mathcat 0.6.3 [INFO] tweaked toml for crates.io crate mathcat 0.6.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate mathcat 0.6.3 already has a lockfile, it will not be regenerated [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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af178955d40e5b6f6d6019c03f1b84e0959534d968180a4cbff05b7acbd43fa0 [INFO] running `Command { std: "docker" "start" "-a" "af178955d40e5b6f6d6019c03f1b84e0959534d968180a4cbff05b7acbd43fa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af178955d40e5b6f6d6019c03f1b84e0959534d968180a4cbff05b7acbd43fa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af178955d40e5b6f6d6019c03f1b84e0959534d968180a4cbff05b7acbd43fa0", kill_on_drop: false }` [INFO] [stdout] af178955d40e5b6f6d6019c03f1b84e0959534d968180a4cbff05b7acbd43fa0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c92edc39c03632e5f2ff57047d45c24c8a0b663fbeda9ea2121147d7d8917256 [INFO] running `Command { std: "docker" "start" "-a" "c92edc39c03632e5f2ff57047d45c24c8a0b663fbeda9ea2121147d7d8917256", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling zip v2.1.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.35.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking radix_fmt v1.0.0 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking sxd-xpath v0.4.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling mathcat v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/canonicalize.rs:4033:43 [INFO] [stdout] | [INFO] [stdout] 4033 | pub fn name<'a>(node: &'a Element<'a>) -> &str { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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/pretty_print.rs:274:51 [INFO] [stdout] | [INFO] [stdout] 273 | impl<'a> YamlEmitter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 274 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/canonicalize.rs:4033:43 [INFO] [stdout] | [INFO] [stdout] 4033 | pub fn name<'a>(node: &'a Element<'a>) -> &str { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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/pretty_print.rs:274:51 [INFO] [stdout] | [INFO] [stdout] 273 | impl<'a> YamlEmitter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 274 | pub fn new(writer: &'a mut dyn fmt::Write) -> YamlEmitter { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result<(), errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/interface.rs:789:15 [INFO] [stdout] | [INFO] [stdout] 779 | let target_package = &parser::parse(target).expect("Failed to parse input"); [INFO] [stdout] | ----------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | let test_package = &parser::parse(test).expect("Failed to parse input"); [INFO] [stdout] | --------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | match is_same_doc(&test_doc, &target_doc) { [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::result::Result<(), errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infer_intent.rs:452:15 [INFO] [stdout] | [INFO] [stdout] 434 | let package1 = &parser::parse(mathml).expect("Failed to parse test input"); [INFO] [stdout] | ---------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | let package2 = &parser::parse(target).expect("Failed to parse target input"); [INFO] [stdout] | ------------------------------------------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 452 | match is_same_element(&result, &target) { [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `errors::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/xpath_functions.rs:1305:20 [INFO] [stdout] | [INFO] [stdout] 1304 | let result = crate::definitions::read_definitions_file(true); [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] 1305 | if let Err(e) = 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 `std::result::Result<(), errors::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:108:11 [INFO] [stdout] | [INFO] [stdout] 97 | let package1 = &parser::parse(test).expect("Failed to parse test input"); [INFO] [stdout] | -------------------------------------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let package2 = &parser::parse(target).expect("Failed to parse target input"); [INFO] [stdout] | ------------------------------------------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | match is_same_element(&mathml_test, &mathml_target) { [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mathcat` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c92edc39c03632e5f2ff57047d45c24c8a0b663fbeda9ea2121147d7d8917256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92edc39c03632e5f2ff57047d45c24c8a0b663fbeda9ea2121147d7d8917256", kill_on_drop: false }` [INFO] [stdout] c92edc39c03632e5f2ff57047d45c24c8a0b663fbeda9ea2121147d7d8917256