[INFO] fetching crate numpy 0.21.0... [INFO] checking numpy-0.21.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate numpy 0.21.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate numpy 0.21.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 numpy 0.21.0 [INFO] finished tweaking crates.io crate numpy 0.21.0 [INFO] tweaked toml for crates.io crate numpy 0.21.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 53 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding nalgebra v0.32.6 (available: v0.33.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding pyo3 v0.21.2 (available: v0.22.3) [INFO] [stderr] Adding pyo3-build-config v0.21.2 (available: v0.22.3) [INFO] [stderr] Adding pyo3-ffi v0.21.2 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros v0.21.2 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros-backend v0.21.2 (available: v0.22.3) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding simba v0.8.1 (available: v0.9.0) [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] c89818cb358fe5877a4b5af99e33541e002ecbc669a1532d5e9b29d83d6443c7 [INFO] running `Command { std: "docker" "start" "-a" "c89818cb358fe5877a4b5af99e33541e002ecbc669a1532d5e9b29d83d6443c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c89818cb358fe5877a4b5af99e33541e002ecbc669a1532d5e9b29d83d6443c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89818cb358fe5877a4b5af99e33541e002ecbc669a1532d5e9b29d83d6443c7", kill_on_drop: false }` [INFO] [stdout] c89818cb358fe5877a4b5af99e33541e002ecbc669a1532d5e9b29d83d6443c7 [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] 009ff48b0452b1724de3f493352fe23e3e99b0c5ab192b24a360a3221e1bd62d [INFO] running `Command { std: "docker" "start" "-a" "009ff48b0452b1724de3f493352fe23e3e99b0c5ab192b24a360a3221e1bd62d", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [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 parking_lot v0.12.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking numpy v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/array.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_array_module<'py>(py: Python<'py>) -> PyResult> { [INFO] [stdout] | --- lifetime `'py` declared here ^^ this elided lifetime gets resolved as `'py` [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/array.rs:307:80 [INFO] [stdout] | [INFO] [stdout] 307 | pub unsafe fn new<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/array.rs:512:75 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn zeros<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/array.rs:1428:72 [INFO] [stdout] | [INFO] [stdout] 1428 | pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &Self { [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `PyReadonlyArray<'_, Py, Dim<[usize; 1]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/to_py.rs:242:38 [INFO] [stdout] | [INFO] [stdout] 235 | let dict = PyDict::new_bound(py); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | let string = PyString::new_bound(py, "Hello:)"); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | #[allow(clippy::useless_vec)] // otherwise we do not test the right trait impl [INFO] [stdout] 238 | let vec = vec![dict.to_object(py), string.to_object(py)]; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | [INFO] [stdout] 240 | let arr = vec.to_pyarray_bound(py); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | [INFO] [stdout] 242 | for (a, b) in vec.iter().zip(arr.readonly().as_slice().unwrap().iter()) { [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 `PyReadonlyArray<'_, Py, Dim<[usize; 2]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/to_py.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 254 | let mut nd_arr = Array2::from_shape_fn((2, 3), |(_, _)| py.None()); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let py_arr = nd_arr.to_pyarray_bound(py); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | .zip(py_arr.readonly().as_slice().unwrap().iter()) [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: elided lifetime has a name [INFO] [stdout] --> src/array.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn get_array_module<'py>(py: Python<'py>) -> PyResult> { [INFO] [stdout] | --- lifetime `'py` declared here ^^ this elided lifetime gets resolved as `'py` [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/array.rs:307:80 [INFO] [stdout] | [INFO] [stdout] 307 | pub unsafe fn new<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/array.rs:512:75 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn zeros<'py, ID>(py: Python<'py>, dims: ID, is_fortran: bool) -> &Self [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/array.rs:1428:72 [INFO] [stdout] | [INFO] [stdout] 1428 | pub fn arange<'py>(py: Python<'py>, start: T, stop: T, step: T) -> &Self { [INFO] [stdout] | --- lifetime `'py` declared here ^ this elided lifetime gets resolved as `'py` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numpy` (test "to_py") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `PyReadwriteArray<'_, f64, Dim<[usize; 3]>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/borrow/mod.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 631 | let array = PyArray::::zeros_bound(py, (1, 2, 3), false); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 643 | let exclusive = array.readwrite(); [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numpy` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "009ff48b0452b1724de3f493352fe23e3e99b0c5ab192b24a360a3221e1bd62d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009ff48b0452b1724de3f493352fe23e3e99b0c5ab192b24a360a3221e1bd62d", kill_on_drop: false }` [INFO] [stdout] 009ff48b0452b1724de3f493352fe23e3e99b0c5ab192b24a360a3221e1bd62d