[INFO] fetching crate candle-optimisers 0.6.0... [INFO] checking candle-optimisers-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate candle-optimisers 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate candle-optimisers 0.6.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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate candle-optimisers 0.6.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate candle-optimisers 0.6.0 [INFO] tweaked toml for crates.io crate candle-optimisers 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate candle-optimisers 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2cb51974b5af271c423209e4bb648ffbe097f43e966b34a4c6bb3d97fa76bef [INFO] running `Command { std: "docker" "start" "-a" "c2cb51974b5af271c423209e4bb648ffbe097f43e966b34a4c6bb3d97fa76bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2cb51974b5af271c423209e4bb648ffbe097f43e966b34a4c6bb3d97fa76bef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2cb51974b5af271c423209e4bb648ffbe097f43e966b34a4c6bb3d97fa76bef", kill_on_drop: false }` [INFO] [stdout] c2cb51974b5af271c423209e4bb648ffbe097f43e966b34a4c6bb3d97fa76bef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d08f99d181b5f37ca0a6a71471d9157963e0d1f3758b22d1994b1cc23b7e8541 [INFO] running `Command { std: "docker" "start" "-a" "d08f99d181b5f37ca0a6a71471d9157963e0d1f3758b22d1994b1cc23b7e8541", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking arrow-schema v51.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rustls-pki-types v1.3.1 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling rustls v0.22.2 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking thrift v0.17.0 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking lz4_flex v0.11.2 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling yoke-derive v0.7.3 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling monostate-impl v0.1.12 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking zerofrom v0.1.3 [INFO] [stderr] Checking yoke v0.7.3 [INFO] [stderr] Checking pulp v0.18.8 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking arrow-buffer v51.0.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking arrow-data v51.0.0 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking arrow-array v51.0.0 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking arrow-select v51.0.0 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking arrow-cast v51.0.0 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking monostate v0.1.12 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking arrow-ipc v51.0.0 [INFO] [stderr] Checking safetensors v0.4.2 [INFO] [stderr] Checking ureq v2.9.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tokenizers v0.19.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking candle-core v0.6.0 [INFO] [stderr] Checking parquet v51.0.0 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking candle-nn v0.6.0 [INFO] [stderr] Checking candle-optimisers v0.6.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/adadelta.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 85 | fn new(vars: Vec, params: ParamsAdaDelta) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | vars, [INFO] [stdout] 103 | | params, [INFO] [stdout] 104 | | // avg_acc: HashMap::new(), [INFO] [stdout] 105 | | }) [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] = 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/adadelta.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let u = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | Ok(VarAdaDelta { theta: var, v, u }) [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] = 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/adadelta.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | self.vars.into_iter().map(|v| v.theta).collect() [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/adagrad.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn new(vars: Vec, params: ParamsAdaGrad) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | vars, [INFO] [stdout] 105 | | t: 0., [INFO] [stdout] 106 | | params, [INFO] [stdout] 107 | | }) [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/adagrad.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let sum = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | Ok(VarAdaGrad { theta: var, sum }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/adagrad.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | self.vars.into_iter().map(|v| v.theta).collect() [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/adam.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 95 | fn new(vars: Vec) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(VecAdamBase( [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | vars.into_iter() [INFO] [stdout] 101 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] 102 | | .map(|var| { [INFO] [stdout] ... | [INFO] [stdout] 110 | | .collect::>>()?, [INFO] [stdout] 111 | | )) [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/adam.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 102 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let m = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Ok(VarAdamBase { theta: var, m, v }) [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] = 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/adam.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | self.0.into_iter().map(|var| var.theta).collect() [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/adam.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 204 | fn new(vars: Vec) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | Ok(VecAdamAmsgrad( [INFO] [stdout] | ____________^ [INFO] [stdout] 209 | | vars.into_iter() [INFO] [stdout] 210 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] 211 | | .map(|var| { [INFO] [stdout] ... | [INFO] [stdout] 225 | | .collect::>>()?, [INFO] [stdout] 226 | | )) [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/adam.rs:218:24 [INFO] [stdout] | [INFO] [stdout] 211 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let m = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 216 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let vmax = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 218 | Ok(VarAdamAmsgrad { [INFO] [stdout] | ________________________^ [INFO] [stdout] 219 | | theta: var, [INFO] [stdout] 220 | | m, [INFO] [stdout] 221 | | v, [INFO] [stdout] 222 | | vmax, [INFO] [stdout] 223 | | }) [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] | | 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/adam.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | self.0.into_iter().map(|var| var.theta).collect() [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/adamax.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 88 | fn new(vars: Vec, params: ParamsAdaMax) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | vars, [INFO] [stdout] 106 | | params, [INFO] [stdout] 107 | | t: 1., [INFO] [stdout] 108 | | }) [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/adamax.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let m = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let u = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Ok(VarAdaMax { theta: var, m, u }) [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] = 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/adamax.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 200 | self.vars.into_iter().map(|v| v.theta).collect() [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/esgd.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 85 | fn new(vars: Vec, params: ParamsSGD) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | Ok(Self { vars, params }) [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/esgd.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 89 | .map(|var| VarSGD { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | theta: var, [INFO] [stdout] 91 | b: None, [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/esgd.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | self.vars.into_iter().map(|v| v.theta).collect() [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/lbfgs.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 137 | fn new(vs: Vec, params: Self::Config, model: M) -> CResult { [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] 138 | let hist_size = params.history_size; [INFO] [stdout] 139 | Ok(Lbfgs { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | vars: vs, [INFO] [stdout] 141 | | model, [INFO] [stdout] 142 | | s_hist: VecDeque::with_capacity(hist_size), [INFO] [stdout] ... | [INFO] [stdout] 147 | | first: true, [INFO] [stdout] 148 | | }) [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/lbfgs/strong_wolfe.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 359 | let original = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let loss = self.model.loss()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 367 | let grad = flat_grads(&self.vars, &loss, self.params.weight_decay)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 388 | | loss, //.to_dtype(candle_core::DType::F64)?.to_scalar::()? [INFO] [stdout] 389 | | grad, l2_reg, [INFO] [stdout] 390 | | )) [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] | | 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/nadam.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(vars: Vec, params: ParamsNAdam) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 119 | | vars, [INFO] [stdout] 120 | | params, [INFO] [stdout] 121 | | t: 1., [INFO] [stdout] ... | [INFO] [stdout] 125 | | prod2: mu_t2, [INFO] [stdout] 126 | | }) [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/nadam.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let m = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | Ok(VarNAdam { theta: var, m, v }) [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] = 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/nadam.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | self.vars.into_iter().map(|v| v.theta).collect() [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/radam.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 102 | fn new(vars: Vec, params: ParamsRAdam) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | let vars = vars [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | vars, [INFO] [stdout] 121 | | params, [INFO] [stdout] 122 | | rho_inf, [INFO] [stdout] 123 | | t: 1., [INFO] [stdout] 124 | | }) [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/radam.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let m = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | Ok(VarRAdam { theta: var, m, v }) [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] = 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/radam.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 252 | self.vars.into_iter().map(|v| v.theta).collect() [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/rmsprop.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(vars: Vec) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 82 | | vars.into_iter() [INFO] [stdout] 83 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] 84 | | .map(|var| { [INFO] [stdout] ... | [INFO] [stdout] 91 | | .collect::>>()?, [INFO] [stdout] 92 | | )) [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/rmsprop.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 84 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 88 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Ok(VarRMSProp { theta: var, v }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rmsprop.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | self.0.into_iter().map(|var| var.theta).collect() [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/rmsprop.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn new(vars: Vec) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 150 | | vars.into_iter() [INFO] [stdout] 151 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] 152 | | .map(|var| { [INFO] [stdout] ... | [INFO] [stdout] 160 | | .collect::>>()?, [INFO] [stdout] 161 | | )) [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/rmsprop.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let g = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Ok(VarRMSPropCentered { theta: var, v, g }) [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] = 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/rmsprop.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 166 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 167 | self.0.into_iter().map(|var| var.theta).collect() [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/rmsprop.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 236 | fn new(vars: Vec, momentum: f64) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 237 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 238 | | vars: vars [INFO] [stdout] 239 | | .into_iter() [INFO] [stdout] 240 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] ... | [INFO] [stdout] 250 | | momentum, [INFO] [stdout] 251 | | }) [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/rmsprop.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 241 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | let b = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | Ok(VarRMSPropMomentum { theta: var, v, b }) [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] = 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/rmsprop.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 256 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | self.vars.into_iter().map(|var| var.theta).collect() [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/rmsprop.rs:320:12 [INFO] [stdout] | [INFO] [stdout] 319 | fn new(vars: Vec, momentum: f64) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 320 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 321 | | vars: vars [INFO] [stdout] 322 | | .into_iter() [INFO] [stdout] 323 | | .filter(|var| var.dtype().is_float()) [INFO] [stdout] ... | [INFO] [stdout] 339 | | momentum, [INFO] [stdout] 340 | | }) [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/rmsprop.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 324 | .map(|var| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | let v = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | let b = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | let g = Var::zeros(shape, dtype, device)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | Ok(VarRMSPropMomentumCentered { [INFO] [stdout] | ________________________^ [INFO] [stdout] 332 | | theta: var, [INFO] [stdout] 333 | | v, [INFO] [stdout] 334 | | b, [INFO] [stdout] 335 | | g, [INFO] [stdout] 336 | | }) [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] | | 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/rmsprop.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | fn into_inner(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | self.vars.into_iter().map(|var| var.theta).collect() [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 38 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-optimisers` (lib) due to 39 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d08f99d181b5f37ca0a6a71471d9157963e0d1f3758b22d1994b1cc23b7e8541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08f99d181b5f37ca0a6a71471d9157963e0d1f3758b22d1994b1cc23b7e8541", kill_on_drop: false }` [INFO] [stdout] d08f99d181b5f37ca0a6a71471d9157963e0d1f3758b22d1994b1cc23b7e8541