[INFO] fetching crate stv-rs 0.5.0... [INFO] checking stv-rs-0.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate stv-rs 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate stv-rs 0.5.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 stv-rs 0.5.0 [INFO] finished tweaking crates.io crate stv-rs 0.5.0 [INFO] tweaked toml for crates.io crate stv-rs 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate stv-rs 0.5.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 04df86d754ec81353e54d786f414618d977813c65f6dffc32714d1c850dfe9ea [INFO] running `Command { std: "docker" "start" "-a" "04df86d754ec81353e54d786f414618d977813c65f6dffc32714d1c850dfe9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04df86d754ec81353e54d786f414618d977813c65f6dffc32714d1c850dfe9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04df86d754ec81353e54d786f414618d977813c65f6dffc32714d1c850dfe9ea", kill_on_drop: false }` [INFO] [stdout] 04df86d754ec81353e54d786f414618d977813c65f6dffc32714d1c850dfe9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fe7b24086f35dbcb07388aca1a226bd5fa9329286ee891c62ed2f291dbf99662 [INFO] running `Command { std: "docker" "start" "-a" "fe7b24086f35dbcb07388aca1a226bd5fa9329286ee891c62ed2f291dbf99662", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking stv-rs v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stdout] error: this value of type `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:505:25 [INFO] [stdout] | [INFO] [stdout] 502 | Self::loop_check_i1(|a| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | R::ratio_i(I::from_usize(1), a.clone()) * R::from_int(a.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 `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 696 | Self::loop_check1_i1(&test_values, |a, b| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 697 | if !b.is_zero() { [INFO] [stdout] 698 | assert_eq!(&(a * &b) / &b, *a, "a * int(b) / int(b) != a for {a}, {b}"); [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 `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:730:25 [INFO] [stdout] | [INFO] [stdout] 727 | Self::loop_check1_i2(&test_values, num_samples, |a, b, c| { [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] 730 | &(a / &b) / &c, [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 `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:743:25 [INFO] [stdout] | [INFO] [stdout] 740 | Self::loop_check2_i1(&test_values, num_samples, |a: &R, b: &R, c: I| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 743 | &(a + b) / &c, [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 `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:778:25 [INFO] [stdout] | [INFO] [stdout] 775 | Self::loop_check1_i1(&test_values, |a, b| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 778 | a * &b, [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 `R` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetic/mod.rs:818:25 [INFO] [stdout] | [INFO] [stdout] 816 | Self::loop_check1_i1(&test_values, |a, b| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 817 | if !b.is_zero() { [INFO] [stdout] 818 | let mut c = a.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] [INFO] [stdout] [INFO] [stdout] error: this value of type `vote_count::VoteCount` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vote_count.rs:1334:29 [INFO] [stdout] | [INFO] [stdout] 1319 | let keep_factors_list = [ [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1334 | let left_vote_count = { [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::vec::IntoIter` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vote_count.rs:1375:31 [INFO] [stdout] | [INFO] [stdout] 1373 | let empty_keep_factors = vec![]; [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1374 | [INFO] [stdout] 1375 | for used_power in R::get_positive_test_values() { [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 `I` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vote_count.rs:1488:42 [INFO] [stdout] | [INFO] [stdout] 1486 | let pascal = pascal::(count); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1487 | for i in 0..=count { [INFO] [stdout] 1488 | assert_eq!(pascal[i][0], I::from_usize(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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stv-rs` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "fe7b24086f35dbcb07388aca1a226bd5fa9329286ee891c62ed2f291dbf99662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe7b24086f35dbcb07388aca1a226bd5fa9329286ee891c62ed2f291dbf99662", kill_on_drop: false }` [INFO] [stdout] fe7b24086f35dbcb07388aca1a226bd5fa9329286ee891c62ed2f291dbf99662