[INFO] fetching crate easy-ml 2.0.0-dev.0... [INFO] checking easy-ml-2.0.0-dev.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate easy-ml 2.0.0-dev.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate easy-ml 2.0.0-dev.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 easy-ml 2.0.0-dev.0 [INFO] finished tweaking crates.io crate easy-ml 2.0.0-dev.0 [INFO] tweaked toml for crates.io crate easy-ml 2.0.0-dev.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate easy-ml 2.0.0-dev.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] 3fc59e4b8a4aaa871c2531c4f5af7b3e4a0977ddf03213ac3f8dee4a398bb5d7 [INFO] running `Command { std: "docker" "start" "-a" "3fc59e4b8a4aaa871c2531c4f5af7b3e4a0977ddf03213ac3f8dee4a398bb5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fc59e4b8a4aaa871c2531c4f5af7b3e4a0977ddf03213ac3f8dee4a398bb5d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fc59e4b8a4aaa871c2531c4f5af7b3e4a0977ddf03213ac3f8dee4a398bb5d7", kill_on_drop: false }` [INFO] [stdout] 3fc59e4b8a4aaa871c2531c4f5af7b3e4a0977ddf03213ac3f8dee4a398bb5d7 [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] 1a123aa89eae80d7068157eefeba3c32a98ac74df07c2bd3a9fe279718780a82 [INFO] running `Command { std: "docker" "start" "-a" "1a123aa89eae80d7068157eefeba3c32a98ac74df07c2bd3a9fe279718780a82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking easy-ml v2.0.0-dev.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking drawille v0.3.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking textplots v0.8.6 [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 v0.8.5 [INFO] [stdout] error: this value of type `Record<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/differentiation/container_record/mod.rs:1177:17 [INFO] [stdout] | [INFO] [stdout] 1176 | self.numbers.map(|(x, i)| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1177 | / Record { [INFO] [stdout] 1178 | | number: x, [INFO] [stdout] 1179 | | history: Some(history), [INFO] [stdout] 1180 | | index: i, [INFO] [stdout] 1181 | | } [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 `Record<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/differentiation/container_record/mod.rs:2089:17 [INFO] [stdout] | [INFO] [stdout] 2088 | self.numbers.map(|(x, i)| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2089 | / Record { [INFO] [stdout] 2090 | | number: x, [INFO] [stdout] 2091 | | history: Some(history), [INFO] [stdout] 2092 | | index: i, [INFO] [stdout] 2093 | | } [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 `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/differentiation/record_operations.rs:831:19 [INFO] [stdout] | [INFO] [stdout] 825 | fn sum(mut iter: I) -> Record<'a, T> [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 829 | let mut total = Record::<'a, T>::zero(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 830 | loop { [INFO] [stdout] 831 | match iter.next() { [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/linear_algebra.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 184 | fn inverse_less_generic(tensor: TensorView) -> Option> [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | match determinant_less_generic::(&tensor) { [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] Checking toml v0.5.11 [INFO] [stdout] error: this value of type `TensorOwnedIterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tensors/views.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn into_scalar(self) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 914 | TensorOwnedIterator::from(self.source).next().unwrap() [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/tensors/mod.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn into_scalar(self) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 420 | / self.data [INFO] [stdout] 421 | | .into_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] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-ml` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1a123aa89eae80d7068157eefeba3c32a98ac74df07c2bd3a9fe279718780a82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a123aa89eae80d7068157eefeba3c32a98ac74df07c2bd3a9fe279718780a82", kill_on_drop: false }` [INFO] [stdout] 1a123aa89eae80d7068157eefeba3c32a98ac74df07c2bd3a9fe279718780a82