[INFO] fetching crate DeepIron 0.1.4... [INFO] checking DeepIron-0.1.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate DeepIron 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate DeepIron 0.1.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate DeepIron 0.1.4 [INFO] finished tweaking crates.io crate DeepIron 0.1.4 [INFO] tweaked toml for crates.io crate DeepIron 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 147 packages to latest compatible versions [INFO] [stderr] Adding atoi_simd v0.15.6 (available: v0.16.0) [INFO] [stderr] Adding crossterm v0.27.0 (available: v0.28.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.5) [INFO] [stderr] Adding planus v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding polars v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-arrow v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-core v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-error v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-io v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-lazy v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-ops v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-pipe v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-plan v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-row v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-sql v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-time v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding polars-utils v0.35.4 (available: v0.43.1) [INFO] [stderr] Adding sqlparser v0.39.0 (available: v0.51.0) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.31.4) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a4dbfc1b6f850b8681a508af22dc9c93f87d44bc5a2cb67dc7e1e7a47e20616 [INFO] running `Command { std: "docker" "start" "-a" "9a4dbfc1b6f850b8681a508af22dc9c93f87d44bc5a2cb67dc7e1e7a47e20616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a4dbfc1b6f850b8681a508af22dc9c93f87d44bc5a2cb67dc7e1e7a47e20616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4dbfc1b6f850b8681a508af22dc9c93f87d44bc5a2cb67dc7e1e7a47e20616", kill_on_drop: false }` [INFO] [stdout] 9a4dbfc1b6f850b8681a508af22dc9c93f87d44bc5a2cb67dc7e1e7a47e20616 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ee027af49c503c19faa92a31e5ecc377ca75d62c51e7e5d1f72978ffb2fa6ef [INFO] running `Command { std: "docker" "start" "-a" "7ee027af49c503c19faa92a31e5ecc377ca75d62c51e7e5d1f72978ffb2fa6ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling polars-utils v0.35.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Compiling polars-core v0.35.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling polars-ops v0.35.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling polars v0.35.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking polars-error v0.35.4 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Compiling multiversion-macros v0.7.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Checking polars-arrow v0.35.4 [INFO] [stderr] Checking polars-row v0.35.4 [INFO] [stderr] Checking polars-time v0.35.4 [INFO] [stderr] Checking polars-io v0.35.4 [INFO] [stderr] Checking DeepIron v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LossFunctionType` and `LossFunction` [INFO] [stdout] --> src/layers.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::loss_functions::{LossFunction, LossFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFunction` [INFO] [stdout] --> src/multilayer_perceptron.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::model::activation_functions::{ActivationFunction, ActivationFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KernelFunctionType` and `KernelFunction` [INFO] [stdout] --> src/multilayer_perceptron.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::kernel_functions::{KernelFunction, KernelFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivationFunctionType` and `ActivationFunction` [INFO] [stdout] --> src/k_means.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::model::activation_functions::{ActivationFunction, ActivationFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LossFunctionType` and `LossFunction` [INFO] [stdout] --> src/k_means.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::loss_functions::{LossFunction, LossFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LossFunctionType` and `LossFunction` [INFO] [stdout] --> src/layers.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::loss_functions::{LossFunction, LossFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFunction` [INFO] [stdout] --> src/multilayer_perceptron.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::model::activation_functions::{ActivationFunction, ActivationFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KernelFunctionType` and `KernelFunction` [INFO] [stdout] --> src/multilayer_perceptron.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::kernel_functions::{KernelFunction, KernelFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivationFunctionType` and `ActivationFunction` [INFO] [stdout] --> src/k_means.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::model::activation_functions::{ActivationFunction, ActivationFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LossFunctionType` and `LossFunction` [INFO] [stdout] --> src/k_means.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::loss_functions::{LossFunction, LossFunctionType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `polars::prelude::Series` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 168 | fn forward(&self, inputs: Series, activation_function: ActivationFunctionType) -> Series { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | activation_function.activate(&(dot_prod_series + self.biases.clone())) [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] warning: unused variable: `grad_input` [INFO] [stdout] --> src/layers.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let grad_input: Series = &inputs * &grad_outputs; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `old_centroids` is never read [INFO] [stdout] --> src/k_means.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | let mut old_centroids: DataFrame = DataFrame::new::(vec![]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_centroids` is never read [INFO] [stdout] --> src/k_means.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut new_centroids: DataFrame = DataFrame::new::(vec![]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DeepIron` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `deep_iron` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DeepIron` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `polars::prelude::Series` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/layers.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 168 | fn forward(&self, inputs: Series, activation_function: ActivationFunctionType) -> Series { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | activation_function.activate(&(dot_prod_series + self.biases.clone())) [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] warning: unused variable: `grad_input` [INFO] [stdout] --> src/layers.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let grad_input: Series = &inputs * &grad_outputs; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grad_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `old_centroids` is never read [INFO] [stdout] --> src/k_means.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | let mut old_centroids: DataFrame = DataFrame::new::(vec![]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_centroids` is never read [INFO] [stdout] --> src/k_means.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | let mut new_centroids: DataFrame = DataFrame::new::(vec![]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DeepIron` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ee027af49c503c19faa92a31e5ecc377ca75d62c51e7e5d1f72978ffb2fa6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee027af49c503c19faa92a31e5ecc377ca75d62c51e7e5d1f72978ffb2fa6ef", kill_on_drop: false }` [INFO] [stdout] 7ee027af49c503c19faa92a31e5ecc377ca75d62c51e7e5d1f72978ffb2fa6ef