[INFO] fetching crate linfa-tsne 0.7.0... [INFO] checking linfa-tsne-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate linfa-tsne 0.7.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate linfa-tsne 0.7.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linfa-tsne 0.7.0 [INFO] finished tweaking crates.io crate linfa-tsne 0.7.0 [INFO] tweaked toml for crates.io crate linfa-tsne 0.7.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate linfa-tsne 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e3f1caa25d161469fc9d5a5b87cd65474cc83e229c91461ae3fadb533e322b8 [INFO] running `Command { std: "docker" "start" "-a" "2e3f1caa25d161469fc9d5a5b87cd65474cc83e229c91461ae3fadb533e322b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e3f1caa25d161469fc9d5a5b87cd65474cc83e229c91461ae3fadb533e322b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3f1caa25d161469fc9d5a5b87cd65474cc83e229c91461ae3fadb533e322b8", kill_on_drop: false }` [INFO] [stdout] 2e3f1caa25d161469fc9d5a5b87cd65474cc83e229c91461ae3fadb533e322b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 397414b03b8aec40628746dd6539f9e1bac61ed8b11abef2061794b90cc77d03 [INFO] running `Command { std: "docker" "start" "-a" "397414b03b8aec40628746dd6539f9e1bac61ed8b11abef2061794b90cc77d03", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking pbr v1.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling curl-sys v0.4.68+curl-8.4.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking kdtree v0.6.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking bhtsne v0.4.1 [INFO] [stderr] Checking mnist v0.5.0 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking linfa-linalg v0.1.0 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking linfa-nn v0.7.0 [INFO] [stderr] Checking linfa-datasets v0.7.0 [INFO] [stderr] Checking linfa-tsne v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn transform(&self, mut data: Array2) -> Result> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let mut rng = self.rng().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Array2::from_shape_vec((nsamples, self.embedding_size()), embedding).map_err(|e| e.into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 72 | fn transform(&self, ds: DatasetBase, T>) -> Result, T>> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let DatasetBase { [INFO] [stdout] 74 | records, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | targets, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | weights, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | self.transform(records) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 72 | fn transform(&self, ds: DatasetBase, T>) -> Result, T>> { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let DatasetBase { [INFO] [stdout] 74 | records, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | targets, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | weights, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | .map(|new_records| DatasetBase::new(new_records, targets).with_weights(weights)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 75 | targets, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | weights, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | .map(|new_records| DatasetBase::new(new_records, targets).with_weights(weights)) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hyperparams.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn embedding_size_with_rng(embedding_size: usize, rng: R) -> TSneParams { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self(TSneValidParams { [INFO] [stdout] | ______________^ [INFO] [stdout] 95 | | embedding_size, [INFO] [stdout] 96 | | rng, [INFO] [stdout] 97 | | approx_threshold: F::cast(0.5), [INFO] [stdout] ... | [INFO] [stdout] 100 | | preliminary_iter: None, [INFO] [stdout] 101 | | }) [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 `linfa-tsne` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "397414b03b8aec40628746dd6539f9e1bac61ed8b11abef2061794b90cc77d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397414b03b8aec40628746dd6539f9e1bac61ed8b11abef2061794b90cc77d03", kill_on_drop: false }` [INFO] [stdout] 397414b03b8aec40628746dd6539f9e1bac61ed8b11abef2061794b90cc77d03