[INFO] fetching crate linfa-logistic 0.7.0... [INFO] checking linfa-logistic-0.7.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate linfa-logistic 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate linfa-logistic 0.7.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 linfa-logistic 0.7.0 [INFO] finished tweaking crates.io crate linfa-logistic 0.7.0 [INFO] tweaked toml for crates.io crate linfa-logistic 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate linfa-logistic 0.7.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 09989826ce379e742b458cb46b2037ef57a99efb14946abc561b3a42a195d64d [INFO] running `Command { std: "docker" "start" "-a" "09989826ce379e742b458cb46b2037ef57a99efb14946abc561b3a42a195d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09989826ce379e742b458cb46b2037ef57a99efb14946abc561b3a42a195d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09989826ce379e742b458cb46b2037ef57a99efb14946abc561b3a42a195d64d", kill_on_drop: false }` [INFO] [stdout] 09989826ce379e742b458cb46b2037ef57a99efb14946abc561b3a42a195d64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] dbd04a3f046ff173756c348bf032b4e95c29ab7cfefedddda42fbe8f1346cb1e [INFO] running `Command { std: "docker" "start" "-a" "dbd04a3f046ff173756c348bf032b4e95c29ab7cfefedddda42fbe8f1346cb1e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking argmin-math v0.3.0 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking linfa-datasets v0.7.0 [INFO] [stderr] Checking argmin v0.8.1 [INFO] [stderr] Checking linfa-logistic v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ArrayBase, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1252:18 [INFO] [stdout] | [INFO] [stdout] 1197 | let x = array![ [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1207 | let y = array![ [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1217 | let params1 = array![[4.4, -1.2, 3.3], [3.4, 0.1, 0.0]]; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1218 | let params2 = array![[0.001, -3.2, 2.9], [0.1, 4.5, 5.7], [4.5, 2.2, 1.7]]; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1252 | let (log_prob, w) = multi_logistic_prob_params(&x, ¶ms2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1255 | / array![ [INFO] [stdout] 1256 | | [-1.06637742e+00, -1.16637742e+00, -1.06637742e+00], [INFO] [stdout] 1257 | | [-4.12429463e-03, -9.90512429e+00, -5.50512429e+00], [INFO] [stdout] 1258 | | [-2.74092305e-04, -1.75022741e+01, -8.20227409e+00], [INFO] [stdout] ... | [INFO] [stdout] 1263 | | [-3.73912013e-10, -5.55070000e+01, -2.17070000e+01] [INFO] [stdout] 1264 | | ], [INFO] [stdout] | |_________________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1273 | / array![ [INFO] [stdout] 1274 | | [26.99587549, -10.91995003, -16.25532546], [INFO] [stdout] 1275 | | [-27.26314882, 11.85569669, 21.58745213], [INFO] [stdout] 1276 | | [5.33984376, -2.68845675, -2.65138701] [INFO] [stdout] 1277 | | ], [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-logistic` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "dbd04a3f046ff173756c348bf032b4e95c29ab7cfefedddda42fbe8f1346cb1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd04a3f046ff173756c348bf032b4e95c29ab7cfefedddda42fbe8f1346cb1e", kill_on_drop: false }` [INFO] [stdout] dbd04a3f046ff173756c348bf032b4e95c29ab7cfefedddda42fbe8f1346cb1e