[INFO] fetching crate feos-pcsaft 0.2.0... [INFO] checking feos-pcsaft-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate feos-pcsaft 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate feos-pcsaft 0.2.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 feos-pcsaft 0.2.0 [INFO] finished tweaking crates.io crate feos-pcsaft 0.2.0 [INFO] tweaked toml for crates.io crate feos-pcsaft 0.2.0 written to /workspace/builds/worker-3-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] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.8) [INFO] [stderr] Adding feos-core v0.2.0 (available: v0.7.0) [INFO] [stderr] Adding feos-dft v0.2.0 (available: v0.7.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding gauss-quad v0.1.9 (available: v0.2.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding inventory v0.2.3 (available: v0.3.15) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-stats v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding num-dual v0.5.3 (available: v0.9.1) [INFO] [stderr] Adding numpy v0.16.2 (available: v0.21.0) [INFO] [stderr] Adding pyo3 v0.16.6 (available: v0.22.3) [INFO] [stderr] Adding pyo3-build-config v0.16.6 (available: v0.22.3) [INFO] [stderr] Adding pyo3-ffi v0.16.6 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros v0.16.6 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros-backend v0.16.6 (available: v0.22.3) [INFO] [stderr] Adding quantity v0.5.1 (available: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding unindent v0.1.11 (available: v0.2.3) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-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] af8791b140052d23865d58c524fc50c4dc7b57d763785ad792f22a58af52ce6b [INFO] running `Command { std: "docker" "start" "-a" "af8791b140052d23865d58c524fc50c4dc7b57d763785ad792f22a58af52ce6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af8791b140052d23865d58c524fc50c4dc7b57d763785ad792f22a58af52ce6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8791b140052d23865d58c524fc50c4dc7b57d763785ad792f22a58af52ce6b", kill_on_drop: false }` [INFO] [stdout] af8791b140052d23865d58c524fc50c4dc7b57d763785ad792f22a58af52ce6b [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] c5805004d45fa785ce06d841567ede7575aedea5d86082af66f9491d2b14fbe5 [INFO] running `Command { std: "docker" "start" "-a" "c5805004d45fa785ce06d841567ede7575aedea5d86082af66f9491d2b14fbe5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking ang v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rustdct v0.7.1 [INFO] [stderr] Checking quantity v0.5.1 [INFO] [stderr] Checking num-dual v0.5.3 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking feos-core v0.2.0 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking gauss-quad v0.1.9 [INFO] [stderr] Checking feos-dft v0.2.0 [INFO] [stderr] Checking feos-pcsaft v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/association.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 155 | let delta = Array::from_shape_fn((p.nassoc, p.nassoc), |(i, j)| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let mut x = match &x0 { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let mut x_dual = x.mapv(D::from); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok((rho * (xa.mapv(f) * na + xb.mapv(f) * nb)).sum()) [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 `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/association.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 225 | let mut g: Array1 = Array::zeros(2 * p.nassoc); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | Ok(norm(&g.map(D::re)) < tol) [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 `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/hard_chain.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 15 | let d = self.parameters.hs_diameter(state.temperature); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let g_hs = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | d.mapv(|d| frac_1mz3 + d * c * 1.5 - d.powi(2) * c.powi(2) * (zeta[3] - 1.0) * 0.5); [INFO] [stdout] 21 | / Array::from_shape_fn(self.parameters.m.len(), |i| { [INFO] [stdout] 22 | | state.partial_density[i] * (1.0 - self.parameters.m[i]) * g_hs[i].ln() [INFO] [stdout] 23 | | }) [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 `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/association.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 155 | let delta = Array::from_shape_fn((p.nassoc, p.nassoc), |(i, j)| { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | let mut x = match &x0 { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let mut x_dual = x.mapv(D::from); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | Ok((rho * (xa.mapv(f) * na + xb.mapv(f) * nb)).sum()) [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 `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/association.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 225 | let mut g: Array1 = Array::zeros(2 * p.nassoc); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | Ok(norm(&g.map(D::re)) < tol) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ndarray::ArrayBase, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/hard_chain.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 15 | let d = self.parameters.hs_diameter(state.temperature); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let g_hs = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | d.mapv(|d| frac_1mz3 + d * c * 1.5 - d.powi(2) * c.powi(2) * (zeta[3] - 1.0) * 0.5); [INFO] [stdout] 21 | / Array::from_shape_fn(self.parameters.m.len(), |i| { [INFO] [stdout] 22 | | state.partial_density[i] * (1.0 - self.parameters.m[i]) * g_hs[i].ln() [INFO] [stdout] 23 | | }) [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] [stderr] error: could not compile `feos-pcsaft` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `PhaseEquilibrium` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/mod.rs:409:19 [INFO] [stdout] | [INFO] [stdout] 406 | let e = Rc::new(PcSaft::new(propane_parameters())); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | let t = 300.0 * KELVIN; [INFO] [stdout] 408 | let vle = PhaseEquilibrium::pure(&e, t, None, Default::default()); [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] 409 | if let Ok(v) = vle { [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 `feos_core::State` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/eos/mod.rs:423:19 [INFO] [stdout] | [INFO] [stdout] 420 | let e = Rc::new(PcSaft::new(propane_parameters())); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 421 | let t = 300.0 * KELVIN; [INFO] [stdout] 422 | let cp = State::critical_point(&e, None, Some(t), Default::default()); [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] 423 | if let Ok(v) = cp { [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feos-pcsaft` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "c5805004d45fa785ce06d841567ede7575aedea5d86082af66f9491d2b14fbe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5805004d45fa785ce06d841567ede7575aedea5d86082af66f9491d2b14fbe5", kill_on_drop: false }` [INFO] [stdout] c5805004d45fa785ce06d841567ede7575aedea5d86082af66f9491d2b14fbe5