[INFO] fetching crate linfa-logistic 0.7.0... [INFO] checking linfa-logistic-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate linfa-logistic 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate linfa-logistic 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-logistic 0.7.0 [INFO] finished tweaking crates.io crate linfa-logistic 0.7.0 [INFO] tweaked toml for crates.io crate linfa-logistic 0.7.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate linfa-logistic 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9b66f8e7d4ffac55ccbdb9e8eddfb253fc17256fdf9880655cb7efe01317c27 [INFO] running `Command { std: "docker" "start" "-a" "d9b66f8e7d4ffac55ccbdb9e8eddfb253fc17256fdf9880655cb7efe01317c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9b66f8e7d4ffac55ccbdb9e8eddfb253fc17256fdf9880655cb7efe01317c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b66f8e7d4ffac55ccbdb9e8eddfb253fc17256fdf9880655cb7efe01317c27", kill_on_drop: false }` [INFO] [stdout] d9b66f8e7d4ffac55ccbdb9e8eddfb253fc17256fdf9880655cb7efe01317c27 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76d6a8b002c3f5f7e8ac5f907b3fbb4701c8c6a6f57c6eb02fcf8b4d41126305 [INFO] running `Command { std: "docker" "start" "-a" "76d6a8b002c3f5f7e8ac5f907b3fbb4701c8c6a6f57c6eb02fcf8b4d41126305", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [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 rmp v0.8.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking argmin-math v0.3.0 [INFO] [stderr] Checking ndarray-csv v0.5.1 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking linfa-datasets v0.7.0 [INFO] [stderr] Checking argmin v0.8.1 [INFO] [stderr] Checking linfa-logistic 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:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | let linesearch = MoreThuenteLineSearch::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | / LBFGS::new(linesearch, 10) [INFO] [stdout] 185 | | .with_tolerance_grad(self.gradient_tolerance) [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:203:9 [INFO] [stdout] | [INFO] [stdout] 199 | problem: P, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | solver: P::Solver, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | init_params: ArgminParam, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | ) -> Result>> { [INFO] [stdout] 203 | / Executor::new(problem, solver) [INFO] [stdout] 204 | | .configure(|state| state.param(init_params).max_iters(self.max_iterations)) [INFO] [stdout] 205 | | .run() [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:204:32 [INFO] [stdout] | [INFO] [stdout] 201 | init_params: ArgminParam, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | .configure(|state| state.param(init_params).max_iters(self.max_iterations)) [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/lib.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 233 | let (labels, target) = label_classes(y)?; [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] 234 | self.validate_data(x, &target)?; [INFO] [stdout] 235 | let problem = self.setup_problem(x, target); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | let solver = self.setup_solver(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | let init_params = self.setup_init_params(x.ncols()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let result = self.run_solver(problem, solver, init_params)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | [INFO] [stdout] 240 | let params = result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let (w, intercept) = convert_params(x.ncols(), params.as_array()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | Ok(FittedLogisticRegression::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 246 | | *intercept.view().into_scalar(), [INFO] [stdout] 247 | | w.to_owned(), [INFO] [stdout] 248 | | labels, [INFO] [stdout] 249 | | )) [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/lib.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 270 | let (classes, target) = label_classes_multi(y)?; [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] 271 | self.validate_data(x, &target)?; [INFO] [stdout] 272 | let problem = self.setup_problem(x, target); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let solver = self.setup_solver(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | let init_params = self.setup_init_params((x.ncols(), classes.len())); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let result = self.run_solver(problem, solver, init_params)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | [INFO] [stdout] 277 | let params = result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let (w, intercept) = convert_params(x.ncols(), params.as_array()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | Ok(MultiFittedLogisticRegression::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 283 | | intercept.to_owned(), [INFO] [stdout] 284 | | w.to_owned(), [INFO] [stdout] 285 | | classes, [INFO] [stdout] 286 | | )) [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/lib.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn label_classes(y: T) -> Result<(BinaryClassLabels, Array1)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | let mut target_array = y [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let (pos_cl, neg_cl) = if pos_class.1 < neg_class.1 { [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] 350 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 351 | | BinaryClassLabels { [INFO] [stdout] 352 | | pos: ClassLabel { [INFO] [stdout] 353 | | class: pos_cl, [INFO] [stdout] ... | [INFO] [stdout] 361 | | target_array, [INFO] [stdout] 362 | | )) [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:387:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn label_classes_multi(y: T) -> Result<(Vec, Array2)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let mut classes = y_single_target.to_vec(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let mut onehot = Array2::zeros((y_single_target.len(), classes.len())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Ok((classes, onehot)) [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/argmin_param.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 104 | let dims = self.as_array().raw_dim(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ArgminParam(Array::zeros(dims)) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-logistic` (lib) due to 9 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/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | let linesearch = MoreThuenteLineSearch::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | / LBFGS::new(linesearch, 10) [INFO] [stdout] 185 | | .with_tolerance_grad(self.gradient_tolerance) [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:203:9 [INFO] [stdout] | [INFO] [stdout] 199 | problem: P, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | solver: P::Solver, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | init_params: ArgminParam, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | ) -> Result>> { [INFO] [stdout] 203 | / Executor::new(problem, solver) [INFO] [stdout] 204 | | .configure(|state| state.param(init_params).max_iters(self.max_iterations)) [INFO] [stdout] 205 | | .run() [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:204:32 [INFO] [stdout] | [INFO] [stdout] 201 | init_params: ArgminParam, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | .configure(|state| state.param(init_params).max_iters(self.max_iterations)) [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/lib.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 233 | let (labels, target) = label_classes(y)?; [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] 234 | self.validate_data(x, &target)?; [INFO] [stdout] 235 | let problem = self.setup_problem(x, target); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | let solver = self.setup_solver(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | let init_params = self.setup_init_params(x.ncols()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let result = self.run_solver(problem, solver, init_params)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | [INFO] [stdout] 240 | let params = result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let (w, intercept) = convert_params(x.ncols(), params.as_array()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | Ok(FittedLogisticRegression::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 246 | | *intercept.view().into_scalar(), [INFO] [stdout] 247 | | w.to_owned(), [INFO] [stdout] 248 | | labels, [INFO] [stdout] 249 | | )) [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/lib.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 270 | let (classes, target) = label_classes_multi(y)?; [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] 271 | self.validate_data(x, &target)?; [INFO] [stdout] 272 | let problem = self.setup_problem(x, target); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | let solver = self.setup_solver(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | let init_params = self.setup_init_params((x.ncols(), classes.len())); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let result = self.run_solver(problem, solver, init_params)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | [INFO] [stdout] 277 | let params = result [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let (w, intercept) = convert_params(x.ncols(), params.as_array()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | Ok(MultiFittedLogisticRegression::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 283 | | intercept.to_owned(), [INFO] [stdout] 284 | | w.to_owned(), [INFO] [stdout] 285 | | classes, [INFO] [stdout] 286 | | )) [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/lib.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn label_classes(y: T) -> Result<(BinaryClassLabels, Array1)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 329 | let mut target_array = y [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let (pos_cl, neg_cl) = if pos_class.1 < neg_class.1 { [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] 350 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 351 | | BinaryClassLabels { [INFO] [stdout] 352 | | pos: ClassLabel { [INFO] [stdout] 353 | | class: pos_cl, [INFO] [stdout] ... | [INFO] [stdout] 361 | | target_array, [INFO] [stdout] 362 | | )) [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:387:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn label_classes_multi(y: T) -> Result<(Vec, Array2)> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let mut classes = y_single_target.to_vec(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let mut onehot = Array2::zeros((y_single_target.len(), classes.len())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Ok((classes, onehot)) [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/argmin_param.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 104 | let dims = self.as_array().raw_dim(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | ArgminParam(Array::zeros(dims)) [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 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-logistic` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "76d6a8b002c3f5f7e8ac5f907b3fbb4701c8c6a6f57c6eb02fcf8b4d41126305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d6a8b002c3f5f7e8ac5f907b3fbb4701c8c6a6f57c6eb02fcf8b4d41126305", kill_on_drop: false }` [INFO] [stdout] 76d6a8b002c3f5f7e8ac5f907b3fbb4701c8c6a6f57c6eb02fcf8b4d41126305