[INFO] fetching crate ihateintegrals 0.1.2... [INFO] checking ihateintegrals-0.1.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate ihateintegrals 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ihateintegrals 0.1.2 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] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate ihateintegrals 0.1.2 [INFO] finished tweaking crates.io crate ihateintegrals 0.1.2 [INFO] tweaked toml for crates.io crate ihateintegrals 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ihateintegrals 0.1.2 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] [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ad8f43387d67f251508c1ba5c32e420ed9deca6b7afa35f08309c3bccc4a745 [INFO] running `Command { std: "docker" "start" "-a" "8ad8f43387d67f251508c1ba5c32e420ed9deca6b7afa35f08309c3bccc4a745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ad8f43387d67f251508c1ba5c32e420ed9deca6b7afa35f08309c3bccc4a745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ad8f43387d67f251508c1ba5c32e420ed9deca6b7afa35f08309c3bccc4a745", kill_on_drop: false }` [INFO] [stdout] 8ad8f43387d67f251508c1ba5c32e420ed9deca6b7afa35f08309c3bccc4a745 [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] 2a29f0a4cf230f2fd9ce216cde2ae9a7869972342974daf3c80f3ab75e33a59f [INFO] running `Command { std: "docker" "start" "-a" "2a29f0a4cf230f2fd9ce216cde2ae9a7869972342974daf3c80f3ab75e33a59f", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ihateintegrals v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::iter::Chain, std::iter::Once>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derivation_rules/helpers.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | let delta_vars: Vec = dependent_variables(delta); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | !children_rec(exp) [INFO] [stdout] | ______^ [INFO] [stdout] 24 | | .chain(once(exp.clone())) [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 `[Expression; 1]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derivation_rules/cancel_trig_inverses.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 38 | let product_without_first_of = |exp1: Expression, exp2: Expression| -> Expression { [INFO] [stdout] | ---- ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | .chain(&[Integer::of(1)]) [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::iter::Chain, std::iter::Once>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derivation_rules/helpers.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | let delta_vars: Vec = dependent_variables(delta); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | !children_rec(exp) [INFO] [stdout] | ______^ [INFO] [stdout] 24 | | .chain(once(exp.clone())) [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 `[expressions::Expression; 1]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derivation_rules/cancel_trig_inverses.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 38 | let product_without_first_of = |exp1: Expression, exp2: Expression| -> Expression { [INFO] [stdout] | ---- ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | .chain(&[Integer::of(1)]) [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: function `substitute_guarded` is never used [INFO] [stdout] --> src/derivation_rules/helpers.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn substitute_guarded<'a, RP, GP>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_result` is never used [INFO] [stdout] --> src/derivation_rules/helpers.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn expect_result(rule: &dyn DerivationRule, start: Expression, expected: Expression) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_no_result` is never used [INFO] [stdout] --> src/derivation_rules/helpers.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn expect_no_result(rule: &dyn DerivationRule, start: Expression) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ihateintegrals` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `substitute_guarded` is never used [INFO] [stdout] --> src/derivation_rules/helpers.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn substitute_guarded<'a, RP, GP>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ihateintegrals` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2a29f0a4cf230f2fd9ce216cde2ae9a7869972342974daf3c80f3ab75e33a59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a29f0a4cf230f2fd9ce216cde2ae9a7869972342974daf3c80f3ab75e33a59f", kill_on_drop: false }` [INFO] [stdout] 2a29f0a4cf230f2fd9ce216cde2ae9a7869972342974daf3c80f3ab75e33a59f