[INFO] fetching crate acme-tensor 0.3.1... [INFO] checking acme-tensor-0.3.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate acme-tensor 0.3.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate acme-tensor 0.3.1 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] started tweaking crates.io crate acme-tensor 0.3.1 [INFO] finished tweaking crates.io crate acme-tensor 0.3.1 [INFO] tweaked toml for crates.io crate acme-tensor 0.3.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c4331f4ec56b281ff023fcfa70adf1434491b67756b18b0b86a92ad77a9a7baf [INFO] running `Command { std: "docker" "start" "-a" "c4331f4ec56b281ff023fcfa70adf1434491b67756b18b0b86a92ad77a9a7baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4331f4ec56b281ff023fcfa70adf1434491b67756b18b0b86a92ad77a9a7baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4331f4ec56b281ff023fcfa70adf1434491b67756b18b0b86a92ad77a9a7baf", kill_on_drop: false }` [INFO] [stdout] c4331f4ec56b281ff023fcfa70adf1434491b67756b18b0b86a92ad77a9a7baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fbc7fdd77303b9e39e05cfd7f9e1572fb1ecdc95dac4277e9733524088660a24 [INFO] running `Command { std: "docker" "start" "-a" "fbc7fdd77303b9e39e05cfd7f9e1572fb1ecdc95dac4277e9733524088660a24", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [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 num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking acme-core v0.3.1 [INFO] [stderr] Checking acme-tensor v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Zip, acme::prelude::Iter<'_, f64>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/reshape.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 35 | let a = Tensor::::linspace(0f64, 6f64, 6) [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let at = a.t(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | [INFO] [stdout] 40 | let exp = Tensor::from_shape_vec((3, 2), vec![0.0, 3.0, 1.0, 4.0, 2.0, 5.0]); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | for (i, j) in at.iter().zip(exp.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 `TensorBase` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/tensor.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 28 | let exp = Tensor::::from_shape_vec(shape.clone(), data.clone()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let a = Tensor::::from_raw_parts(ptr, shape, stride); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `acme-tensor` (test "reshape") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `acme-tensor` (test "tensor") due to 2 previous errors [INFO] [stdout] error: this value of type `TensorBase` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/backward.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 46 | let a = Tensor::::ones(shape).variable(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | let b = Tensor::::ones(shape).variable(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let c = Tensor::::ones(shape).variable(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let d = &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] 53 | let grad = d.grad().unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(grad[i], Tensor::ones(shape)); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Zip>, Rev>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/iter.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 75 | let tensor = Tensor::linspace(0f64, n as f64, n).reshape(shape).unwrap(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | [INFO] [stdout] 77 | for (i, j) in tensor.iter().rev().zip(exp.iter().rev()) { [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] [stderr] error: could not compile `acme-tensor` (test "backward") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `acme-tensor` (test "iter") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "fbc7fdd77303b9e39e05cfd7f9e1572fb1ecdc95dac4277e9733524088660a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc7fdd77303b9e39e05cfd7f9e1572fb1ecdc95dac4277e9733524088660a24", kill_on_drop: false }` [INFO] [stdout] fbc7fdd77303b9e39e05cfd7f9e1572fb1ecdc95dac4277e9733524088660a24