[INFO] fetching crate linfa-preprocessing 0.7.0... [INFO] checking linfa-preprocessing-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate linfa-preprocessing 0.7.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate linfa-preprocessing 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-preprocessing 0.7.0 [INFO] finished tweaking crates.io crate linfa-preprocessing 0.7.0 [INFO] tweaked toml for crates.io crate linfa-preprocessing 0.7.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate linfa-preprocessing 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b73731e6eb53b6645898eb360a1fd3198caf68b4bd7b081f6de73c48dd27bc2c [INFO] running `Command { std: "docker" "start" "-a" "b73731e6eb53b6645898eb360a1fd3198caf68b4bd7b081f6de73c48dd27bc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b73731e6eb53b6645898eb360a1fd3198caf68b4bd7b081f6de73c48dd27bc2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73731e6eb53b6645898eb360a1fd3198caf68b4bd7b081f6de73c48dd27bc2c", kill_on_drop: false }` [INFO] [stdout] b73731e6eb53b6645898eb360a1fd3198caf68b4bd7b081f6de73c48dd27bc2c [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eb7bdd19c02dd404da98aabed1123878c8849f75c3200a5980321cd69c9ad69 [INFO] running `Command { std: "docker" "start" "-a" "0eb7bdd19c02dd404da98aabed1123878c8849f75c3200a5980321cd69c9ad69", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking rawpointer v0.2.1 [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] Checking memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling curl-sys v0.4.68+curl-8.4.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking regex-automata v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking linfa-linalg v0.1.0 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Checking linfa-datasets v0.7.0 [INFO] [stderr] Checking linfa-bayes v0.7.0 [INFO] [stderr] Checking linfa-preprocessing 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/linear_scaling.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 55 | let means = records.mean_axis(Axis(0)).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let std_devs = if with_std { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | offsets: means, [INFO] [stdout] 70 | | scales: std_devs, [INFO] [stdout] 71 | | method: ScalingMethod::Standard(with_mean, with_std), [INFO] [stdout] 72 | | }) [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/linear_scaling.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mins = records.fold_axis( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut scales = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | offsets: mins, [INFO] [stdout] 107 | | scales, [INFO] [stdout] 108 | | method: ScalingMethod::MinMax(min, max), [INFO] [stdout] 109 | | }) [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/linear_scaling.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 116 | let scales: Array1 = records.map_axis(Axis(0), |col| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let offsets = Array1::zeros(records.dim().1); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | offsets, [INFO] [stdout] 129 | | scales, [INFO] [stdout] 130 | | method: ScalingMethod::MaxAbs, [INFO] [stdout] 131 | | }) [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/linear_scaling.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 310 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let feature_names = x.feature_names(); [INFO] [stdout] 312 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | / DatasetBase::new(records, targets) [INFO] [stdout] 315 | | .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/norm_scaling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 96 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let feature_names = x.feature_names(); [INFO] [stdout] 98 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | / DatasetBase::new(records, targets) [INFO] [stdout] 101 | | .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/tf_idf_vectorization.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn convert_to_lowercase(self, convert_to_lowercase: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Self { [INFO] [stdout] 73 | count_vectorizer: self [INFO] [stdout] | _______________________________^ [INFO] [stdout] 74 | | .count_vectorizer [INFO] [stdout] 75 | | .convert_to_lowercase(convert_to_lowercase), [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/tf_idf_vectorization.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn split_regex(self, regex_str: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Self { [INFO] [stdout] 83 | count_vectorizer: self.count_vectorizer.split_regex(regex_str), [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/tf_idf_vectorization.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn n_gram_range(self, min_n: usize, max_n: usize) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { [INFO] [stdout] 95 | count_vectorizer: self.count_vectorizer.n_gram_range(min_n, max_n), [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/tf_idf_vectorization.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn normalize(self, normalize: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | Self { [INFO] [stdout] 103 | count_vectorizer: self.count_vectorizer.normalize(normalize), [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/tf_idf_vectorization.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn document_frequency(self, min_freq: f32, max_freq: f32) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Self { [INFO] [stdout] 112 | count_vectorizer: self.count_vectorizer.document_frequency(min_freq, max_freq), [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/tf_idf_vectorization.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn stopwords(self, stopwords: &[T]) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Self { [INFO] [stdout] 120 | count_vectorizer: self.count_vectorizer.stopwords(stopwords), [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/tf_idf_vectorization.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | let fitted_vectorizer = self.count_vectorizer.fit(x)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | fitted_vectorizer, [INFO] [stdout] 139 | | method: self.method.clone(), [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/tf_idf_vectorization.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let fitted_vectorizer = self.count_vectorizer.fit_vocabulary(words)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | fitted_vectorizer, [INFO] [stdout] 150 | | method: self.method.clone(), [INFO] [stdout] 151 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/tf_idf_vectorization.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | let fitted_vectorizer = self.count_vectorizer.fit_files(input, encoding, trap)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | fitted_vectorizer, [INFO] [stdout] 163 | | method: self.method.clone(), [INFO] [stdout] 164 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/whitening.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 90 | let mean = x.records().mean_axis(Axis(0)).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let sigma = x.records() - &mean; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let sigma = sigma.with_lapack(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | let transformation_matrix = match self.method { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | WhiteningMethod::Pca => { [INFO] [stdout] 98 | let (_, s, v_t) = sigma.svd(false, true)?; [INFO] [stdout] | - --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let mut v_t = v_t.unwrap().without_lapack(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let s = s.without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let s = s.mapv(|x: F| x.max(F::cast(1e-8))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let sigma = sigma.t().dot(&sigma) / F::Lapack::cast(x.nsamples() - 1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let (u, s, _) = sigma.svd(true, false)?; [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let u = u.unwrap().without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let s = s.without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | [INFO] [stdout] 125 | let s = s.mapv(|x: F| (F::one() / x.sqrt()).max(F::cast(1e-8))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let lambda: Array2 = Array2::::eye(s.len()) * s; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let sigma = sigma.t().dot(&sigma) / F::Lapack::cast(x.nsamples() - 1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let mut sigma = sigma; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | #[cfg(not(feature = "blas"))] [INFO] [stdout] 141 | let out = sigma [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(FittedWhitener { [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | transformation_matrix, [INFO] [stdout] 153 | | mean, [INFO] [stdout] 154 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/whitening.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn transform(&self, x: Array2) -> Array2 { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | (x - &self.mean).dot(&self.transformation_matrix.t()) [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/whitening.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 211 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let feature_names = x.feature_names(); [INFO] [stdout] 213 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | / DatasetBase::new(records, targets) [INFO] [stdout] 216 | | .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: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-preprocessing` (lib) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/linear_scaling.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 55 | let means = records.mean_axis(Axis(0)).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | let std_devs = if with_std { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | offsets: means, [INFO] [stdout] 70 | | scales: std_devs, [INFO] [stdout] 71 | | method: ScalingMethod::Standard(with_mean, with_std), [INFO] [stdout] 72 | | }) [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/linear_scaling.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 86 | let mins = records.fold_axis( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let mut scales = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 106 | | offsets: mins, [INFO] [stdout] 107 | | scales, [INFO] [stdout] 108 | | method: ScalingMethod::MinMax(min, max), [INFO] [stdout] 109 | | }) [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/linear_scaling.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 116 | let scales: Array1 = records.map_axis(Axis(0), |col| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let offsets = Array1::zeros(records.dim().1); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Ok(LinearScaler { [INFO] [stdout] | ____________^ [INFO] [stdout] 128 | | offsets, [INFO] [stdout] 129 | | scales, [INFO] [stdout] 130 | | method: ScalingMethod::MaxAbs, [INFO] [stdout] 131 | | }) [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/linear_scaling.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 310 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let feature_names = x.feature_names(); [INFO] [stdout] 312 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | / DatasetBase::new(records, targets) [INFO] [stdout] 315 | | .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/norm_scaling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 96 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let feature_names = x.feature_names(); [INFO] [stdout] 98 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | / DatasetBase::new(records, targets) [INFO] [stdout] 101 | | .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/tf_idf_vectorization.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn convert_to_lowercase(self, convert_to_lowercase: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Self { [INFO] [stdout] 73 | count_vectorizer: self [INFO] [stdout] | _______________________________^ [INFO] [stdout] 74 | | .count_vectorizer [INFO] [stdout] 75 | | .convert_to_lowercase(convert_to_lowercase), [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/tf_idf_vectorization.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn split_regex(self, regex_str: &str) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Self { [INFO] [stdout] 83 | count_vectorizer: self.count_vectorizer.split_regex(regex_str), [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/tf_idf_vectorization.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn n_gram_range(self, min_n: usize, max_n: usize) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { [INFO] [stdout] 95 | count_vectorizer: self.count_vectorizer.n_gram_range(min_n, max_n), [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/tf_idf_vectorization.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn normalize(self, normalize: bool) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | Self { [INFO] [stdout] 103 | count_vectorizer: self.count_vectorizer.normalize(normalize), [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/tf_idf_vectorization.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn document_frequency(self, min_freq: f32, max_freq: f32) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Self { [INFO] [stdout] 112 | count_vectorizer: self.count_vectorizer.document_frequency(min_freq, max_freq), [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/tf_idf_vectorization.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn stopwords(self, stopwords: &[T]) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Self { [INFO] [stdout] 120 | count_vectorizer: self.count_vectorizer.stopwords(stopwords), [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/tf_idf_vectorization.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | let fitted_vectorizer = self.count_vectorizer.fit(x)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 138 | | fitted_vectorizer, [INFO] [stdout] 139 | | method: self.method.clone(), [INFO] [stdout] 140 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/tf_idf_vectorization.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let fitted_vectorizer = self.count_vectorizer.fit_vocabulary(words)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | fitted_vectorizer, [INFO] [stdout] 150 | | method: self.method.clone(), [INFO] [stdout] 151 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/tf_idf_vectorization.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | let fitted_vectorizer = self.count_vectorizer.fit_files(input, encoding, trap)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | Ok(FittedTfIdfVectorizer { [INFO] [stdout] | ____________^ [INFO] [stdout] 162 | | fitted_vectorizer, [INFO] [stdout] 163 | | method: self.method.clone(), [INFO] [stdout] 164 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/whitening.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 90 | let mean = x.records().mean_axis(Axis(0)).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let sigma = x.records() - &mean; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let sigma = sigma.with_lapack(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | [INFO] [stdout] 96 | let transformation_matrix = match self.method { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | WhiteningMethod::Pca => { [INFO] [stdout] 98 | let (_, s, v_t) = sigma.svd(false, true)?; [INFO] [stdout] | - --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let mut v_t = v_t.unwrap().without_lapack(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let s = s.without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | [INFO] [stdout] 106 | let s = s.mapv(|x: F| x.max(F::cast(1e-8))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let sigma = sigma.t().dot(&sigma) / F::Lapack::cast(x.nsamples() - 1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let (u, s, _) = sigma.svd(true, false)?; [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | let u = u.unwrap().without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let s = s.without_lapack(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | [INFO] [stdout] 125 | let s = s.mapv(|x: F| (F::one() / x.sqrt()).max(F::cast(1e-8))); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | let lambda: Array2 = Array2::::eye(s.len()) * s; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let sigma = sigma.t().dot(&sigma) / F::Lapack::cast(x.nsamples() - 1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | let mut sigma = sigma; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | #[cfg(not(feature = "blas"))] [INFO] [stdout] 141 | let out = sigma [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(FittedWhitener { [INFO] [stdout] | ____________^ [INFO] [stdout] 152 | | transformation_matrix, [INFO] [stdout] 153 | | mean, [INFO] [stdout] 154 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/whitening.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn transform(&self, x: Array2) -> Array2 { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | (x - &self.mean).dot(&self.transformation_matrix.t()) [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/whitening.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 211 | fn transform(&self, x: DatasetBase, T>) -> DatasetBase, T> { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | let feature_names = x.feature_names(); [INFO] [stdout] 213 | let (records, targets, weights) = (x.records, x.targets, x.weights); [INFO] [stdout] | ------- ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 214 | let records = self.transform(records.to_owned()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | / DatasetBase::new(records, targets) [INFO] [stdout] 216 | | .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: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-preprocessing` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "0eb7bdd19c02dd404da98aabed1123878c8849f75c3200a5980321cd69c9ad69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb7bdd19c02dd404da98aabed1123878c8849f75c3200a5980321cd69c9ad69", kill_on_drop: false }` [INFO] [stdout] 0eb7bdd19c02dd404da98aabed1123878c8849f75c3200a5980321cd69c9ad69