[INFO] cloning repository https://github.com/Banyc/math [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Banyc/math" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Fmath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Fmath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 120dc8ec21d918eb67e6457dd965afa9d27fab53 [INFO] checking Banyc/math/120dc8ec21d918eb67e6457dd965afa9d27fab53 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Fmath" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Banyc/math 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 git repo https://github.com/Banyc/math [INFO] finished tweaking git repo https://github.com/Banyc/math [INFO] tweaked toml for git repo https://github.com/Banyc/math written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Banyc/math 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] 0d4f06c37dbc61bef8c8c6c7f7354c824b2751116d5e43adf051d72d0eae7d92 [INFO] running `Command { std: "docker" "start" "-a" "0d4f06c37dbc61bef8c8c6c7f7354c824b2751116d5e43adf051d72d0eae7d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d4f06c37dbc61bef8c8c6c7f7354c824b2751116d5e43adf051d72d0eae7d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4f06c37dbc61bef8c8c6c7f7354c824b2751116d5e43adf051d72d0eae7d92", kill_on_drop: false }` [INFO] [stdout] 0d4f06c37dbc61bef8c8c6c7f7354c824b2751116d5e43adf051d72d0eae7d92 [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] b4e5e825fcbdc7beb74d3c3b186b2cd2bfde69f5334ecce09da540e6f869c352 [INFO] running `Command { std: "docker" "start" "-a" "b4e5e825fcbdc7beb74d3c3b186b2cd2bfde69f5334ecce09da540e6f869c352", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling polars-utils v0.41.2 [INFO] [stderr] Compiling polars-arrow v0.41.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling polars-compute v0.41.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling polars-core v0.41.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling polars-ops v0.41.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking xxhash-rust v0.8.10 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Compiling polars-plan v0.41.2 [INFO] [stderr] Compiling polars-lazy v0.41.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Compiling polars v0.41.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking reikna v0.12.3 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking integer-encoding v4.0.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking strict-num v0.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking raw-cpuid v11.0.2 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking statistical_inference v0.1.0 (https://github.com/Banyc/statistical_inference.git?tag=v0.0.3#e7af02a9) [INFO] [stderr] Checking math v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking comfy-table v7.1.1 [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/statistics/lin_regr.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | example.predictors().nth(i).unwrap().get() * example.response().get() [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/statistics/lin_regr.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | .map(|example| example.predictors().nth(i).unwrap().get()) [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/statistics/lin_regr.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | example.predictors().nth(first).unwrap().get() [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/statistics/lin_regr.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | example.predictors().nth(first).unwrap().get() [INFO] [stdout] 123 | * example.predictors().nth(second).unwrap().get() [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/statistics/lin_regr.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 230 | fn residuals(model: &LinearRegression, examples: impl Iterator + Clone) -> Vec [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let responses = examples.clone().map(|example| example.response().get()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let predicted_responses = examples [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | / predicted_responses [INFO] [stdout] 244 | | .zip(responses.clone()) [INFO] [stdout] 245 | | .map(|(y_hat, y)| y - y_hat) [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/statistics/lin_regr.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 237 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | model [INFO] [stdout] 239 | .predict(example.predictors().map(|x| x.get())) [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/statistics/mean.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn mean(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(self.map(|x| x / n as f64).sum()) [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/statistics/mean.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | fn mean(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self.map(|x| x.get()) [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/transformer/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let t = estimator.fit(self.clone())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Ok(self.transform_by(t)) [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] = 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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math` (lib) due to 10 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/statistics/lin_regr.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | example.predictors().nth(i).unwrap().get() * example.response().get() [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/statistics/lin_regr.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | .map(|example| example.predictors().nth(i).unwrap().get()) [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/statistics/lin_regr.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | example.predictors().nth(first).unwrap().get() [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/statistics/lin_regr.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 121 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | example.predictors().nth(first).unwrap().get() [INFO] [stdout] 123 | * example.predictors().nth(second).unwrap().get() [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/statistics/lin_regr.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 230 | fn residuals(model: &LinearRegression, examples: impl Iterator + Clone) -> Vec [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let responses = examples.clone().map(|example| example.response().get()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | let predicted_responses = examples [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | / predicted_responses [INFO] [stdout] 244 | | .zip(responses.clone()) [INFO] [stdout] 245 | | .map(|(y_hat, y)| y - y_hat) [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/statistics/lin_regr.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 237 | .map(|example| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | model [INFO] [stdout] 239 | .predict(example.predictors().map(|x| x.get())) [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/statistics/mean.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn mean(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(self.map(|x| x / n as f64).sum()) [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/statistics/mean.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | fn mean(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self.map(|x| x.get()) [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/transformer/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let t = estimator.fit(self.clone())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Ok(self.transform_by(t)) [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] = 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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "b4e5e825fcbdc7beb74d3c3b186b2cd2bfde69f5334ecce09da540e6f869c352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e5e825fcbdc7beb74d3c3b186b2cd2bfde69f5334ecce09da540e6f869c352", kill_on_drop: false }` [INFO] [stdout] b4e5e825fcbdc7beb74d3c3b186b2cd2bfde69f5334ecce09da540e6f869c352